2006-08-17 13:26:12

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 0/75] pci_module_init to pci_register_driver conversion


Hi,

pci_module_init is obsolete.

This patch series converts pci_module_init to pci_register_driver.

ata/ata_generic.c | 2 +-
ata/pata_pdc2027x.c | 2 +-
char/ipmi/ipmi_si_intf.c | 2 +-
crypto/geode-aes.c | 2 +-
edac/k8_edac.c | 2 +-
net/3c59x.c | 2 +-
net/8139cp.c | 2 +-
net/8139too.c | 2 +-
net/acenic.c | 2 +-
net/amd8111e.c | 2 +-
net/arcnet/com20020-pci.c | 2 +-
net/b44.c | 2 +-
net/bnx2.c | 2 +-
net/cassini.c | 2 +-
net/chelsio/cxgb2.c | 2 +-
net/defxx.c | 2 +-
net/dl2k.c | 2 +-
net/e100.c | 2 +-
net/e1000/e1000_main.c | 2 +-
net/eepro100.c | 2 +-
net/epic100.c | 2 +-
net/fealnx.c | 2 +-
net/forcedeth.c | 2 +-
net/hp100.c | 2 +-
net/ixgb/ixgb_main.c | 2 +-
net/natsemi.c | 2 +-
net/ne2k-pci.c | 2 +-
net/ns83820.c | 2 +-
net/pci-skeleton.c | 2 +-
net/pcnet32.c | 2 +-
net/r8169.c | 2 +-
net/rrunner.c | 2 +-
net/s2io.c | 2 +-
net/saa9730.c | 2 +-
net/sis190.c | 2 +-
net/sis900.c | 2 +-
net/sk98lin/skge.c | 2 +-
net/skfp/skfddi.c | 2 +-
net/skge.c | 2 +-
net/starfire.c | 2 +-
net/sundance.c | 2 +-
net/sungem.c | 2 +-
net/tc35815.c | 2 +-
net/tg3.c | 2 +-
net/tokenring/3c359.c | 2 +-
net/tokenring/lanstreamer.c | 2 +-
net/tokenring/olympic.c | 2 +-
net/tulip/de2104x.c | 2 +-
net/tulip/de4x5.c | 2 +-
net/tulip/dmfe.c | 2 +-
net/tulip/tulip_core.c | 2 +-
net/tulip/winbond-840.c | 2 +-
net/tulip/xircom_tulip_cb.c | 2 +-
net/typhoon.c | 2 +-
net/via-rhine.c | 2 +-
net/via-velocity.c | 2 +-
net/wan/dscc4.c | 2 +-
net/wan/farsync.c | 2 +-
net/wan/lmc/lmc_main.c | 2 +-
net/wan/pc300_drv.c | 2 +-
net/wan/pci200syn.c | 2 +-
net/wan/wanxl.c | 2 +-
net/wireless/atmel_pci.c | 2 +-
net/wireless/ipw2100.c | 2 +-
net/wireless/ipw2200.c | 2 +-
net/wireless/orinoco_nortel.c | 2 +-
net/wireless/orinoco_pci.c | 2 +-
net/wireless/orinoco_plx.c | 2 +-
net/wireless/orinoco_tmd.c | 2 +-
net/wireless/prism54/islpci_hotplug.c | 2 +-
net/yellowfin.c | 2 +-
scsi/ips.c | 2 +-
scsi/megaraid.c | 2 +-
scsi/megaraid/megaraid_sas.c | 2 +-
scsi/tmscsim.c | 2 +-
75 files changed, 75 insertions(+), 75 deletions(-)

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)


2006-08-17 13:27:01

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 16/75] net: drivers/net/defxx.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/defxx.c linux-work2/drivers/net/defxx.c
--- linux-work-clean/drivers/net/defxx.c 2006-08-16 22:40:59.000000000 +0200
+++ linux-work2/drivers/net/defxx.c 2006-08-17 05:14:19.000000000 +0200
@@ -3444,7 +3444,7 @@ static int __init dfx_init(void)
{
int rc_pci, rc_eisa;

- rc_pci = pci_module_init(&dfx_driver);
+ rc_pci = pci_register_driver(&dfx_driver);
if (rc_pci >= 0) dfx_have_pci = 1;

rc_eisa = dfx_eisa_init();

2006-08-17 13:26:08

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 1/75] net: drivers/net/tokenring/3c359.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tokenring/3c359.c linux-work2/drivers/net/tokenring/3c359.c
--- linux-work-clean/drivers/net/tokenring/3c359.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/tokenring/3c359.c 2006-08-17 05:18:07.000000000 +0200
@@ -1815,7 +1815,7 @@ static struct pci_driver xl_3c359_driver

static int __init xl_pci_init (void)
{
- return pci_module_init (&xl_3c359_driver);
+ return pci_register_driver(&xl_3c359_driver);
}


2006-08-17 13:26:47

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 12/75] net: drivers/net/arcnet/com20020-pci.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/arcnet/com20020-pci.c linux-work2/drivers/net/arcnet/com20020-pci.c
--- linux-work-clean/drivers/net/arcnet/com20020-pci.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/arcnet/com20020-pci.c 2006-08-17 05:13:48.000000000 +0200
@@ -178,7 +178,7 @@ static struct pci_driver com20020pci_dri
static int __init com20020pci_init(void)
{
BUGLVL(D_NORMAL) printk(VERSION);
- return pci_module_init(&com20020pci_driver);
+ return pci_register_driver(&com20020pci_driver);
}

static void __exit com20020pci_cleanup(void)

2006-08-17 13:27:41

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 24/75] net: drivers/net/wan/farsync.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wan/farsync.c linux-work2/drivers/net/wan/farsync.c
--- linux-work-clean/drivers/net/wan/farsync.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wan/farsync.c 2006-08-17 05:19:37.000000000 +0200
@@ -2697,7 +2697,7 @@ fst_init(void)
for (i = 0; i < FST_MAX_CARDS; i++)
fst_card_array[i] = NULL;
spin_lock_init(&fst_work_q_lock);
- return pci_module_init(&fst_driver);
+ return pci_register_driver(&fst_driver);
}

static void __exit

2006-08-17 13:28:36

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 47/75] net: drivers/net/wireless/orinoco_tmd.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/orinoco_tmd.c linux-work2/drivers/net/wireless/orinoco_tmd.c
--- linux-work-clean/drivers/net/wireless/orinoco_tmd.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wireless/orinoco_tmd.c 2006-08-17 05:20:37.000000000 +0200
@@ -228,7 +228,7 @@ MODULE_LICENSE("Dual MPL/GPL");
static int __init orinoco_tmd_init(void)
{
printk(KERN_DEBUG "%s\n", version);
- return pci_module_init(&orinoco_tmd_driver);
+ return pci_register_driver(&orinoco_tmd_driver);
}

static void __exit orinoco_tmd_exit(void)

2006-08-17 13:27:47

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 29/75] char: drivers/char/ipmi/ipmi_si_intf.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/char/ipmi/ipmi_si_intf.c linux-work2/drivers/char/ipmi/ipmi_si_intf.c
--- linux-work-clean/drivers/char/ipmi/ipmi_si_intf.c 2006-08-16 22:40:58.000000000 +0200
+++ linux-work2/drivers/char/ipmi/ipmi_si_intf.c 2006-08-17 05:12:42.000000000 +0200
@@ -2461,7 +2461,7 @@ static __devinit int init_ipmi_si(void)
#endif

#ifdef CONFIG_PCI
- pci_module_init(&ipmi_pci_driver);
+ pci_register_driver(&ipmi_pci_driver);
#endif

if (si_trydefaults) {

2006-08-17 13:28:19

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 41/75] net: drivers/net/ne2k-pci.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/ne2k-pci.c linux-work2/drivers/net/ne2k-pci.c
--- linux-work-clean/drivers/net/ne2k-pci.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/ne2k-pci.c 2006-08-17 05:15:27.000000000 +0200
@@ -702,7 +702,7 @@ static int __init ne2k_pci_init(void)
#ifdef MODULE
printk(version);
#endif
- return pci_module_init (&ne2k_driver);
+ return pci_register_driver(&ne2k_driver);
}


2006-08-17 13:29:06

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 63/75] net: drivers/net/sundance.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/sundance.c linux-work2/drivers/net/sundance.c
--- linux-work-clean/drivers/net/sundance.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/sundance.c 2006-08-17 05:17:21.000000000 +0200
@@ -1733,7 +1733,7 @@ static int __init sundance_init(void)
#ifdef MODULE
printk(version);
#endif
- return pci_module_init(&sundance_driver);
+ return pci_register_driver(&sundance_driver);
}

static void __exit sundance_exit(void)

2006-08-17 13:29:20

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 65/75] net: drivers/net/tc35815.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tc35815.c linux-work2/drivers/net/tc35815.c
--- linux-work-clean/drivers/net/tc35815.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/tc35815.c 2006-08-17 05:17:42.000000000 +0200
@@ -1725,7 +1725,7 @@ static struct pci_driver tc35815_driver

static int __init tc35815_init_module(void)
{
- return pci_module_init(&tc35815_driver);
+ return pci_register_driver(&tc35815_driver);
}

static void __exit tc35815_cleanup_module(void)

2006-08-17 13:29:52

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 3/75] net: drivers/net/8139cp.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/8139cp.c linux-work2/drivers/net/8139cp.c
--- linux-work-clean/drivers/net/8139cp.c 2006-08-16 22:41:16.000000000 +0200
+++ linux-work2/drivers/net/8139cp.c 2006-08-17 05:13:25.000000000 +0200
@@ -2098,7 +2098,7 @@ static int __init cp_init (void)
#ifdef MODULE
printk("%s", version);
#endif
- return pci_module_init (&cp_driver);
+ return pci_register_driver(&cp_driver);
}

static void __exit cp_exit (void)

2006-08-17 13:29:54

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 51/75] net: drivers/net/pci-skeleton.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/pci-skeleton.c linux-work2/drivers/net/pci-skeleton.c
--- linux-work-clean/drivers/net/pci-skeleton.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/pci-skeleton.c 2006-08-17 05:15:43.000000000 +0200
@@ -1963,7 +1963,7 @@ static int __init netdrv_init_module (vo
#ifdef MODULE
printk(version);
#endif
- return pci_module_init (&netdrv_pci_driver);
+ return pci_register_driver(&netdrv_pci_driver);
}


2006-08-17 13:31:23

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 67/75] scsi: drivers/scsi/tmscsim.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/scsi/tmscsim.c linux-work2/drivers/scsi/tmscsim.c
--- linux-work-clean/drivers/scsi/tmscsim.c 2006-08-16 22:41:01.000000000 +0200
+++ linux-work2/drivers/scsi/tmscsim.c 2006-08-17 05:21:14.000000000 +0200
@@ -2670,7 +2670,7 @@ static int __init dc390_module_init(void
printk (KERN_INFO "DC390: Using safe settings.\n");
}

- return pci_module_init(&dc390_driver);
+ return pci_register_driver(&dc390_driver);
}

static void __exit dc390_module_exit(void)

2006-08-17 13:31:24

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 70/75] net: drivers/net/via-rhine.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/via-rhine.c linux-work2/drivers/net/via-rhine.c
--- linux-work-clean/drivers/net/via-rhine.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/via-rhine.c 2006-08-17 05:19:18.000000000 +0200
@@ -2005,7 +2005,7 @@ static int __init rhine_init(void)
#ifdef MODULE
printk(version);
#endif
- return pci_module_init(&rhine_driver);
+ return pci_register_driver(&rhine_driver);
}


