[WAN]: Cosmetic changes to N2 and C101 drivers
authorKrzysztof Halasa <khc@pm.waw.pl>
Fri, 21 Jul 2006 21:41:36 +0000 (14:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Jul 2006 21:41:36 +0000 (14:41 -0700)
WAN: Cosmetic changes to N2 and C101 drivers

Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/c101.c
drivers/net/wan/n2.c

index 2c09ec908a3fa94390df7db514cd9fa05a0ef593..435e91ec4620735d4015b870fa96e1e23a5fabdd 100644 (file)
@@ -197,7 +197,6 @@ static int c101_open(struct net_device *dev)
        sca_out(IE0_TXINT, MSCI0_OFFSET + IE0, port);
 
        set_carrier(port);
-       printk(KERN_DEBUG "0x%X\n", sca_in(MSCI1_OFFSET + ST3, port));
 
        /* enable MSCI1 CDCD interrupt */
        sca_out(IE1_CDCD, MSCI1_OFFSET + IE1, port);
@@ -449,4 +448,5 @@ module_exit(c101_cleanup);
 MODULE_AUTHOR("Krzysztof Halasa <khc@pm.waw.pl>");
 MODULE_DESCRIPTION("Moxa C101 serial port driver");
 MODULE_LICENSE("GPL v2");
-module_param(hw, charp, 0444); /* hw=irq,ram:irq,... */
+module_param(hw, charp, 0444);
+MODULE_PARM_DESC(hw, "irq,ram:irq,...");
index e013b817cab8dbb22fd1df3f426b45d3d260e223..dcf46add3adfece0ce13b4d57173dddcabca9316 100644 (file)
@@ -564,4 +564,5 @@ module_exit(n2_cleanup);
 MODULE_AUTHOR("Krzysztof Halasa <khc@pm.waw.pl>");
 MODULE_DESCRIPTION("RISCom/N2 serial port driver");
 MODULE_LICENSE("GPL v2");
-module_param(hw, charp, 0444); /* hw=io,irq,ram,ports:io,irq,... */
+module_param(hw, charp, 0444);
+MODULE_PARM_DESC(hw, "io,irq,ram,ports:io,irq,...");