]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/net/ethernet/8390/ne.c
Annotate hardware config module parameters in drivers/net/ethernet/
[mirror_ubuntu-artful-kernel.git] / drivers / net / ethernet / 8390 / ne.c
index c063b410a163e4b53eb5bea70e3ed423756ebc5b..66f47987e2a283b8faf35f8fb662ae41a6a463fa 100644 (file)
@@ -74,8 +74,8 @@ static int bad[MAX_NE_CARDS];
 static u32 ne_msg_enable;
 
 #ifdef MODULE
-module_param_array(io, int, NULL, 0);
-module_param_array(irq, int, NULL, 0);
+module_param_hw_array(io, int, ioport, NULL, 0);
+module_param_hw_array(irq, int, irq, NULL, 0);
 module_param_array(bad, int, NULL, 0);
 module_param_named(msg_enable, ne_msg_enable, uint, (S_IRUSR|S_IRGRP|S_IROTH));
 MODULE_PARM_DESC(io, "I/O base address(es),required");