2006-08-17 13:32:05

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 45/75] net: drivers/net/wireless/orinoco_pci.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/orinoco_pci.c linux-work2/drivers/net/wireless/orinoco_pci.c
--- linux-work-clean/drivers/net/wireless/orinoco_pci.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wireless/orinoco_pci.c 2006-08-17 05:20:26.000000000 +0200
@@ -244,7 +244,7 @@ MODULE_LICENSE("Dual MPL/GPL");
static int __init orinoco_pci_init(void)
{
printk(KERN_DEBUG "%s\n", version);
- return pci_module_init(&orinoco_pci_driver);
+ return pci_register_driver(&orinoco_pci_driver);
}

static void __exit orinoco_pci_exit(void)

2006-08-17 13:32:00

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 46/75] net: drivers/net/wireless/orinoco_plx.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/orinoco_plx.c linux-work2/drivers/net/wireless/orinoco_plx.c
--- linux-work-clean/drivers/net/wireless/orinoco_plx.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wireless/orinoco_plx.c 2006-08-17 05:20:31.000000000 +0200
@@ -351,7 +351,7 @@ MODULE_LICENSE("Dual MPL/GPL");
static int __init orinoco_plx_init(void)
{
printk(KERN_DEBUG "%s\n", version);
- return pci_module_init(&orinoco_plx_driver);
+ return pci_register_driver(&orinoco_plx_driver);
}

static void __exit orinoco_plx_exit(void)

2006-08-17 13:32:51

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 33/75] net: drivers/net/wireless/prism54/islpci_hotplug.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/prism54/islpci_hotplug.c linux-work2/drivers/net/wireless/prism54/islpci_hotplug.c
--- linux-work-clean/drivers/net/wireless/prism54/islpci_hotplug.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wireless/prism54/islpci_hotplug.c 2006-08-17 05:20:43.000000000 +0200
@@ -313,7 +313,7 @@ prism54_module_init(void)

__bug_on_wrong_struct_sizes ();

- return pci_module_init(&prism54_driver);
+ return pci_register_driver(&prism54_driver);
}

/* by the time prism54_module_exit() terminates, as a postcondition

2006-08-17 13:31:59

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 4/75] net: drivers/net/8139too.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/8139too.c linux-work2/drivers/net/8139too.c
--- linux-work-clean/drivers/net/8139too.c 2006-08-16 22:40:59.000000000 +0200
+++ linux-work2/drivers/net/8139too.c 2006-08-17 05:13:30.000000000 +0200
@@ -2629,7 +2629,7 @@ static int __init rtl8139_init_module (v
printk (KERN_INFO RTL8139_DRIVER_NAME "\n");
#endif

- return pci_module_init (&rtl8139_pci_driver);
+ return pci_register_driver(&rtl8139_pci_driver);
}


2006-08-17 13:34:22

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 75/75] net: drivers/net/yellowfin.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/yellowfin.c linux-work2/drivers/net/yellowfin.c
--- linux-work-clean/drivers/net/yellowfin.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/yellowfin.c 2006-08-17 05:20:50.000000000 +0200
@@ -1434,7 +1434,7 @@ static int __init yellowfin_init (void)
#ifdef MODULE
printk(version);
#endif
- return pci_module_init (&yellowfin_driver);
+ return pci_register_driver(&yellowfin_driver);
}


2006-08-17 13:34:21

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 74/75] net: drivers/net/tulip/xircom_tulip_cb.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tulip/xircom_tulip_cb.c linux-work2/drivers/net/tulip/xircom_tulip_cb.c
--- linux-work-clean/drivers/net/tulip/xircom_tulip_cb.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/tulip/xircom_tulip_cb.c 2006-08-17 05:19:07.000000000 +0200
@@ -1707,7 +1707,7 @@ static int __init xircom_init(void)
#ifdef MODULE
printk(version);
#endif
- return pci_module_init(&xircom_driver);
+ return pci_register_driver(&xircom_driver);
}


2006-08-17 13:35:23

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 71/75] net: drivers/net/via-velocity.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/via-velocity.c linux-work2/drivers/net/via-velocity.c
--- linux-work-clean/drivers/net/via-velocity.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/via-velocity.c 2006-08-17 05:19:24.000000000 +0200
@@ -2250,7 +2250,7 @@ static int __init velocity_init_module(v
int ret;

velocity_register_notifier();
- ret = pci_module_init(&velocity_driver);
+ ret = pci_register_driver(&velocity_driver);
if (ret < 0)
velocity_unregister_notifier();
return ret;

2006-08-17 13:35:48

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 73/75] net: drivers/net/tulip/winbond-840.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tulip/winbond-840.c linux-work2/drivers/net/tulip/winbond-840.c
--- linux-work-clean/drivers/net/tulip/winbond-840.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/tulip/winbond-840.c 2006-08-17 05:19:02.000000000 +0200
@@ -1689,7 +1689,7 @@ static struct pci_driver w840_driver = {
static int __init w840_init(void)
{
printk(version);
- return pci_module_init(&w840_driver);
+ return pci_register_driver(&w840_driver);
}

static void __exit w840_exit(void)

2006-08-17 13:29:18

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 66/75] net: drivers/net/tg3.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tg3.c linux-work2/drivers/net/tg3.c
--- linux-work-clean/drivers/net/tg3.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/tg3.c 2006-08-17 05:17:47.000000000 +0200
@@ -11819,7 +11819,7 @@ static struct pci_driver tg3_driver = {

static int __init tg3_init(void)
{
- return pci_module_init(&tg3_driver);
+ return pci_register_driver(&tg3_driver);
}

static void __exit tg3_cleanup(void)

2006-08-17 13:36:00

by Jeff Garzik

[permalink] [raw]
Subject: Re: [RFC][PATCH 51/75] net: drivers/net/pci-skeleton.c pci_module_init to pci_register_driver conversion

Please just send one big patch that converts all drivers/net drivers at
once.

Jeff



2006-08-17 13:36:51

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 72/75] net: drivers/net/wan/wanxl.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wan/wanxl.c linux-work2/drivers/net/wan/wanxl.c
--- linux-work-clean/drivers/net/wan/wanxl.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wan/wanxl.c 2006-08-17 05:20:02.000000000 +0200
@@ -837,7 +837,7 @@ static int __init wanxl_init_module(void
#ifdef MODULE
printk(KERN_INFO "%s\n", version);
#endif
- return pci_module_init(&wanxl_pci_driver);
+ return pci_register_driver(&wanxl_pci_driver);
}

static void __exit wanxl_cleanup_module(void)

2006-08-17 13:37:16

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 68/75] net: drivers/net/tulip/tulip_core.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tulip/tulip_core.c linux-work2/drivers/net/tulip/tulip_core.c
--- linux-work-clean/drivers/net/tulip/tulip_core.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/tulip/tulip_core.c 2006-08-17 05:18:56.000000000 +0200
@@ -1860,7 +1860,7 @@ static int __init tulip_init (void)
tulip_max_interrupt_work = max_interrupt_work;

/* probe for and init boards */
- return pci_module_init (&tulip_driver);
+ return pci_register_driver(&tulip_driver);
}


2006-08-17 13:38:07

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 62/75] net: drivers/net/starfire.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/starfire.c linux-work2/drivers/net/starfire.c
--- linux-work-clean/drivers/net/starfire.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/starfire.c 2006-08-17 05:17:15.000000000 +0200
@@ -2053,7 +2053,7 @@ static int __init starfire_init (void)
return -ENODEV;
}

- return pci_module_init (&starfire_driver);
+ return pci_register_driver(&starfire_driver);
}


2006-08-17 13:37:36

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 64/75] net: drivers/net/sungem.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/sungem.c linux-work2/drivers/net/sungem.c
--- linux-work-clean/drivers/net/sungem.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/sungem.c 2006-08-17 05:17:28.000000000 +0200
@@ -3194,7 +3194,7 @@ static struct pci_driver gem_driver = {

static int __init gem_init(void)
{
- return pci_module_init(&gem_driver);
+ return pci_register_driver(&gem_driver);
}

static void __exit gem_cleanup(void)

2006-08-17 13:38:29

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 14/75] net: drivers/net/tulip/de2104x.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tulip/de2104x.c linux-work2/drivers/net/tulip/de2104x.c
--- linux-work-clean/drivers/net/tulip/de2104x.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/tulip/de2104x.c 2006-08-17 05:18:32.000000000 +0200
@@ -2172,7 +2172,7 @@ static int __init de_init (void)
#ifdef MODULE
printk("%s", version);
#endif
- return pci_module_init (&de_driver);
+ return pci_register_driver(&de_driver);
}

static void __exit de_exit (void)

2006-08-17 13:38:24

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 69/75] net: drivers/net/typhoon.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/typhoon.c linux-work2/drivers/net/typhoon.c
--- linux-work-clean/drivers/net/typhoon.c 2006-08-17 00:10:47.000000000 +0200
+++ linux-work2/drivers/net/typhoon.c 2006-08-17 05:19:13.000000000 +0200
@@ -2660,7 +2660,7 @@ static struct pci_driver typhoon_driver
static int __init
typhoon_init(void)
{
- return pci_module_init(&typhoon_driver);
+ return pci_register_driver(&typhoon_driver);
}

static void __exit

2006-08-17 13:39:05

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 61/75] net: drivers/net/skge.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/skge.c linux-work2/drivers/net/skge.c
--- linux-work-clean/drivers/net/skge.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/skge.c 2006-08-17 05:17:04.000000000 +0200
@@ -3510,7 +3510,7 @@ static struct pci_driver skge_driver = {

static int __init skge_init_module(void)
{
- return pci_module_init(&skge_driver);
+ return pci_register_driver(&skge_driver);
}

static void __exit skge_cleanup_module(void)

2006-08-17 13:39:42

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 60/75] net: drivers/net/sk98lin/skge.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/sk98lin/skge.c linux-work2/drivers/net/sk98lin/skge.c
--- linux-work-clean/drivers/net/sk98lin/skge.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/sk98lin/skge.c 2006-08-17 05:16:39.000000000 +0200
@@ -5133,7 +5133,7 @@ static struct pci_driver skge_driver = {

static int __init skge_init(void)
{
- return pci_module_init(&skge_driver);
+ return pci_register_driver(&skge_driver);
}

static void __exit skge_exit(void)

2006-08-17 13:40:54

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 59/75] net: net/skfp/skfddi.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/skfp/skfddi.c linux-work2/drivers/net/skfp/skfddi.c
--- linux-work-clean/drivers/net/skfp/skfddi.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/skfp/skfddi.c 2006-08-17 05:16:45.000000000 +0200
@@ -2280,7 +2280,7 @@ static struct pci_driver skfddi_pci_driv

static int __init skfd_init(void)
{
- return pci_module_init(&skfddi_pci_driver);
+ return pci_register_driver(&skfddi_pci_driver);
}

static void __exit skfd_exit(void)

2006-08-17 13:39:53

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 56/75] net: drivers/net/saa9730.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/saa9730.c linux-work2/drivers/net/saa9730.c
--- linux-work-clean/drivers/net/saa9730.c 2006-03-20 06:53:29.000000000 +0100
+++ linux-work2/drivers/net/saa9730.c 2006-08-17 05:16:21.000000000 +0200
@@ -1131,7 +1131,7 @@ static struct pci_driver saa9730_driver

