net/via-rhine: module_param conversions
Subsystems (2)
PATCH 1/2 net/via-rhine: module_param conversions
Convert to new module parameter api.
Compile and run tested.
Signed-off-by Domen Puncer <[email protected]>
drivers/net/via-rhine.c +3 -3
@@ -226,9 +226,9 @@ MODULE_AUTHOR("Donald Becker <becker@scyMODULE_DESCRIPTION ("VIA Rhine PCI Fast Ethernet driver" );MODULE_LICENSE ("GPL" ); -MODULE_PARM (max_interrupt_work,"i" ); -MODULE_PARM (debug,"i" ); -MODULE_PARM (rx_copybreak,"i" ); +module_param (max_interrupt_work, int,0 ); +module_param (debug, int,0644 ); +module_param (rx_copybreak, int,0 );MODULE_PARM_DESC (max_interrupt_work,"VIA Rhine maximum events handled per interrupt" );MODULE_PARM_DESC (debug,"VIA Rhine debug level (0-7)" );MODULE_PARM_DESC (rx_copybreak,"VIA Rhine copy breakpoint for copy-only-tiny-frames" );
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors