]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/modparms.c
Merge branch 'master' into can-usb1
[lincan.git] / lincan / src / modparms.c
index a6400cfe7c3cfdb1cf68a75b344bec716de83397..a36fecb7fb845f68aa0e35bf8270a83870092122 100644 (file)
@@ -44,9 +44,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) ) {