static int __init saa9730_init(void)
{
- return pci_module_init(&saa9730_driver);
+ return pci_register_driver(&saa9730_driver);
}

static void __exit saa9730_cleanup(void)

2006-08-17 13:41:05

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 58/75] net: drivers/net/sis900.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/sis900.c linux-work2/drivers/net/sis900.c
--- linux-work-clean/drivers/net/sis900.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/sis900.c 2006-08-17 05:16:32.000000000 +0200
@@ -2495,7 +2495,7 @@ static int __init sis900_init_module(voi
printk(version);
#endif

- return pci_module_init(&sis900_pci_driver);
+ return pci_register_driver(&sis900_pci_driver);
}

static void __exit sis900_cleanup_module(void)

2006-08-17 13:42:37

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 20/75] net: drivers/net/e1000/e1000_main.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/e1000/e1000_main.c linux-work2/drivers/net/e1000/e1000_main.c
--- linux-work-clean/drivers/net/e1000/e1000_main.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/e1000/e1000_main.c 2006-08-17 05:14:36.000000000 +0200
@@ -245,7 +245,7 @@ e1000_init_module(void)

printk(KERN_INFO "%s\n", e1000_copyright);

- ret = pci_module_init(&e1000_driver);
+ ret = pci_register_driver(&e1000_driver);

return ret;
}

2006-08-17 13:42:00

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 54/75] net: net/rrunner.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/rrunner.c linux-work2/drivers/net/rrunner.c
--- linux-work-clean/drivers/net/rrunner.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/rrunner.c 2006-08-17 05:16:04.000000000 +0200
@@ -1736,7 +1736,7 @@ static struct pci_driver rr_driver = {

static int __init rr_init_module(void)
{
- return pci_module_init(&rr_driver);
+ return pci_register_driver(&rr_driver);
}

static void __exit rr_cleanup_module(void)

2006-08-17 13:42:38

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 57/75] net: drivers/net/sis190.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/sis190.c linux-work2/drivers/net/sis190.c
--- linux-work-clean/drivers/net/sis190.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/sis190.c 2006-08-17 05:16:27.000000000 +0200
@@ -1871,7 +1871,7 @@ static struct pci_driver sis190_pci_driv

static int __init sis190_init_module(void)
{
- return pci_module_init(&sis190_pci_driver);
+ return pci_register_driver(&sis190_pci_driver);
}

static void __exit sis190_cleanup_module(void)

2006-08-17 13:43:58

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 6/75] net: drivers/net/amd8111e.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/amd8111e.c linux-work2/drivers/net/amd8111e.c
--- linux-work-clean/drivers/net/amd8111e.c 2006-08-16 22:40:59.000000000 +0200
+++ linux-work2/drivers/net/amd8111e.c 2006-08-17 05:13:42.000000000 +0200
@@ -2158,7 +2158,7 @@ static struct pci_driver amd8111e_driver

static int __init amd8111e_init(void)
{
- return pci_module_init(&amd8111e_driver);
+ return pci_register_driver(&amd8111e_driver);
}

static void __exit amd8111e_cleanup(void)

2006-08-17 13:43:26

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 31/75] net: drivers/net/wireless/ipw2100.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/ipw2100.c linux-work2/drivers/net/wireless/ipw2100.c
--- linux-work-clean/drivers/net/wireless/ipw2100.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wireless/ipw2100.c 2006-08-17 05:20:12.000000000 +0200
@@ -6531,7 +6531,7 @@ static int __init ipw2100_init(void)
printk(KERN_INFO DRV_NAME ": %s, %s\n", DRV_DESCRIPTION, DRV_VERSION);
printk(KERN_INFO DRV_NAME ": %s\n", DRV_COPYRIGHT);

- ret = pci_module_init(&ipw2100_pci_driver);
+ ret = pci_register_driver(&ipw2100_pci_driver);

#ifdef CONFIG_IPW2100_DEBUG
ipw2100_debug_level = debug;

2006-08-17 13:42:32

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 49/75] net: drivers/net/wan/pc300_drv.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wan/pc300_drv.c linux-work2/drivers/net/wan/pc300_drv.c
--- linux-work-clean/drivers/net/wan/pc300_drv.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wan/pc300_drv.c 2006-08-17 05:19:51.000000000 +0200
@@ -3677,7 +3677,7 @@ static struct pci_driver cpc_driver = {

static int __init cpc_init(void)
{
- return pci_module_init(&cpc_driver);
+ return pci_register_driver(&cpc_driver);
}

static void __exit cpc_cleanup_module(void)

2006-08-17 13:44:05

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 52/75] net: drivers/net/pcnet32.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/pcnet32.c linux-work2/drivers/net/pcnet32.c
--- linux-work-clean/drivers/net/pcnet32.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/pcnet32.c 2006-08-17 05:15:52.000000000 +0200
@@ -2969,7 +2969,7 @@ static int __init pcnet32_init_module(vo
tx_start = tx_start_pt;

/* find the PCI devices */
- if (!pci_module_init(&pcnet32_driver))
+ if (!pci_register_driver(&pcnet32_driver))
pcnet32_have_pci = 1;

/* should we find any remaining VLbus devices ? */

2006-08-17 13:44:46

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 53/75] net: drivers/net/r8169.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/r8169.c linux-work2/drivers/net/r8169.c
--- linux-work-clean/drivers/net/r8169.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/r8169.c 2006-08-17 05:15:58.000000000 +0200
@@ -2910,7 +2910,7 @@ static struct pci_driver rtl8169_pci_dri
static int __init
rtl8169_init_module(void)
{
- return pci_module_init(&rtl8169_pci_driver);
+ return pci_register_driver(&rtl8169_pci_driver);
}

static void __exit

2006-08-17 13:44:00

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 50/75] net: drivers/net/wan/pci200syn.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wan/pci200syn.c linux-work2/drivers/net/wan/pci200syn.c
--- linux-work-clean/drivers/net/wan/pci200syn.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wan/pci200syn.c 2006-08-17 05:19:56.000000000 +0200
@@ -476,7 +476,7 @@ static int __init pci200_init_module(voi
printk(KERN_ERR "pci200syn: Invalid PCI clock frequency\n");
return -EINVAL;
}
- return pci_module_init(&pci200_pci_driver);
+ return pci_register_driver(&pci200_pci_driver);
}


2006-08-17 13:44:00

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 55/75] net: drivers/net/s2io.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/s2io.c linux-work2/drivers/net/s2io.c
--- linux-work-clean/drivers/net/s2io.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/s2io.c 2006-08-17 05:16:10.000000000 +0200
@@ -7233,7 +7233,7 @@ static void __devexit s2io_rem_nic(struc

int __init s2io_starter(void)
{
- return pci_module_init(&s2io_driver);
+ return pci_register_driver(&s2io_driver);
}

/**

2006-08-17 13:46:59

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 48/75] ata: drivers/ata/pata_pdc2027x.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/ata/pata_pdc2027x.c linux-work2/drivers/ata/pata_pdc2027x.c
--- linux-work-clean/drivers/ata/pata_pdc2027x.c 2006-08-16 22:41:16.000000000 +0200
+++ linux-work2/drivers/ata/pata_pdc2027x.c 2006-08-17 05:12:32.000000000 +0200
@@ -854,7 +854,7 @@ static void __devexit pdc2027x_remove_on
*/
static int __init pdc2027x_init(void)
{
- return pci_module_init(&pdc2027x_pci_driver);
+ return pci_register_driver(&pdc2027x_pci_driver);
}

/**

2006-08-17 13:43:59

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 32/75] net: drivers/net/wireless/ipw2200.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/ipw2200.c linux-work2/drivers/net/wireless/ipw2200.c
--- linux-work-clean/drivers/net/wireless/ipw2200.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/wireless/ipw2200.c 2006-08-17 05:20:17.000000000 +0200
@@ -11753,7 +11753,7 @@ static int __init ipw_init(void)
printk(KERN_INFO DRV_NAME ": " DRV_DESCRIPTION ", " DRV_VERSION "\n");
printk(KERN_INFO DRV_NAME ": " DRV_COPYRIGHT "\n");

- ret = pci_module_init(&ipw_driver);
+ ret = pci_register_driver(&ipw_driver);
if (ret) {
IPW_ERROR("Unable to initialize PCI module\n");
return ret;

2006-08-17 13:48:55

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 38/75] scsi: drivers/scsi/megaraid.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/scsi/megaraid.c linux-work2/drivers/scsi/megaraid.c
--- linux-work-clean/drivers/scsi/megaraid.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/scsi/megaraid.c 2006-08-17 05:21:04.000000000 +0200
@@ -5078,7 +5078,7 @@ static int __init megaraid_init(void)
"megaraid: failed to create megaraid root\n");
}
#endif
- error = pci_module_init(&megaraid_pci_driver);
+ error = pci_register_driver(&megaraid_pci_driver);
if (error) {
#ifdef CONFIG_PROC_FS
remove_proc_entry("megaraid", &proc_root);

2006-08-17 13:49:01

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 42/75] net: drivers/net/ns83820.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/ns83820.c linux-work2/drivers/net/ns83820.c
--- linux-work-clean/drivers/net/ns83820.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/ns83820.c 2006-08-17 05:15:34.000000000 +0200
@@ -2336,7 +2336,7 @@ static struct pci_driver driver = {
static int __init ns83820_init(void)
{
printk(KERN_INFO "ns83820.c: National Semiconductor DP83820 10/100/1000 driver.\n");
- return pci_module_init(&driver);
+ return pci_register_driver(&driver);
}

static void __exit ns83820_exit(void)

2006-08-17 13:28:18

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 43/75] net: drivers/net/tokenring/olympic.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tokenring/olympic.c linux-work2/drivers/net/tokenring/olympic.c
--- linux-work-clean/drivers/net/tokenring/olympic.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/tokenring/olympic.c 2006-08-17 05:18:24.000000000 +0200
@@ -1771,7 +1771,7 @@ static struct pci_driver olympic_driver

static int __init olympic_pci_init(void)
{
- return pci_module_init (&olympic_driver) ;
+ return pci_register_driver(&olympic_driver);
}

static void __exit olympic_pci_cleanup(void)

2006-08-17 13:49:41

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 40/75] net: drivers/net/natsemi.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/natsemi.c linux-work2/drivers/net/natsemi.c
--- linux-work-clean/drivers/net/natsemi.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/natsemi.c 2006-08-17 05:15:22.000000000 +0200
@@ -3275,7 +3275,7 @@ static int __init natsemi_init_mod (void
printk(version);
#endif

- return pci_module_init (&natsemi_driver);
+ return pci_register_driver(&natsemi_driver);
}

static void __exit natsemi_exit_mod (void)

2006-08-17 13:50:07

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 37/75] net: drivers/net/wan/lmc/lmc_main.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wan/lmc/lmc_main.c linux-work2/drivers/net/wan/lmc/lmc_main.c
--- linux-work-clean/drivers/net/wan/lmc/lmc_main.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wan/lmc/lmc_main.c 2006-08-17 05:19:43.000000000 +0200
@@ -1790,7 +1790,7 @@ static struct pci_driver lmc_driver = {

static int __init init_lmc(void)
{
- return pci_module_init(&lmc_driver);
+ return pci_register_driver(&lmc_driver);
}

static void __exit exit_lmc(void)

2006-08-17 13:28:24

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 44/75] net: drivers/net/wireless/orinoco_nortel.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/orinoco_nortel.c linux-work2/drivers/net/wireless/orinoco_nortel.c
--- linux-work-clean/drivers/net/wireless/orinoco_nortel.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wireless/orinoco_nortel.c 2006-08-17 05:20:22.000000000 +0200
@@ -304,7 +304,7 @@ MODULE_LICENSE("Dual MPL/GPL");
static int __init orinoco_nortel_init(void)
{
printk(KERN_DEBUG "%s\n", version);
- return pci_module_init(&orinoco_nortel_driver);
+ return pci_register_driver(&orinoco_nortel_driver);
}

static void __exit orinoco_nortel_exit(void)

2006-08-17 13:50:28

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 39/75] scsi: drivers/scsi/megaraid/megaraid_sas.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/scsi/megaraid/megaraid_sas.c linux-work2/drivers/scsi/megaraid/megaraid_sas.c
--- linux-work-clean/drivers/scsi/megaraid/megaraid_sas.c 2006-08-16 22:41:01.000000000 +0200
+++ linux-work2/drivers/scsi/megaraid/megaraid_sas.c 2006-08-17 05:21:09.000000000 +0200
@@ -2854,7 +2854,7 @@ static int __init megasas_init(void)
/*
* Register ourselves as PCI hotplug module
*/
- rval = pci_module_init(&megasas_pci_driver);
+ rval = pci_register_driver(&megasas_pci_driver);

if (rval) {
printk(KERN_DEBUG "megasas: PCI hotplug regisration failed \n");

2006-08-17 13:27:42

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 23/75] net: drivers/net/epic100.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/epic100.c linux-work2/drivers/net/epic100.c
--- linux-work-clean/drivers/net/epic100.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/epic100.c 2006-08-17 05:14:49.000000000 +0200
@@ -1604,7 +1604,7 @@ static int __init epic_init (void)
version, version2, version3);
#endif

