X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/c6d6f58c34e1b6a4c03d1e86d1abf48eeb6f5624..fdc4d3610737d153a387bdb67792a323806efad3:/lincan/src/modparms.c diff --git a/lincan/src/modparms.c b/lincan/src/modparms.c index 9e8b20e..a0aad04 100644 --- a/lincan/src/modparms.c +++ b/lincan/src/modparms.c @@ -4,7 +4,7 @@ * Rewritten for new CAN queues by Pavel Pisa - OCERA team member * email:pisa@cmp.felk.cvut.cz * This software is released under the GPL-License. - * Version lincan-0.2 9 Jul 2003 + * Version lincan-0.3 17 Jun 2004 */ @@ -20,7 +20,7 @@ int parse_mod_parms(void) if ( (hw[0] == NULL) | (io[0] == -1) ) { CANMSG("You must supply your type of hardware, interrupt numbers and io address.\n"); - CANMSG("Example: # insmod can.o hw=pip5 irq=4 io=0x8000\n"); + CANMSG("Example: # insmod lincan.ko hw=pip5 irq=4 io=0x8000\n"); return -ENODEV; } @@ -36,7 +36,7 @@ int parse_mod_parms(void) /* Check wether the supplied number of io addresses is correct. */ io_needed=i; - while ( (io[io_supplied] != -1) & (io_supplied