]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/modparms.c
Whitespace cleanup in some LinCAN source files to prepare for integration of Jan...
[lincan.git] / lincan / src / modparms.c
index 1782c5415713c52ed3a0ca1acb4cdd4719466268..a0aad042446b96d5f4a634da866e8e245b138291 100644 (file)
@@ -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<MAX_HW_CARDS) ) 
+       while ( (io[io_supplied] != -1) & (io_supplied<MAX_HW_CARDS) )
                io_supplied++;
        if (io_needed != io_supplied) {
                CANMSG("Invalid number of io addresses.\n");
@@ -64,7 +64,7 @@ int parse_mod_parms(void)
        if (minor[0] != -1) {
                minor_needed=irq_needed;
                while ((minor[minor_supplied] != -1) & (minor_supplied<MAX_IRQ))
-                       minor_supplied++; 
+                       minor_supplied++;
                if (minor_supplied != minor_needed) {
                        CANMSG("Invalid number of minor numbers.\n");
                        CANMSG("Supplied hardware needs %d minor number(s).\n",minor_needed);