- return pci_module_init (&epic_driver);
+ return pci_register_driver(&epic_driver);
}


2006-08-17 13:27:46

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 36/75] net: drivers/net/tokenring/lanstreamer.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tokenring/lanstreamer.c linux-work2/drivers/net/tokenring/lanstreamer.c
--- linux-work-clean/drivers/net/tokenring/lanstreamer.c 2006-08-17 00:10:47.000000000 +0200
+++ linux-work2/drivers/net/tokenring/lanstreamer.c 2006-08-17 05:18:15.000000000 +0200
@@ -1998,7 +1998,7 @@ static struct pci_driver streamer_pci_dr
};

static int __init streamer_init_module(void) {
- return pci_module_init(&streamer_pci_driver);
+ return pci_register_driver(&streamer_pci_driver);
}

static void __exit streamer_cleanup_module(void) {

2006-08-17 13:51:37

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 34/75] net: drivers/net/ixgb/ixgb_main.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/ixgb/ixgb_main.c linux-work2/drivers/net/ixgb/ixgb_main.c
--- linux-work-clean/drivers/net/ixgb/ixgb_main.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/ixgb/ixgb_main.c 2006-08-17 05:15:16.000000000 +0200
@@ -173,7 +173,7 @@ ixgb_init_module(void)

printk(KERN_INFO "%s\n", ixgb_copyright);

- return pci_module_init(&ixgb_driver);
+ return pci_register_driver(&ixgb_driver);
}

module_init(ixgb_init_module);

2006-08-17 13:52:05

by Michal Piotrowski

[permalink] [raw]
Subject: Re: [RFC][PATCH 51/75] net: drivers/net/pci-skeleton.c pci_module_init to pci_register_driver conversion

Jeff Garzik wrote:
> Please just send one big patch that converts all drivers/net drivers at
> once.
>
> Jeff
>
>
>
>

Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/3c59x.c linux-work2/drivers/net/3c59x.c
--- linux-work-clean/drivers/net/3c59x.c 2006-08-16 22:41:16.000000000 +0200
+++ linux-work2/drivers/net/3c59x.c 2006-08-17 05:13:16.000000000 +0200
@@ -3170,7 +3170,7 @@ static int __init vortex_init(void)
{
int pci_rc, eisa_rc;

- pci_rc = pci_module_init(&vortex_driver);
+ pci_rc = pci_register_driver(&vortex_driver);
eisa_rc = vortex_eisa_init();

if (pci_rc == 0)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/8139cp.c linux-work2/drivers/net/8139cp.c
--- linux-work-clean/drivers/net/8139cp.c 2006-08-16 22:41:16.000000000 +0200
+++ linux-work2/drivers/net/8139cp.c 2006-08-17 05:13:25.000000000 +0200
@@ -2098,7 +2098,7 @@ static int __init cp_init (void)
#ifdef MODULE
printk("%s", version);
#endif
- return pci_module_init (&cp_driver);
+ return pci_register_driver(&cp_driver);
}

