X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/9c15427c7cf013626ad4b0e281cb602c03fb1875..831ccb1f14f7472962fc2d185f32e18105209bd7:/lincan/src/modparms.c diff --git a/lincan/src/modparms.c b/lincan/src/modparms.c index e682113..c53971f 100644 --- a/lincan/src/modparms.c +++ b/lincan/src/modparms.c @@ -19,9 +19,10 @@ int parse_mod_parms(void) const struct boardtype_t *brp; if ( (hw[0] == NULL) | (io[0] == -1) ) { - CANMSG("You must supply your type of hardware, interrupt numbers and io address.\n"); + //CANMSG("You must supply your type of hardware, interrupt numbers and io address.\n"); + CANMSG("Autodetection works only for USB devices, supply your type of hardware for PCI devices \n"); CANMSG("Example: # insmod lincan.ko hw=pip5 irq=4 io=0x8000\n"); - return -ENODEV; + //return -ENODEV; } while ( (hw[i] != NULL) && (i < MAX_HW_CARDS) ) { @@ -36,7 +37,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