From: Stephen Hemminger Date: Thu, 12 May 2005 23:33:26 +0000 (-0400) Subject: [PATCH] 8139cp - module_param X-Git-Tag: v2.6.14-rc2~49^2~36^2~53^2~13^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e21ba28262037f5fe7ca8746502c7c03c3da817f;p=linux-2.6-omap-h63xx.git [PATCH] 8139cp - module_param Not sure if I sent this already... Convert 8139cp to use new module_param() not old MODULE_PARM Signed-off-by: Stephen Hemminger --- diff --git a/drivers/net/8139cp.c b/drivers/net/8139cp.c index 212eb90dfcc..18946a56d9b 100644 --- a/drivers/net/8139cp.c +++ b/drivers/net/8139cp.c @@ -54,6 +54,7 @@ #include #include +#include #include #include #include @@ -94,13 +95,13 @@ MODULE_DESCRIPTION("RealTek RTL-8139C+ series 10/100 PCI Ethernet driver"); MODULE_LICENSE("GPL"); static int debug = -1; -MODULE_PARM (debug, "i"); +module_param(debug, int, 0); MODULE_PARM_DESC (debug, "8139cp: bitmapped message enable number"); /* Maximum number of multicast addresses to filter (vs. Rx-all-multicast). The RTL chips use a 64 element hash table based on the Ethernet CRC. */ static int multicast_filter_limit = 32; -MODULE_PARM (multicast_filter_limit, "i"); +module_param(multicast_filter_limit, int, 0); MODULE_PARM_DESC (multicast_filter_limit, "8139cp: maximum number of filtered multicast addresses"); #define PFX DRV_NAME ": "