static void __exit cp_exit (void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/8139too.c linux-work2/drivers/net/8139too.c
--- linux-work-clean/drivers/net/8139too.c 2006-08-16 22:40:59.000000000 +0200
+++ linux-work2/drivers/net/8139too.c 2006-08-17 05:13:30.000000000 +0200
@@ -2629,7 +2629,7 @@ static int __init rtl8139_init_module (v
printk (KERN_INFO RTL8139_DRIVER_NAME "\n");
#endif

- return pci_module_init (&rtl8139_pci_driver);
+ return pci_register_driver(&rtl8139_pci_driver);
}


diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/acenic.c linux-work2/drivers/net/acenic.c
--- linux-work-clean/drivers/net/acenic.c 2006-08-17 00:10:47.000000000 +0200
+++ linux-work2/drivers/net/acenic.c 2006-08-17 05:13:37.000000000 +0200
@@ -725,7 +725,7 @@ static struct pci_driver acenic_pci_driv

static int __init acenic_init(void)
{
- return pci_module_init(&acenic_pci_driver);
+ return pci_register_driver(&acenic_pci_driver);
}

static void __exit acenic_exit(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/amd8111e.c linux-work2/drivers/net/amd8111e.c
--- linux-work-clean/drivers/net/amd8111e.c 2006-08-16 22:40:59.000000000 +0200
+++ linux-work2/drivers/net/amd8111e.c 2006-08-17 05:13:42.000000000 +0200
@@ -2158,7 +2158,7 @@ static struct pci_driver amd8111e_driver

static int __init amd8111e_init(void)
{
- return pci_module_init(&amd8111e_driver);
+ return pci_register_driver(&amd8111e_driver);
}

static void __exit amd8111e_cleanup(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/arcnet/com20020-pci.c linux-work2/drivers/net/arcnet/com20020-pci.c
--- linux-work-clean/drivers/net/arcnet/com20020-pci.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/arcnet/com20020-pci.c 2006-08-17 05:13:48.000000000 +0200
@@ -178,7 +178,7 @@ static struct pci_driver com20020pci_dri
static int __init com20020pci_init(void)
{
BUGLVL(D_NORMAL) printk(VERSION);
- return pci_module_init(&com20020pci_driver);
+ return pci_register_driver(&com20020pci_driver);
}

static void __exit com20020pci_cleanup(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/b44.c linux-work2/drivers/net/b44.c
--- linux-work-clean/drivers/net/b44.c 2006-08-16 22:40:59.000000000 +0200
+++ linux-work2/drivers/net/b44.c 2006-08-17 05:13:54.000000000 +0200
@@ -2354,7 +2354,7 @@ static int __init b44_init(void)
dma_desc_align_mask = ~(dma_desc_align_size - 1);
dma_desc_sync_size = max_t(unsigned int, dma_desc_align_size, sizeof(struct dma_desc));

- return pci_module_init(&b44_driver);
+ return pci_register_driver(&b44_driver);
}

static void __exit b44_cleanup(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/bnx2.c linux-work2/drivers/net/bnx2.c
--- linux-work-clean/drivers/net/bnx2.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/bnx2.c 2006-08-17 05:14:02.000000000 +0200
@@ -6015,7 +6015,7 @@ static struct pci_driver bnx2_pci_driver

static int __init bnx2_init(void)
{
- return pci_module_init(&bnx2_pci_driver);
+ return pci_register_driver(&bnx2_pci_driver);
}

static void __exit bnx2_cleanup(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/cassini.c linux-work2/drivers/net/cassini.c
--- linux-work-clean/drivers/net/cassini.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/cassini.c 2006-08-17 05:14:07.000000000 +0200
@@ -5245,7 +5245,7 @@ static int __init cas_init(void)
else
link_transition_timeout = 0;

- return pci_module_init(&cas_driver);
+ return pci_register_driver(&cas_driver);
}

static void __exit cas_cleanup(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/chelsio/cxgb2.c linux-work2/drivers/net/chelsio/cxgb2.c
--- linux-work-clean/drivers/net/chelsio/cxgb2.c 2006-08-16 22:40:59.000000000 +0200
+++ linux-work2/drivers/net/chelsio/cxgb2.c 2006-08-17 05:14:12.000000000 +0200
@@ -1243,7 +1243,7 @@ static struct pci_driver driver = {

static int __init t1_init_module(void)
{
- return pci_module_init(&driver);
+ return pci_register_driver(&driver);
}

static void __exit t1_cleanup_module(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/defxx.c linux-work2/drivers/net/defxx.c
--- linux-work-clean/drivers/net/defxx.c 2006-08-16 22:40:59.000000000 +0200
+++ linux-work2/drivers/net/defxx.c 2006-08-17 05:14:19.000000000 +0200
@@ -3444,7 +3444,7 @@ static int __init dfx_init(void)
{
int rc_pci, rc_eisa;

- rc_pci = pci_module_init(&dfx_driver);
+ rc_pci = pci_register_driver(&dfx_driver);
if (rc_pci >= 0) dfx_have_pci = 1;

rc_eisa = dfx_eisa_init();
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/dl2k.c linux-work2/drivers/net/dl2k.c
--- linux-work-clean/drivers/net/dl2k.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/dl2k.c 2006-08-17 05:14:25.000000000 +0200
@@ -1815,7 +1815,7 @@ static struct pci_driver rio_driver = {
static int __init
rio_init (void)
{
- return pci_module_init (&rio_driver);
+ return pci_register_driver(&rio_driver);
}

static void __exit
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/e1000/e1000_main.c linux-work2/drivers/net/e1000/e1000_main.c
--- linux-work-clean/drivers/net/e1000/e1000_main.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/e1000/e1000_main.c 2006-08-17 05:14:36.000000000 +0200
@@ -245,7 +245,7 @@ e1000_init_module(void)

printk(KERN_INFO "%s\n", e1000_copyright);

- ret = pci_module_init(&e1000_driver);
+ ret = pci_register_driver(&e1000_driver);

return ret;
}
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/e100.c linux-work2/drivers/net/e100.c
--- linux-work-clean/drivers/net/e100.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/e100.c 2006-08-17 05:14:31.000000000 +0200
@@ -2820,7 +2820,7 @@ static int __init e100_init_module(void)
printk(KERN_INFO PFX "%s, %s\n", DRV_DESCRIPTION, DRV_VERSION);
printk(KERN_INFO PFX "%s\n", DRV_COPYRIGHT);
}
- return pci_module_init(&e100_driver);
+ return pci_register_driver(&e100_driver);
}

static void __exit e100_cleanup_module(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/eepro100.c linux-work2/drivers/net/eepro100.c
--- linux-work-clean/drivers/net/eepro100.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/eepro100.c 2006-08-17 05:14:42.000000000 +0200
@@ -2385,7 +2385,7 @@ static int __init eepro100_init_module(v
#ifdef MODULE
printk(version);
#endif
- return pci_module_init(&eepro100_driver);
+ return pci_register_driver(&eepro100_driver);
}

static void __exit eepro100_cleanup_module(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/epic100.c linux-work2/drivers/net/epic100.c
--- linux-work-clean/drivers/net/epic100.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/epic100.c 2006-08-17 05:14:49.000000000 +0200
@@ -1604,7 +1604,7 @@ static int __init epic_init (void)
version, version2, version3);
#endif

- return pci_module_init (&epic_driver);
+ return pci_register_driver(&epic_driver);
}


diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/fealnx.c linux-work2/drivers/net/fealnx.c
--- linux-work-clean/drivers/net/fealnx.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/fealnx.c 2006-08-17 05:14:55.000000000 +0200
@@ -1984,7 +1984,7 @@ static int __init fealnx_init(void)
printk(version);
#endif

- return pci_module_init(&fealnx_driver);
+ return pci_register_driver(&fealnx_driver);
}

static void __exit fealnx_exit(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/forcedeth.c linux-work2/drivers/net/forcedeth.c
--- linux-work-clean/drivers/net/forcedeth.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/forcedeth.c 2006-08-17 05:15:01.000000000 +0200
@@ -4668,7 +4668,7 @@ static struct pci_driver driver = {
static int __init init_nic(void)
{
printk(KERN_INFO "forcedeth.c: Reverse Engineered nForce ethernet driver. Version %s.\n", FORCEDETH_VERSION);
- return pci_module_init(&driver);
+ return pci_register_driver(&driver);
}

static void __exit exit_nic(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/hp100.c linux-work2/drivers/net/hp100.c
--- linux-work-clean/drivers/net/hp100.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/hp100.c 2006-08-17 05:15:07.000000000 +0200
@@ -3031,7 +3031,7 @@ static int __init hp100_module_init(void
goto out2;
#endif
#ifdef CONFIG_PCI
- err = pci_module_init(&hp100_pci_driver);
+ err = pci_register_driver(&hp100_pci_driver);
if (err && err != -ENODEV)
goto out3;
#endif
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/ixgb/ixgb_main.c linux-work2/drivers/net/ixgb/ixgb_main.c
--- linux-work-clean/drivers/net/ixgb/ixgb_main.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/ixgb/ixgb_main.c 2006-08-17 05:15:16.000000000 +0200
@@ -173,7 +173,7 @@ ixgb_init_module(void)

printk(KERN_INFO "%s\n", ixgb_copyright);

- return pci_module_init(&ixgb_driver);
+ return pci_register_driver(&ixgb_driver);
}

module_init(ixgb_init_module);
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/natsemi.c linux-work2/drivers/net/natsemi.c
--- linux-work-clean/drivers/net/natsemi.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/natsemi.c 2006-08-17 05:15:22.000000000 +0200
@@ -3275,7 +3275,7 @@ static int __init natsemi_init_mod (void
printk(version);
#endif

- return pci_module_init (&natsemi_driver);
+ return pci_register_driver(&natsemi_driver);
}

static void __exit natsemi_exit_mod (void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/ne2k-pci.c linux-work2/drivers/net/ne2k-pci.c
--- linux-work-clean/drivers/net/ne2k-pci.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/ne2k-pci.c 2006-08-17 05:15:27.000000000 +0200
@@ -702,7 +702,7 @@ static int __init ne2k_pci_init(void)
#ifdef MODULE
printk(version);
#endif
- return pci_module_init (&ne2k_driver);
+ return pci_register_driver(&ne2k_driver);
}


diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/ns83820.c linux-work2/drivers/net/ns83820.c
--- linux-work-clean/drivers/net/ns83820.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/ns83820.c 2006-08-17 05:15:34.000000000 +0200
@@ -2336,7 +2336,7 @@ static struct pci_driver driver = {
static int __init ns83820_init(void)
{
printk(KERN_INFO "ns83820.c: National Semiconductor DP83820 10/100/1000 driver.\n");
- return pci_module_init(&driver);
+ return pci_register_driver(&driver);
}

static void __exit ns83820_exit(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/pci-skeleton.c linux-work2/drivers/net/pci-skeleton.c
--- linux-work-clean/drivers/net/pci-skeleton.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/pci-skeleton.c 2006-08-17 05:15:43.000000000 +0200
@@ -1963,7 +1963,7 @@ static int __init netdrv_init_module (vo
#ifdef MODULE
printk(version);
#endif
- return pci_module_init (&netdrv_pci_driver);
+ return pci_register_driver(&netdrv_pci_driver);
}


diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/pcnet32.c linux-work2/drivers/net/pcnet32.c
--- linux-work-clean/drivers/net/pcnet32.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/pcnet32.c 2006-08-17 05:15:52.000000000 +0200
@@ -2969,7 +2969,7 @@ static int __init pcnet32_init_module(vo
tx_start = tx_start_pt;

/* find the PCI devices */
- if (!pci_module_init(&pcnet32_driver))
+ if (!pci_register_driver(&pcnet32_driver))
pcnet32_have_pci = 1;

/* should we find any remaining VLbus devices ? */
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/r8169.c linux-work2/drivers/net/r8169.c
--- linux-work-clean/drivers/net/r8169.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/r8169.c 2006-08-17 05:15:58.000000000 +0200
@@ -2910,7 +2910,7 @@ static struct pci_driver rtl8169_pci_dri
static int __init
rtl8169_init_module(void)
{
- return pci_module_init(&rtl8169_pci_driver);
+ return pci_register_driver(&rtl8169_pci_driver);
}

static void __exit
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/rrunner.c linux-work2/drivers/net/rrunner.c
--- linux-work-clean/drivers/net/rrunner.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/rrunner.c 2006-08-17 05:16:04.000000000 +0200
@@ -1736,7 +1736,7 @@ static struct pci_driver rr_driver = {

static int __init rr_init_module(void)
{
- return pci_module_init(&rr_driver);
+ return pci_register_driver(&rr_driver);
}

static void __exit rr_cleanup_module(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/s2io.c linux-work2/drivers/net/s2io.c
--- linux-work-clean/drivers/net/s2io.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/s2io.c 2006-08-17 05:16:10.000000000 +0200
@@ -7233,7 +7233,7 @@ static void __devexit s2io_rem_nic(struc

int __init s2io_starter(void)
{
- return pci_module_init(&s2io_driver);
+ return pci_register_driver(&s2io_driver);
}

/**
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/saa9730.c linux-work2/drivers/net/saa9730.c
--- linux-work-clean/drivers/net/saa9730.c 2006-03-20 06:53:29.000000000 +0100
+++ linux-work2/drivers/net/saa9730.c 2006-08-17 05:16:21.000000000 +0200
@@ -1131,7 +1131,7 @@ static struct pci_driver saa9730_driver

static int __init saa9730_init(void)
{
- return pci_module_init(&saa9730_driver);
+ return pci_register_driver(&saa9730_driver);
}

static void __exit saa9730_cleanup(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/sis190.c linux-work2/drivers/net/sis190.c
--- linux-work-clean/drivers/net/sis190.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/sis190.c 2006-08-17 05:16:27.000000000 +0200
@@ -1871,7 +1871,7 @@ static struct pci_driver sis190_pci_driv

static int __init sis190_init_module(void)
{
- return pci_module_init(&sis190_pci_driver);
+ return pci_register_driver(&sis190_pci_driver);
}

static void __exit sis190_cleanup_module(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/sis900.c linux-work2/drivers/net/sis900.c
--- linux-work-clean/drivers/net/sis900.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/sis900.c 2006-08-17 05:16:32.000000000 +0200
@@ -2495,7 +2495,7 @@ static int __init sis900_init_module(voi
printk(version);
#endif

- return pci_module_init(&sis900_pci_driver);
+ return pci_register_driver(&sis900_pci_driver);
}

static void __exit sis900_cleanup_module(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/sk98lin/skge.c linux-work2/drivers/net/sk98lin/skge.c
--- linux-work-clean/drivers/net/sk98lin/skge.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/sk98lin/skge.c 2006-08-17 05:16:39.000000000 +0200
@@ -5133,7 +5133,7 @@ static struct pci_driver skge_driver = {

static int __init skge_init(void)
{
- return pci_module_init(&skge_driver);
+ return pci_register_driver(&skge_driver);
}

static void __exit skge_exit(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/skfp/skfddi.c linux-work2/drivers/net/skfp/skfddi.c
--- linux-work-clean/drivers/net/skfp/skfddi.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/skfp/skfddi.c 2006-08-17 05:16:45.000000000 +0200
@@ -2280,7 +2280,7 @@ static struct pci_driver skfddi_pci_driv

static int __init skfd_init(void)
{
- return pci_module_init(&skfddi_pci_driver);
+ return pci_register_driver(&skfddi_pci_driver);
}

static void __exit skfd_exit(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/skge.c linux-work2/drivers/net/skge.c
--- linux-work-clean/drivers/net/skge.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/skge.c 2006-08-17 05:17:04.000000000 +0200
@@ -3510,7 +3510,7 @@ static struct pci_driver skge_driver = {

static int __init skge_init_module(void)
{
- return pci_module_init(&skge_driver);
+ return pci_register_driver(&skge_driver);
}

static void __exit skge_cleanup_module(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/starfire.c linux-work2/drivers/net/starfire.c
--- linux-work-clean/drivers/net/starfire.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/starfire.c 2006-08-17 05:17:15.000000000 +0200
@@ -2053,7 +2053,7 @@ static int __init starfire_init (void)
return -ENODEV;
}

- return pci_module_init (&starfire_driver);
+ return pci_register_driver(&starfire_driver);
}


diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/sundance.c linux-work2/drivers/net/sundance.c
--- linux-work-clean/drivers/net/sundance.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/sundance.c 2006-08-17 05:17:21.000000000 +0200
@@ -1733,7 +1733,7 @@ static int __init sundance_init(void)
#ifdef MODULE
printk(version);
#endif
- return pci_module_init(&sundance_driver);
+ return pci_register_driver(&sundance_driver);
}

static void __exit sundance_exit(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/sungem.c linux-work2/drivers/net/sungem.c
--- linux-work-clean/drivers/net/sungem.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/sungem.c 2006-08-17 05:17:28.000000000 +0200
@@ -3194,7 +3194,7 @@ static struct pci_driver gem_driver = {

static int __init gem_init(void)
{
- return pci_module_init(&gem_driver);
+ return pci_register_driver(&gem_driver);
}

static void __exit gem_cleanup(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tc35815.c linux-work2/drivers/net/tc35815.c
--- linux-work-clean/drivers/net/tc35815.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/tc35815.c 2006-08-17 05:17:42.000000000 +0200
@@ -1725,7 +1725,7 @@ static struct pci_driver tc35815_driver

static int __init tc35815_init_module(void)
{
- return pci_module_init(&tc35815_driver);
+ return pci_register_driver(&tc35815_driver);
}

static void __exit tc35815_cleanup_module(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tg3.c linux-work2/drivers/net/tg3.c
--- linux-work-clean/drivers/net/tg3.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/tg3.c 2006-08-17 05:17:47.000000000 +0200
@@ -11819,7 +11819,7 @@ static struct pci_driver tg3_driver = {

static int __init tg3_init(void)
{
- return pci_module_init(&tg3_driver);
+ return pci_register_driver(&tg3_driver);
}

static void __exit tg3_cleanup(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tokenring/3c359.c linux-work2/drivers/net/tokenring/3c359.c
--- linux-work-clean/drivers/net/tokenring/3c359.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/tokenring/3c359.c 2006-08-17 05:18:07.000000000 +0200
@@ -1815,7 +1815,7 @@ static struct pci_driver xl_3c359_driver

static int __init xl_pci_init (void)
{
- return pci_module_init (&xl_3c359_driver);
+ return pci_register_driver(&xl_3c359_driver);
}


diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tokenring/lanstreamer.c linux-work2/drivers/net/tokenring/lanstreamer.c
--- linux-work-clean/drivers/net/tokenring/lanstreamer.c 2006-08-17 00:10:47.000000000 +0200
+++ linux-work2/drivers/net/tokenring/lanstreamer.c 2006-08-17 05:18:15.000000000 +0200
@@ -1998,7 +1998,7 @@ static struct pci_driver streamer_pci_dr
};

static int __init streamer_init_module(void) {
- return pci_module_init(&streamer_pci_driver);
+ return pci_register_driver(&streamer_pci_driver);
}

static void __exit streamer_cleanup_module(void) {
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tokenring/olympic.c linux-work2/drivers/net/tokenring/olympic.c
--- linux-work-clean/drivers/net/tokenring/olympic.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/tokenring/olympic.c 2006-08-17 05:18:24.000000000 +0200
@@ -1771,7 +1771,7 @@ static struct pci_driver olympic_driver

static int __init olympic_pci_init(void)
{
- return pci_module_init (&olympic_driver) ;
+ return pci_register_driver(&olympic_driver);
}

static void __exit olympic_pci_cleanup(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tulip/de2104x.c linux-work2/drivers/net/tulip/de2104x.c
--- linux-work-clean/drivers/net/tulip/de2104x.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/tulip/de2104x.c 2006-08-17 05:18:32.000000000 +0200
@@ -2172,7 +2172,7 @@ static int __init de_init (void)
#ifdef MODULE
printk("%s", version);
#endif
- return pci_module_init (&de_driver);
+ return pci_register_driver(&de_driver);
}

static void __exit de_exit (void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tulip/de4x5.c linux-work2/drivers/net/tulip/de4x5.c
--- linux-work-clean/drivers/net/tulip/de4x5.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/tulip/de4x5.c 2006-08-17 05:18:44.000000000 +0200
@@ -5755,7 +5755,7 @@ static int __init de4x5_module_init (voi
int err = 0;

#ifdef CONFIG_PCI
- err = pci_module_init (&de4x5_pci_driver);
+ err = pci_register_driver(&de4x5_pci_driver);
#endif
#ifdef CONFIG_EISA
err |= eisa_driver_register (&de4x5_eisa_driver);
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tulip/dmfe.c linux-work2/drivers/net/tulip/dmfe.c
--- linux-work-clean/drivers/net/tulip/dmfe.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/tulip/dmfe.c 2006-08-17 05:18:50.000000000 +0200
@@ -2039,7 +2039,7 @@ static int __init dmfe_init_module(void)
if (HPNA_NoiseFloor > 15)
HPNA_NoiseFloor = 0;

- rc = pci_module_init(&dmfe_driver);
+ rc = pci_register_driver(&dmfe_driver);
if (rc < 0)
return rc;

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tulip/tulip_core.c linux-work2/drivers/net/tulip/tulip_core.c
--- linux-work-clean/drivers/net/tulip/tulip_core.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/tulip/tulip_core.c 2006-08-17 05:18:56.000000000 +0200
@@ -1860,7 +1860,7 @@ static int __init tulip_init (void)
tulip_max_interrupt_work = max_interrupt_work;

/* probe for and init boards */
- return pci_module_init (&tulip_driver);
+ return pci_register_driver(&tulip_driver);
}


diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tulip/winbond-840.c linux-work2/drivers/net/tulip/winbond-840.c
--- linux-work-clean/drivers/net/tulip/winbond-840.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/tulip/winbond-840.c 2006-08-17 05:19:02.000000000 +0200
@@ -1689,7 +1689,7 @@ static struct pci_driver w840_driver = {
static int __init w840_init(void)
{
printk(version);
- return pci_module_init(&w840_driver);
+ return pci_register_driver(&w840_driver);
}

static void __exit w840_exit(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tulip/xircom_tulip_cb.c linux-work2/drivers/net/tulip/xircom_tulip_cb.c
--- linux-work-clean/drivers/net/tulip/xircom_tulip_cb.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/tulip/xircom_tulip_cb.c 2006-08-17 05:19:07.000000000 +0200
@@ -1707,7 +1707,7 @@ static int __init xircom_init(void)
#ifdef MODULE
printk(version);
#endif
- return pci_module_init(&xircom_driver);
+ return pci_register_driver(&xircom_driver);
}


diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/typhoon.c linux-work2/drivers/net/typhoon.c
--- linux-work-clean/drivers/net/typhoon.c 2006-08-17 00:10:47.000000000 +0200
+++ linux-work2/drivers/net/typhoon.c 2006-08-17 05:19:13.000000000 +0200
@@ -2660,7 +2660,7 @@ static struct pci_driver typhoon_driver
static int __init
typhoon_init(void)
{
- return pci_module_init(&typhoon_driver);
+ return pci_register_driver(&typhoon_driver);
}

static void __exit
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/via-rhine.c linux-work2/drivers/net/via-rhine.c
--- linux-work-clean/drivers/net/via-rhine.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/via-rhine.c 2006-08-17 05:19:18.000000000 +0200
@@ -2005,7 +2005,7 @@ static int __init rhine_init(void)
#ifdef MODULE
printk(version);
#endif
- return pci_module_init(&rhine_driver);
+ return pci_register_driver(&rhine_driver);
}


diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/via-velocity.c linux-work2/drivers/net/via-velocity.c
--- linux-work-clean/drivers/net/via-velocity.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/via-velocity.c 2006-08-17 05:19:24.000000000 +0200
@@ -2250,7 +2250,7 @@ static int __init velocity_init_module(v
int ret;

velocity_register_notifier();
- ret = pci_module_init(&velocity_driver);
+ ret = pci_register_driver(&velocity_driver);
if (ret < 0)
velocity_unregister_notifier();
return ret;
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wan/dscc4.c linux-work2/drivers/net/wan/dscc4.c
--- linux-work-clean/drivers/net/wan/dscc4.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wan/dscc4.c 2006-08-17 05:19:30.000000000 +0200
@@ -2062,7 +2062,7 @@ static struct pci_driver dscc4_driver =

static int __init dscc4_init_module(void)
{
- return pci_module_init(&dscc4_driver);
+ return pci_register_driver(&dscc4_driver);
}

static void __exit dscc4_cleanup_module(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wan/farsync.c linux-work2/drivers/net/wan/farsync.c
--- linux-work-clean/drivers/net/wan/farsync.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wan/farsync.c 2006-08-17 05:19:37.000000000 +0200
@@ -2697,7 +2697,7 @@ fst_init(void)
for (i = 0; i < FST_MAX_CARDS; i++)
fst_card_array[i] = NULL;
spin_lock_init(&fst_work_q_lock);
- return pci_module_init(&fst_driver);
+ return pci_register_driver(&fst_driver);
}

static void __exit
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wan/lmc/lmc_main.c linux-work2/drivers/net/wan/lmc/lmc_main.c
--- linux-work-clean/drivers/net/wan/lmc/lmc_main.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wan/lmc/lmc_main.c 2006-08-17 05:19:43.000000000 +0200
@@ -1790,7 +1790,7 @@ static struct pci_driver lmc_driver = {

static int __init init_lmc(void)
{
- return pci_module_init(&lmc_driver);
+ return pci_register_driver(&lmc_driver);
}

static void __exit exit_lmc(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wan/pc300_drv.c linux-work2/drivers/net/wan/pc300_drv.c
--- linux-work-clean/drivers/net/wan/pc300_drv.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wan/pc300_drv.c 2006-08-17 05:19:51.000000000 +0200
@@ -3677,7 +3677,7 @@ static struct pci_driver cpc_driver = {

static int __init cpc_init(void)
{
- return pci_module_init(&cpc_driver);
+ return pci_register_driver(&cpc_driver);
}

static void __exit cpc_cleanup_module(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wan/pci200syn.c linux-work2/drivers/net/wan/pci200syn.c
--- linux-work-clean/drivers/net/wan/pci200syn.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wan/pci200syn.c 2006-08-17 05:19:56.000000000 +0200
@@ -476,7 +476,7 @@ static int __init pci200_init_module(voi
printk(KERN_ERR "pci200syn: Invalid PCI clock frequency\n");
return -EINVAL;
}
- return pci_module_init(&pci200_pci_driver);
+ return pci_register_driver(&pci200_pci_driver);
}


diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wan/wanxl.c linux-work2/drivers/net/wan/wanxl.c
--- linux-work-clean/drivers/net/wan/wanxl.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wan/wanxl.c 2006-08-17 05:20:02.000000000 +0200
@@ -837,7 +837,7 @@ static int __init wanxl_init_module(void
#ifdef MODULE
printk(KERN_INFO "%s\n", version);
#endif
- return pci_module_init(&wanxl_pci_driver);
+ return pci_register_driver(&wanxl_pci_driver);
}

static void __exit wanxl_cleanup_module(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/atmel_pci.c linux-work2/drivers/net/wireless/atmel_pci.c
--- linux-work-clean/drivers/net/wireless/atmel_pci.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wireless/atmel_pci.c 2006-08-17 05:20:06.000000000 +0200
@@ -76,7 +76,7 @@ static void __devexit atmel_pci_remove(s

static int __init atmel_init_module(void)
{
- return pci_module_init(&atmel_driver);
+ return pci_register_driver(&atmel_driver);
}

static void __exit atmel_cleanup_module(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/ipw2100.c linux-work2/drivers/net/wireless/ipw2100.c
--- linux-work-clean/drivers/net/wireless/ipw2100.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wireless/ipw2100.c 2006-08-17 05:20:12.000000000 +0200
@@ -6531,7 +6531,7 @@ static int __init ipw2100_init(void)
printk(KERN_INFO DRV_NAME ": %s, %s\n", DRV_DESCRIPTION, DRV_VERSION);
printk(KERN_INFO DRV_NAME ": %s\n", DRV_COPYRIGHT);

- ret = pci_module_init(&ipw2100_pci_driver);
+ ret = pci_register_driver(&ipw2100_pci_driver);

#ifdef CONFIG_IPW2100_DEBUG
ipw2100_debug_level = debug;
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/ipw2200.c linux-work2/drivers/net/wireless/ipw2200.c
--- linux-work-clean/drivers/net/wireless/ipw2200.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/wireless/ipw2200.c 2006-08-17 05:20:17.000000000 +0200
@@ -11753,7 +11753,7 @@ static int __init ipw_init(void)
printk(KERN_INFO DRV_NAME ": " DRV_DESCRIPTION ", " DRV_VERSION "\n");
printk(KERN_INFO DRV_NAME ": " DRV_COPYRIGHT "\n");

- ret = pci_module_init(&ipw_driver);
+ ret = pci_register_driver(&ipw_driver);
if (ret) {
IPW_ERROR("Unable to initialize PCI module\n");
return ret;
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/orinoco_nortel.c linux-work2/drivers/net/wireless/orinoco_nortel.c
--- linux-work-clean/drivers/net/wireless/orinoco_nortel.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wireless/orinoco_nortel.c 2006-08-17 05:20:22.000000000 +0200
@@ -304,7 +304,7 @@ MODULE_LICENSE("Dual MPL/GPL");
static int __init orinoco_nortel_init(void)
{
printk(KERN_DEBUG "%s\n", version);
- return pci_module_init(&orinoco_nortel_driver);
+ return pci_register_driver(&orinoco_nortel_driver);
}

static void __exit orinoco_nortel_exit(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/orinoco_pci.c linux-work2/drivers/net/wireless/orinoco_pci.c
--- linux-work-clean/drivers/net/wireless/orinoco_pci.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wireless/orinoco_pci.c 2006-08-17 05:20:26.000000000 +0200
@@ -244,7 +244,7 @@ MODULE_LICENSE("Dual MPL/GPL");
static int __init orinoco_pci_init(void)
{
printk(KERN_DEBUG "%s\n", version);
- return pci_module_init(&orinoco_pci_driver);
+ return pci_register_driver(&orinoco_pci_driver);
}

static void __exit orinoco_pci_exit(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/orinoco_plx.c linux-work2/drivers/net/wireless/orinoco_plx.c
--- linux-work-clean/drivers/net/wireless/orinoco_plx.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wireless/orinoco_plx.c 2006-08-17 05:20:31.000000000 +0200
@@ -351,7 +351,7 @@ MODULE_LICENSE("Dual MPL/GPL");
static int __init orinoco_plx_init(void)
{
printk(KERN_DEBUG "%s\n", version);
- return pci_module_init(&orinoco_plx_driver);
+ return pci_register_driver(&orinoco_plx_driver);
}

static void __exit orinoco_plx_exit(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/orinoco_tmd.c linux-work2/drivers/net/wireless/orinoco_tmd.c
--- linux-work-clean/drivers/net/wireless/orinoco_tmd.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wireless/orinoco_tmd.c 2006-08-17 05:20:37.000000000 +0200
@@ -228,7 +228,7 @@ MODULE_LICENSE("Dual MPL/GPL");
static int __init orinoco_tmd_init(void)
{
printk(KERN_DEBUG "%s\n", version);
- return pci_module_init(&orinoco_tmd_driver);
+ return pci_register_driver(&orinoco_tmd_driver);
}

static void __exit orinoco_tmd_exit(void)
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/prism54/islpci_hotplug.c linux-work2/drivers/net/wireless/prism54/islpci_hotplug.c
--- linux-work-clean/drivers/net/wireless/prism54/islpci_hotplug.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wireless/prism54/islpci_hotplug.c 2006-08-17 05:20:43.000000000 +0200
@@ -313,7 +313,7 @@ prism54_module_init(void)

__bug_on_wrong_struct_sizes ();

- return pci_module_init(&prism54_driver);
+ return pci_register_driver(&prism54_driver);
}

/* by the time prism54_module_exit() terminates, as a postcondition
diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/yellowfin.c linux-work2/drivers/net/yellowfin.c
--- linux-work-clean/drivers/net/yellowfin.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/yellowfin.c 2006-08-17 05:20:50.000000000 +0200
@@ -1434,7 +1434,7 @@ static int __init yellowfin_init (void)
#ifdef MODULE
printk(version);
#endif
- return pci_module_init (&yellowfin_driver);
+ return pci_register_driver(&yellowfin_driver);
}


2006-08-17 13:52:11

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 35/75] edac: drivers/edac/k8_edac.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/edac/k8_edac.c linux-work2/drivers/edac/k8_edac.c
--- linux-work-clean/drivers/edac/k8_edac.c 2006-08-16 22:41:16.000000000 +0200
+++ linux-work2/drivers/edac/k8_edac.c 2006-08-17 05:12:55.000000000 +0200
@@ -1865,7 +1865,7 @@ static struct pci_driver k8_driver = {

static int __init k8_init(void)
{
- return pci_module_init(&k8_driver);
+ return pci_register_driver(&k8_driver);
}

static void __exit k8_exit(void)

2006-08-17 13:54:08

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 25/75] net: drivers/net/fealnx.c module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/fealnx.c linux-work2/drivers/net/fealnx.c
--- linux-work-clean/drivers/net/fealnx.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/fealnx.c 2006-08-17 05:14:55.000000000 +0200
@@ -1984,7 +1984,7 @@ static int __init fealnx_init(void)
printk(version);
#endif

- return pci_module_init(&fealnx_driver);
+ return pci_register_driver(&fealnx_driver);
}

static void __exit fealnx_exit(void)

2006-08-17 13:52:44

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 22/75] net: drivers/net/eepro100.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/eepro100.c linux-work2/drivers/net/eepro100.c
--- linux-work-clean/drivers/net/eepro100.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/eepro100.c 2006-08-17 05:14:42.000000000 +0200
@@ -2385,7 +2385,7 @@ static int __init eepro100_init_module(v
#ifdef MODULE
printk(version);
#endif
- return pci_module_init(&eepro100_driver);
+ return pci_register_driver(&eepro100_driver);
}

static void __exit eepro100_cleanup_module(void)

2006-08-17 13:53:21

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 26/75] net: drivers/net/forcedeth.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/forcedeth.c linux-work2/drivers/net/forcedeth.c
--- linux-work-clean/drivers/net/forcedeth.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/forcedeth.c 2006-08-17 05:15:01.000000000 +0200
@@ -4668,7 +4668,7 @@ static struct pci_driver driver = {
static int __init init_nic(void)
{
printk(KERN_INFO "forcedeth.c: Reverse Engineered nForce ethernet driver. Version %s.\n", FORCEDETH_VERSION);
- return pci_module_init(&driver);
+ return pci_register_driver(&driver);
}

static void __exit exit_nic(void)

2006-08-17 13:54:06

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 30/75] scsi: drivers/scsi/ips.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/scsi/ips.c linux-work2/drivers/scsi/ips.c
--- linux-work-clean/drivers/scsi/ips.c 2006-08-16 22:41:01.000000000 +0200
+++ linux-work2/drivers/scsi/ips.c 2006-08-17 05:20:58.000000000 +0200
@@ -7078,7 +7078,7 @@ ips_remove_device(struct pci_dev *pci_de
static int __init
ips_module_init(void)
{
- if (pci_module_init(&ips_pci_driver) < 0)
+ if (pci_register_driver(&ips_pci_driver) < 0)
return -ENODEV;
ips_driver_template.module = THIS_MODULE;
ips_order_controllers();

2006-08-17 13:27:35

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 28/75] net: drivers/net/hp100.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/hp100.c linux-work2/drivers/net/hp100.c
--- linux-work-clean/drivers/net/hp100.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/hp100.c 2006-08-17 05:15:07.000000000 +0200
@@ -3031,7 +3031,7 @@ static int __init hp100_module_init(void
goto out2;
#endif
#ifdef CONFIG_PCI
- err = pci_module_init(&hp100_pci_driver);
+ err = pci_register_driver(&hp100_pci_driver);
if (err && err != -ENODEV)
goto out3;
#endif

2006-08-17 13:27:28

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 27/75] crypto: drivers/crypto/geode-aes.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/crypto/geode-aes.c linux-work2/drivers/crypto/geode-aes.c
--- linux-work-clean/drivers/crypto/geode-aes.c 2006-08-16 22:41:16.000000000 +0200
+++ linux-work2/drivers/crypto/geode-aes.c 2006-08-17 05:12:48.000000000 +0200
@@ -378,7 +378,7 @@ static struct pci_driver geode_aes_drive
static int __devinit
geode_aes_init(void)
{
- return pci_module_init(&geode_aes_driver);
+ return pci_register_driver(&geode_aes_driver);
}

static void __devexit

2006-08-17 13:54:58

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 21/75] net: drivers/net/e100.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/e100.c linux-work2/drivers/net/e100.c
--- linux-work-clean/drivers/net/e100.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/e100.c 2006-08-17 05:14:31.000000000 +0200
@@ -2820,7 +2820,7 @@ static int __init e100_init_module(void)
printk(KERN_INFO PFX "%s, %s\n", DRV_DESCRIPTION, DRV_VERSION);
printk(KERN_INFO PFX "%s\n", DRV_COPYRIGHT);
}
- return pci_module_init(&e100_driver);
+ return pci_register_driver(&e100_driver);
}

static void __exit e100_cleanup_module(void)

2006-08-17 13:56:00

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 19/75] net: drivers/net/wan/dscc4.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wan/dscc4.c linux-work2/drivers/net/wan/dscc4.c
--- linux-work-clean/drivers/net/wan/dscc4.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wan/dscc4.c 2006-08-17 05:19:30.000000000 +0200
@@ -2062,7 +2062,7 @@ static struct pci_driver dscc4_driver =

static int __init dscc4_init_module(void)
{
- return pci_module_init(&dscc4_driver);
+ return pci_register_driver(&dscc4_driver);
}

static void __exit dscc4_cleanup_module(void)

2006-08-17 13:57:23

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 17/75] net: drivers/net/dl2k.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/dl2k.c linux-work2/drivers/net/dl2k.c
--- linux-work-clean/drivers/net/dl2k.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/dl2k.c 2006-08-17 05:14:25.000000000 +0200
@@ -1815,7 +1815,7 @@ static struct pci_driver rio_driver = {
static int __init
rio_init (void)
{
- return pci_module_init (&rio_driver);
+ return pci_register_driver(&rio_driver);
}

static void __exit

2006-08-17 13:56:48

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 9/75] net: drivers/net/b44.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/b44.c linux-work2/drivers/net/b44.c
--- linux-work-clean/drivers/net/b44.c 2006-08-16 22:40:59.000000000 +0200
+++ linux-work2/drivers/net/b44.c 2006-08-17 05:13:54.000000000 +0200
@@ -2354,7 +2354,7 @@ static int __init b44_init(void)
dma_desc_align_mask = ~(dma_desc_align_size - 1);
dma_desc_sync_size = max_t(unsigned int, dma_desc_align_size, sizeof(struct dma_desc));

- return pci_module_init(&b44_driver);
+ return pci_register_driver(&b44_driver);
}

static void __exit b44_cleanup(void)

2006-08-17 13:26:57

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 8/75] net: drivers/net/wireless/atmel_pci.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/wireless/atmel_pci.c linux-work2/drivers/net/wireless/atmel_pci.c
--- linux-work-clean/drivers/net/wireless/atmel_pci.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/wireless/atmel_pci.c 2006-08-17 05:20:06.000000000 +0200
@@ -76,7 +76,7 @@ static void __devexit atmel_pci_remove(s

static int __init atmel_init_module(void)
{
- return pci_module_init(&atmel_driver);
+ return pci_register_driver(&atmel_driver);
}

static void __exit atmel_cleanup_module(void)

2006-08-17 13:56:48

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 5/75] net: drivers/net/acenic.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/acenic.c linux-work2/drivers/net/acenic.c
--- linux-work-clean/drivers/net/acenic.c 2006-08-17 00:10:47.000000000 +0200
+++ linux-work2/drivers/net/acenic.c 2006-08-17 05:13:37.000000000 +0200
@@ -725,7 +725,7 @@ static struct pci_driver acenic_pci_driv

static int __init acenic_init(void)
{
- return pci_module_init(&acenic_pci_driver);
+ return pci_register_driver(&acenic_pci_driver);
}

static void __exit acenic_exit(void)

2006-08-17 13:56:15

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 7/75] ata: drivers/ata/ata_generic.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/ata/ata_generic.c linux-work2/drivers/ata/ata_generic.c
--- linux-work-clean/drivers/ata/ata_generic.c 2006-08-16 22:41:16.000000000 +0200
+++ linux-work2/drivers/ata/ata_generic.c 2006-08-17 05:12:23.000000000 +0200
@@ -230,7 +230,7 @@ static struct pci_driver ata_generic_pci

static int __init ata_generic_init(void)
{
- return pci_module_init(&ata_generic_pci_driver);
+ return pci_register_driver(&ata_generic_pci_driver);
}


2006-08-17 13:58:57

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 15/75] net: drivers/net/tulip/de4x5.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tulip/de4x5.c linux-work2/drivers/net/tulip/de4x5.c
--- linux-work-clean/drivers/net/tulip/de4x5.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/tulip/de4x5.c 2006-08-17 05:18:44.000000000 +0200
@@ -5755,7 +5755,7 @@ static int __init de4x5_module_init (voi
int err = 0;

#ifdef CONFIG_PCI
- err = pci_module_init (&de4x5_pci_driver);
+ err = pci_register_driver(&de4x5_pci_driver);
#endif
#ifdef CONFIG_EISA
err |= eisa_driver_register (&de4x5_eisa_driver);

2006-08-17 13:58:43

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 18/75] net: drivers/net/tulip/dmfe.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/tulip/dmfe.c linux-work2/drivers/net/tulip/dmfe.c
--- linux-work-clean/drivers/net/tulip/dmfe.c 2006-08-16 22:41:00.000000000 +0200
+++ linux-work2/drivers/net/tulip/dmfe.c 2006-08-17 05:18:50.000000000 +0200
@@ -2039,7 +2039,7 @@ static int __init dmfe_init_module(void)
if (HPNA_NoiseFloor > 15)
HPNA_NoiseFloor = 0;

- rc = pci_module_init(&dmfe_driver);
+ rc = pci_register_driver(&dmfe_driver);
if (rc < 0)
return rc;

2006-08-17 13:59:26

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 2/75] net: drivers/net/3c59x.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/3c59x.c linux-work2/drivers/net/3c59x.c
--- linux-work-clean/drivers/net/3c59x.c 2006-08-16 22:41:16.000000000 +0200
+++ linux-work2/drivers/net/3c59x.c 2006-08-17 05:13:16.000000000 +0200
@@ -3170,7 +3170,7 @@ static int __init vortex_init(void)
{
int pci_rc, eisa_rc;

- pci_rc = pci_module_init(&vortex_driver);
+ pci_rc = pci_register_driver(&vortex_driver);
eisa_rc = vortex_eisa_init();

if (pci_rc == 0)

2006-08-17 13:58:01

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 10/75] net: drivers/net/bnx2.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/bnx2.c linux-work2/drivers/net/bnx2.c
--- linux-work-clean/drivers/net/bnx2.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/bnx2.c 2006-08-17 05:14:02.000000000 +0200
@@ -6015,7 +6015,7 @@ static struct pci_driver bnx2_pci_driver

static int __init bnx2_init(void)
{
- return pci_module_init(&bnx2_pci_driver);
+ return pci_register_driver(&bnx2_pci_driver);
}

static void __exit bnx2_cleanup(void)

2006-08-17 13:26:52

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 11/75] net: drivers/net/cassini.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/cassini.c linux-work2/drivers/net/cassini.c
--- linux-work-clean/drivers/net/cassini.c 2006-08-16 22:41:17.000000000 +0200
+++ linux-work2/drivers/net/cassini.c 2006-08-17 05:14:07.000000000 +0200
@@ -5245,7 +5245,7 @@ static int __init cas_init(void)
else
link_transition_timeout = 0;

- return pci_module_init(&cas_driver);
+ return pci_register_driver(&cas_driver);
}

static void __exit cas_cleanup(void)

2006-08-17 13:59:26

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH 13/75] net: drivers/net/chelsio/cxgb2.c pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/net/chelsio/cxgb2.c linux-work2/drivers/net/chelsio/cxgb2.c
--- linux-work-clean/drivers/net/chelsio/cxgb2.c 2006-08-16 22:40:59.000000000 +0200
+++ linux-work2/drivers/net/chelsio/cxgb2.c 2006-08-17 05:14:12.000000000 +0200
@@ -1243,7 +1243,7 @@ static struct pci_driver driver = {

static int __init t1_init_module(void)
{
- return pci_module_init(&driver);
+ return pci_register_driver(&driver);
}

static void __exit t1_cleanup_module(void)

2006-08-17 14:17:28

by Corey Minyard

[permalink] [raw]
Subject: Re: [RFC][PATCH 29/75] char: drivers/char/ipmi/ipmi_si_intf.c pci_module_init to pci_register_driver conversion

Yes, please. Thank you.

-Corey

Michal Piotrowski wrote:
> Signed-off-by: Michal Piotrowski <[email protected]>
>
> diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/drivers/char/ipmi/ipmi_si_intf.c linux-work2/drivers/char/ipmi/ipmi_si_intf.c
> --- linux-work-clean/drivers/char/ipmi/ipmi_si_intf.c 2006-08-16 22:40:58.000000000 +0200
> +++ linux-work2/drivers/char/ipmi/ipmi_si_intf.c 2006-08-17 05:12:42.000000000 +0200
> @@ -2461,7 +2461,7 @@ static __devinit int init_ipmi_si(void)
> #endif
>
> #ifdef CONFIG_PCI
> - pci_module_init(&ipmi_pci_driver);
> + pci_register_driver(&ipmi_pci_driver);
> #endif
>
> if (si_trydefaults) {
>

2006-08-17 14:36:05

by Joerg Dorchain

[permalink] [raw]
Subject: Re: [RFC][PATCH 47/75] net: drivers/net/wireless/orinoco_tmd.c pci_module_init to pci_register_driver conversion

>
> Signed-off-by: Michal Piotrowski <[email protected]>

Fine with me.
Signed-off-by: Joerg Dorchain <[email protected]>

>
> diff -uprN -X linux-work/Documentation/dontdiff
> linux-work-clean/drivers/net/wireless/orinoco_tmd.c
> linux-work2/drivers/net/wireless/orinoco_tmd.c
> --- linux-work-clean/drivers/net/wireless/orinoco_tmd.c 2006-08-16
> 22:41:00.000000000 +0200
> +++ linux-work2/drivers/net/wireless/orinoco_tmd.c 2006-08-17
> 05:20:37.000000000 +0200
> @@ -228,7 +228,7 @@ MODULE_LICENSE("Dual MPL/GPL");
> static int __init orinoco_tmd_init(void)
> {
> printk(KERN_DEBUG "%s\n", version);
> - return pci_module_init(&orinoco_tmd_driver);
> + return pci_register_driver(&orinoco_tmd_driver);
> }
>
> static void __exit orinoco_tmd_exit(void)
>


2006-08-17 19:30:27

by Krzysztof Halasa

[permalink] [raw]
Subject: Re: [RFC][PATCH 50/75] net: drivers/net/wan/pci200syn.c pci_module_init to pci_register_driver conversion

Michal Piotrowski <[email protected]> writes:

> +++ linux-work2/drivers/net/wan/wanxl.c
> +++ linux-work2/drivers/net/wan/pci200syn.c

> - return pci_module_init(&pci200_pci_driver);
> + return pci_register_driver(&pci200_pci_driver);

Ok. Rozumiem, ze Jeff zrobi to w jednym, duzym batchu?
--
Krzysztof Halasa

2006-08-17 21:00:00

by Ju, Seokmann

[permalink] [raw]
Subject: RE: [RFC][PATCH 38/75] scsi: drivers/scsi/megaraid.c pci_module_init to pci_register_driver conversion

ACK - pci_module_init is obsolete.

Thank you,

Seokmann

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Michal
> Piotrowski
> Sent: Thursday, August 17, 2006 9:28 AM
> To: Kolli, Neela
> Cc: [email protected]; [email protected]
> Subject: [RFC][PATCH 38/75] scsi: drivers/scsi/megaraid.c
> pci_module_init to pci_register_driver conversion
>
>
> Signed-off-by: Michal Piotrowski <[email protected]>
>
> diff -uprN -X linux-work/Documentation/dontdiff
> linux-work-clean/drivers/scsi/megaraid.c
> linux-work2/drivers/scsi/megaraid.c
> --- linux-work-clean/drivers/scsi/megaraid.c 2006-08-16
> 22:41:17.000000000 +0200
> +++ linux-work2/drivers/scsi/megaraid.c 2006-08-17
> 05:21:04.000000000 +0200
> @@ -5078,7 +5078,7 @@ static int __init megaraid_init(void)
> "megaraid: failed to create
> megaraid root\n");
> }
> #endif
> - error = pci_module_init(&megaraid_pci_driver);
> + error = pci_register_driver(&megaraid_pci_driver);
> if (error) {
> #ifdef CONFIG_PROC_FS
> remove_proc_entry("megaraid", &proc_root);
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-scsi" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

2006-08-17 21:09:38

by Krzysztof Halasa

[permalink] [raw]
Subject: Re: [RFC][PATCH 50/75] net: drivers/net/wan/pci200syn.c pci_module_init to pci_register_driver conversion

Krzysztof Halasa <[email protected]> writes:

> Ok. Rozumiem, ze Jeff zrobi to w jednym, duzym batchu?

Oops, hit the wrong key.

Ok WRT both patches and assume Jeff will apply this all-at-once.
--
Krzysztof Halasa

2006-08-19 02:03:28

by Patro, Sumant

[permalink] [raw]
Subject: RE: [RFC][PATCH 39/75] scsi: drivers/scsi/megaraid/megaraid_sas.c pci_module_init to pci_register_driver conversion

Ack.

Thank you.

--Sumant

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Michal
Piotrowski
Sent: Thursday, August 17, 2006 6:28 AM
To: Bagalkote, Sreenivas
Cc: [email protected]; [email protected]
Subject: [RFC][PATCH 39/75] scsi: drivers/scsi/megaraid/megaraid_sas.c
pci_module_init to pci_register_driver conversion


Signed-off-by: Michal Piotrowski <[email protected]>

diff -uprN -X linux-work/Documentation/dontdiff
linux-work-clean/drivers/scsi/megaraid/megaraid_sas.c
linux-work2/drivers/scsi/megaraid/megaraid_sas.c
--- linux-work-clean/drivers/scsi/megaraid/megaraid_sas.c
2006-08-16 22:41:01.000000000 +0200
+++ linux-work2/drivers/scsi/megaraid/megaraid_sas.c 2006-08-17
05:21:09.000000000 +0200
@@ -2854,7 +2854,7 @@ static int __init megasas_init(void)
/*
* Register ourselves as PCI hotplug module
*/
- rval = pci_module_init(&megasas_pci_driver);
+ rval = pci_register_driver(&megasas_pci_driver);

if (rval) {
printk(KERN_DEBUG "megasas: PCI hotplug regisration
failed \n");