Browse Source

Automatically updated with

perl -pi -0777 -e 's/^static struct \w+_driver (\w+) =\s*(\w+_DRIVER \()/${2} ${1},/msg' *.c
tags/v0.9.3
Michael Brown 19 years ago
parent
commit
7e534b585f

+ 1
- 2
src/drivers/net/3c509-eisa.c View File

@@ -31,8 +31,7 @@ static struct eisa_id el3_eisa_adapters[] = {
31 31
 	{ "3Com 3c509 EtherLink III (EISA)", MFG_ID, PROD_ID },
32 32
 };
33 33
 
34
-static struct eisa_driver el3_eisa_driver =
35
-	EISA_DRIVER ( el3_eisa_adapters );
34
+EISA_DRIVER ( el3_eisa_driver, el3_eisa_adapters );
36 35
 
37 36
 DRIVER ( "3c509 (EISA)", nic_driver, eisa_driver, el3_eisa_driver,
38 37
 	 el3_eisa_probe, el3_eisa_disable );

+ 1
- 2
src/drivers/net/3c515.c View File

@@ -762,8 +762,7 @@ static struct isapnp_id t515_adapters[] = {
762 762
 	{ "3c515 (ISAPnP)", ISAPNP_VENDOR('T','C','M'), 0x5051 },
763 763
 };
764 764
 
765
-static struct isapnp_driver t515_driver =
766
-	ISAPNP_DRIVER ( t515_adapters );
765
+ISAPNP_DRIVER ( t515_driver, t515_adapters );
767 766
 
768 767
 DRIVER ( "3c515", nic_driver, isapnp_driver, t515_driver,
769 768
 	 t515_probe, t515_disable );

+ 1
- 2
src/drivers/net/3c529.c View File

@@ -45,8 +45,7 @@ static struct mca_id el3_mca_adapters[] = {
45 45
         { "3Com 3c529 EtherLink III (TP)", 0x62f7 },
46 46
 };
47 47
 
48
-static struct mca_driver t529_driver
49
-	= MCA_DRIVER ( el3_mca_adapters );
48
+MCA_DRIVER ( t529_driver, el3_mca_adapters );
50 49
 
51 50
 DRIVER ( "3c529", nic_driver, mca_driver, t529_driver,
52 51
 	 t529_probe, t529_disable );

+ 1
- 2
src/drivers/net/3c595.c View File

@@ -539,8 +539,7 @@ PCI_ROM(0x10b7, 0x7646, "3csoho100-tx-1",  "3CSOHO100-TX"),	/* Hurricane */
539 539
 PCI_ROM(0x10b7, 0x4500, "3c450-1",         "3Com450 HomePNA Tornado"),
540 540
 };
541 541
 
542
-static struct pci_driver t595_driver =
543
-	PCI_DRIVER ( t595_nics, PCI_NO_CLASS );
542
+PCI_DRIVER ( t595_driver, t595_nics, PCI_NO_CLASS );
544 543
 
545 544
 DRIVER ( "3C595", nic_driver, pci_driver, t595_driver,
546 545
 	 t595_probe, t595_disable );

+ 1
- 2
src/drivers/net/3c90x.c View File

@@ -992,8 +992,7 @@ PCI_ROM(0x10b7, 0x1201, "3c982a",        "3Com982A"),
992 992
 PCI_ROM(0x10b7, 0x1202, "3c982b",        "3Com982B"),
993 993
 };
994 994
 
995
-static struct pci_driver a3c90x_driver =
996
-	PCI_DRIVER ( a3c90x_nics, PCI_NO_CLASS );
995
+PCI_DRIVER ( a3c90x_driver, a3c90x_nics, PCI_NO_CLASS );
997 996
 
998 997
 DRIVER ( "3C90X", nic_driver, pci_driver, a3c90x_driver,
999 998
 	 a3c90x_probe, a3c90x_disable );

+ 2
- 3
src/drivers/net/cs89x0.c View File

@@ -696,9 +696,8 @@ static isa_probe_addr_t cs89x0_probe_addrs[] = {
696 696
 #endif
697 697
 };
698 698
 
699
-static struct isa_driver cs89x0_driver =
700
-	ISA_DRIVER ( cs89x0_probe_addrs, cs89x0_probe_addr,
701
-		     ISAPNP_VENDOR('C','S','C'), 0x0007 );
699
+ISA_DRIVER ( cs89x0_driver, cs89x0_probe_addrs, cs89x0_probe_addr,
700
+	     ISAPNP_VENDOR('C','S','C'), 0x0007 );
702 701
 
703 702
 DRIVER ( "cs89x0", nic_driver, isa_driver, cs89x0_driver,
704 703
 	 cs89x0_probe, cs89x0_disable );

+ 1
- 2
src/drivers/net/davicom.c View File

@@ -713,8 +713,7 @@ PCI_ROM(0x1282, 0x9009, "davicom9009", "Davicom 9009"),
713 713
 PCI_ROM(0x1282, 0x9132, "davicom9132", "Davicom 9132"),	/* Needs probably some fixing */
714 714
 };
715 715
 
716
-static struct pci_driver davicom_driver =
717
-	PCI_DRIVER ( davicom_nics, PCI_NO_CLASS );
716
+PCI_DRIVER ( davicom_driver, davicom_nics, PCI_NO_CLASS );
718 717
 
719 718
 DRIVER ( "DAVICOM", nic_driver, pci_driver, davicom_driver,
720 719
 	 davicom_probe, davicom_disable );

+ 1
- 2
src/drivers/net/depca.c View File

@@ -793,8 +793,7 @@ static isa_probe_addr_t depca_probe_addrs[] = {
793 793
 	0x300, 0x200,
794 794
 };
795 795
 
796
-static struct isa_driver depca_driver =
797
-	ISA_DRIVER ( depca_probe_addrs, depca_probe1,
796
+ISA_DRIVER ( depca_driver, depca_probe_addrs, depca_probe1,
798 797
 		     GENERIC_ISAPNP_VENDOR, 0x80f7 );
799 798
 
800 799
 DRIVER ( "depce", nic_driver, isa_driver, depca_driver,

+ 1
- 2
src/drivers/net/dmfe.c View File

@@ -1224,8 +1224,7 @@ static struct pci_id dmfe_nics[] = {
1224 1224
 	PCI_ROM(0x1282, 0x9132, "dmfe9132", "Davicom 9132"),	/* Needs probably some fixing */
1225 1225
 };
1226 1226
 
1227
-static struct pci_driver dmfe_driver =
1228
-	PCI_DRIVER ( dmfe_nics, PCI_NO_CLASS );
1227
+PCI_DRIVER ( dmfe_driver, dmfe_nics, PCI_NO_CLASS );
1229 1228
 
1230 1229
 DRIVER ( "DMFE/PCI", nic_driver, pci_driver, dmfe_driver,
1231 1230
 	 dmfe_probe, dmfe_disable );

+ 1
- 2
src/drivers/net/e1000.c View File

@@ -3706,8 +3706,7 @@ PCI_ROM(0x8086, 0x107a, "e1000-82546gb-fiber",	     "Intel EtherExpressPro1000 8
3706 3706
 PCI_ROM(0x8086, 0x107b, "e1000-82546gb-serdes",	     "Intel EtherExpressPro1000 82546GB SERDES"),
3707 3707
 };
3708 3708
 
3709
-static struct pci_driver e1000_driver =
3710
-	PCI_DRIVER ( e1000_nics, PCI_NO_CLASS );
3709
+PCI_DRIVER ( e1000_driver, e1000_nics, PCI_NO_CLASS );
3711 3710
 
3712 3711
 DRIVER ( "E1000", nic_driver, pci_driver, e1000_driver,
3713 3712
 	 e1000_probe, e1000_disable );

+ 2
- 3
src/drivers/net/eepro.c View File

@@ -584,7 +584,7 @@ static int eepro_probe ( struct nic *nic, struct isa_device *isa ) {
584 584
 	for (i = 0; i < ETH_ALEN; i++) {
585 585
 		nic->node_addr[i] = station_addr.caddr[i];
586 586
 	}
587
-	DBG("%s ioaddr %#hX, addr %!", dev->name, nic->ioaddr, nic->node_addr);
587
+	DBG("%s ioaddr %#hX, addr %!", isa->name, nic->ioaddr, nic->node_addr);
588 588
 	mem_start = RCV_LOWER_LIMIT << 8;
589 589
 	if ((mem_end & 0x3F) < 3 || (mem_end & 0x3F) > 29)
590 590
 		mem_end = RCV_UPPER_LIMIT << 8;
@@ -606,8 +606,7 @@ static isa_probe_addr_t eepro_probe_addrs[] = {
606 606
 	0x300, 0x210, 0x240, 0x280, 0x2C0, 0x200, 0x320, 0x340, 0x360,
607 607
 };
608 608
 
609
-static struct isa_driver eepro_driver =
610
-	ISA_DRIVER ( eepro_probe_addrs, eepro_probe1,
609
+ISA_DRIVER ( eepro_driver, eepro_probe_addrs, eepro_probe1,
611 610
 		     GENERIC_ISAPNP_VENDOR, 0x828a );
612 611
 
613 612
 DRIVER ( "eepro", nic_driver, isa_driver, eepro_driver,

+ 1
- 2
src/drivers/net/eepro100.c View File

@@ -832,8 +832,7 @@ PCI_ROM(0x8086, 0x5201, "eepro100-5201", "Intel EtherExpress PRO/100 Intelligent
832 832
  * 2003/03/17 gbaum */
833 833
 
834 834
 
835
-static struct pci_driver eepro100_driver =
836
-	PCI_DRIVER ( eepro100_nics, PCI_NO_CLASS );
835
+PCI_DRIVER ( eepro100_driver, eepro100_nics, PCI_NO_CLASS );
837 836
 
838 837
 DRIVER ( "EEPRO100", nic_driver, pci_driver, eepro100_driver,
839 838
 	 eepro100_probe, eepro100_disable );

+ 1
- 2
src/drivers/net/epic100.c View File

@@ -516,8 +516,7 @@ PCI_ROM(0x10b8, 0x0005, "epic100",    "SMC EtherPowerII"),		/* SMC 83c170 EPIC/1
516 516
 PCI_ROM(0x10b8, 0x0006, "smc-83c175", "SMC EPIC/C 83c175"),
517 517
 };
518 518
 
519
-static struct pci_driver epic100_driver =
520
-	PCI_DRIVER ( epic100_nics, PCI_NO_CLASS );
519
+PCI_DRIVER ( epic100_driver, epic100_nics, PCI_NO_CLASS );
521 520
 
522 521
 DRIVER ( "EPIC100", nic_driver, pci_driver, epic100_driver,
523 522
 	 epic100_probe, epic100_disable );

+ 1
- 2
src/drivers/net/forcedeth.c View File

@@ -932,8 +932,7 @@ static struct pci_id forcedeth_nics[] = {
932 932
 	PCI_ROM(0x10de, 0x00D6, "nforce3", "nForce3 Ethernet Controller"),
933 933
 };
934 934
 
935
-static struct pci_driver forcedeth_driver =
936
-	PCI_DRIVER ( forcedeth_nics, PCI_NO_CLASS );
935
+PCI_DRIVER ( forcedeth_driver, forcedeth_nics, PCI_NO_CLASS );
937 936
 
938 937
 /**************************************************************************
939 938
 PROBE - Look for an adapter, this routine's visible to the outside

+ 1
- 2
src/drivers/net/mtd80x.c View File

@@ -668,8 +668,7 @@ static struct pci_id mtd80x_nics[] = {
668 668
         PCI_ROM(0x1516, 0x0891, "MTD891", "Myson MTD891"),
669 669
 };
670 670
 
671
-static struct pci_driver mtd80x_driver =
672
-	PCI_DRIVER ( mtd80x_nics, PCI_NO_CLASS );
671
+PCI_DRIVER ( mtd80x_driver, mtd80x_nics, PCI_NO_CLASS );
673 672
 
674 673
 /**************************************************************************
675 674
 PROBE - Look for an adapter, this routine's visible to the outside

+ 1
- 2
src/drivers/net/natsemi.c View File

@@ -776,8 +776,7 @@ static struct pci_id natsemi_nics[] = {
776 776
 PCI_ROM(0x100b, 0x0020, "dp83815", "DP83815"),
777 777
 };
778 778
 
779
-static struct pci_driver natsemi_driver =
780
-	PCI_DRIVER ( natsemi_nics, PCI_NO_CLASS );
779
+PCI_DRIVER ( natsemi_driver, natsemi_nics, PCI_NO_CLASS );
781 780
 
782 781
 DRIVER ( "NATSEMI", nic_driver, pci_driver, natsemi_driver,
783 782
 	 natsemi_probe, natsemi_disable );

+ 1
- 2
src/drivers/net/ns83820.c View File

@@ -817,8 +817,7 @@ static struct pci_id ns83820_nics[] = {
817 817
 	PCI_ROM(0x100b, 0x0022, "ns83820", "National Semiconductor 83820"),
818 818
 };
819 819
 
820
-static struct pci_driver ns83820_driver =
821
-	PCI_DRIVER ( ns83820_nics, PCI_NO_CLASS );
820
+PCI_DRIVER ( ns83820_driver, ns83820_nics, PCI_NO_CLASS );
822 821
 
823 822
 /**************************************************************************
824 823
 PROBE - Look for an adapter, this routine's visible to the outside

+ 1
- 2
src/drivers/net/ns8390.c View File

@@ -1006,8 +1006,7 @@ PCI_ROM(0x10bd, 0x0e34, "surecom-ne34", "Surecom NE34"),
1006 1006
 PCI_ROM(0x1106, 0x0926, "via86c926",    "Via 86c926"),
1007 1007
 };
1008 1008
 
1009
-static struct pci_driver nepci_driver =
1010
-	PCI_DRIVER ( "NE2000/PCI", nepci_nics, PCI_NO_CLASS );
1009
+PCI_DRIVER ( nepci_driver, "NE2000/PCI", nepci_nics, PCI_NO_CLASS );
1011 1010
 
1012 1011
 BOOT_DRIVER ( "NE2000/PCI", nepci_probe );
1013 1012
 

+ 1
- 2
src/drivers/net/pcnet32.c View File

@@ -1000,8 +1000,7 @@ static struct pci_id pcnet32_nics[] = {
1000 1000
 	PCI_ROM(0x1022, 0x2001, "amdhomepna", "AMD Lance/HomePNA"),
1001 1001
 };
1002 1002
 
1003
-static struct pci_driver pcnet32_driver =
1004
-	PCI_DRIVER ( pcnet32_nics, PCI_NO_CLASS );
1003
+PCI_DRIVER ( pcnet32_driver, pcnet32_nics, PCI_NO_CLASS );
1005 1004
 
1006 1005
 DRIVER ( "PCNET32/PCI", nic_driver, pci_driver, pcnet32_driver,
1007 1006
 	 pcnet32_probe, pcnet32_disable );

+ 1
- 2
src/drivers/net/pnic.c View File

@@ -246,8 +246,7 @@ static struct pci_id pnic_nics[] = {
246 246
 PCI_ROM ( 0xfefe, 0xefef, "pnic", "Bochs Pseudo NIC Adaptor" ),
247 247
 };
248 248
 
249
-static struct pci_driver pnic_driver =
250
-	PCI_DRIVER ( pnic_nics, PCI_NO_CLASS );
249
+PCI_DRIVER ( pnic_driver, pnic_nics, PCI_NO_CLASS );
251 250
 
252 251
 DRIVER ( "PNIC", nic_driver, pci_driver, pnic_driver,
253 252
 	 pnic_probe, pnic_disable );

+ 1
- 2
src/drivers/net/prism2_pci.c View File

@@ -45,8 +45,7 @@ PCI_ROM(0x1260, 0x3873, "hwp01170",	"ActionTec HWP01170"),
45 45
 PCI_ROM(0x1260, 0x3873, "dwl520",	"DLink DWL-520"),
46 46
 };
47 47
 
48
-static struct pci_driver prism2_pci_driver =
49
-	PCI_DRIVER ( prism2_pci_nics, PCI_NO_CLASS );
48
+PCI_DRIVER ( prism2_pci_driver, prism2_pci_nics, PCI_NO_CLASS );
50 49
 
51 50
 DRIVER ( "Prism2/PCI", nic_driver, pci_driver, prism2_pci_driver,
52 51
 	 prism2_pci_probe, prism2_pci_disable );

+ 1
- 2
src/drivers/net/prism2_plx.c View File

@@ -109,8 +109,7 @@ PCI_ROM(0xec80, 0xec00, "f5d6000",       "Belkin F5D6000"),
109 109
 PCI_ROM(0x126c, 0x8030, "emobility",     "Nortel emobility"),
110 110
 };
111 111
 
112
-static struct pci_driver prism2_plx_driver =
113
-	PCI_DRIVER ( prism2_plx_nics, PCI_NO_CLASS );
112
+PCI_DRIVER ( prism2_plx_driver, prism2_plx_nics, PCI_NO_CLASS );
114 113
 
115 114
 
116 115
 DRIVER ( "Prism2/PLX", nic_driver, pci_driver, prism2_plx_driver,

+ 1
- 2
src/drivers/net/r8169.c View File

@@ -714,8 +714,7 @@ static struct pci_id r8169_nics[] = {
714 714
 	PCI_ROM(0x10ec, 0x8169, "r8169", "RealTek RTL8169 Gigabit Ethernet"),
715 715
 };
716 716
 
717
-static struct pci_driver r8169_driver =
718
-	PCI_DRIVER ( r8169_nics, PCI_NO_CLASS );
717
+PCI_DRIVER ( r8169_driver, r8169_nics, PCI_NO_CLASS );
719 718
 
720 719
 /**************************************************************************
721 720
 PROBE - Look for an adapter, this routine's visible to the outside

+ 1
- 2
src/drivers/net/rtl8139.c View File

@@ -541,8 +541,7 @@ PCI_ROM(0x14ea, 0xab07, "fnw3800tx",     "Planex FNW-3800-TX"),
541 541
 PCI_ROM(0xffff, 0x8139, "clone-rtl8139", "Cloned 8139"),
542 542
 };
543 543
 
544
-static struct pci_driver rtl8139_driver =
545
-	PCI_DRIVER ( rtl8139_nics, PCI_NO_CLASS );
544
+PCI_DRIVER ( rtl8139_driver, rtl8139_nics, PCI_NO_CLASS );
546 545
 
547 546
 DRIVER ( "RTL8139", nic_driver, pci_driver, rtl8139_driver,
548 547
 	 rtl8139_probe, rtl_disable );

+ 2
- 4
src/drivers/net/sis900.c View File

@@ -120,8 +120,7 @@ static struct pci_id   pci_isa_bridge_list[] = {
120 120
 		"SIS 85C503/5513 PCI to ISA bridge"},
121 121
 };
122 122
 
123
-static struct pci_driver sis_bridge_pci_driver =
124
-	PCI_DRIVER ( pci_isa_bridge_list, PCI_NO_CLASS );
123
+PCI_DRIVER ( sis_bridge_pci_driver, pci_isa_bridge_list, PCI_NO_CLASS );
125 124
 
126 125
 static struct device_driver sis_bridge_driver = {
127 126
     .name = "SIS ISA bridge",
@@ -1266,8 +1265,7 @@ PCI_ROM(0x1039, 0x0900, "sis900",  "SIS900"),
1266 1265
 PCI_ROM(0x1039, 0x7016, "sis7016", "SIS7016"),
1267 1266
 };
1268 1267
 
1269
-static struct pci_driver sis900_driver =
1270
-	PCI_DRIVER ( sis900_nics, PCI_NO_CLASS );
1268
+PCI_DRIVER ( sis900_driver, sis900_nics, PCI_NO_CLASS );
1271 1269
 
1272 1270
 DRIVER ( "SIS900", nic_driver, pci_driver, sis900_driver,
1273 1271
 	 sis900_probe, sis900_disable );

+ 5
- 10
src/drivers/net/skel.c View File

@@ -200,8 +200,7 @@ static struct pci_id skel_pci_nics[] = {
200 200
 PCI_ROM ( 0x0000, 0x0000, "skel-pci", "Skeleton PCI Adapter" ),
201 201
 };
202 202
 
203
-static struct pci_driver skel_pci_driver =
204
-	PCI_DRIVER ( skel_pci_nics, PCI_NO_CLASS );
203
+PCI_DRIVER ( skel_pci_driver, skel_pci_nics, PCI_NO_CLASS );
205 204
 
206 205
 DRIVER ( "SKEL/PCI", nic_driver, pci_driver, skel_pci_driver,
207 206
 	 skel_pci_probe, skel_pci_disable );
@@ -241,8 +240,7 @@ static struct eisa_id skel_eisa_nics[] = {
241 240
 	{ "Skeleton EISA Adapter", EISA_VENDOR('S','K','L'), 0x0000 },
242 241
 };
243 242
 
244
-static struct eisa_driver skel_eisa_driver =
245
-	EISA_DRIVER ( skel_eisa_nics );
243
+EISA_DRIVER ( skel_eisa_driver, skel_eisa_nics );
246 244
 
247 245
 DRIVER ( "SKEL/EISA", nic_driver, eisa_driver, skel_eisa_driver,
248 246
 	 skel_eisa_probe, skel_eisa_disable );
@@ -284,8 +282,7 @@ static struct isapnp_id skel_isapnp_nics[] = {
284 282
 	{ "Skeleton ISAPnP Adapter", ISAPNP_VENDOR('S','K','L'), 0x0000 },
285 283
 };
286 284
 
287
-static struct isapnp_driver skel_isapnp_driver =
288
-	ISAPNP_DRIVER ( skel_isapnp_nics );
285
+ISAPNP_DRIVER ( skel_isapnp_driver, skel_isapnp_nics );
289 286
 
290 287
 DRIVER ( "SKEL/ISAPnP", nic_driver, isapnp_driver, skel_isapnp_driver,
291 288
 	 skel_isapnp_probe, skel_isapnp_disable );
@@ -331,8 +328,7 @@ static struct mca_id skel_mca_nics[] = {
331 328
 	{ "Skeleton MCA Adapter", 0x0000 },
332 329
 };
333 330
 
334
-static struct mca_driver skel_mca_driver =
335
-	MCA_DRIVER ( skel_mca_nics );
331
+MCA_DRIVER ( skel_mca_driver, skel_mca_nics );
336 332
 
337 333
 DRIVER ( "SKEL/MCA", nic_driver, mca_driver, skel_mca_driver,
338 334
 	 skel_mca_probe, skel_mca_disable );
@@ -394,8 +390,7 @@ static isa_probe_addr_t skel_isa_probe_addrs[] = {
394 390
 	*/
395 391
 };
396 392
 
397
-static struct isa_driver skel_isa_driver =
398
-	ISA_DRIVER ( skel_isa_probe_addrs, skel_isa_probe_addr,
393
+ISA_DRIVER ( skel_isa_driver, skel_isa_probe_addrs, skel_isa_probe_addr,
399 394
 		     ISA_VENDOR('S','K','L'), 0x0000 );
400 395
 
401 396
 DRIVER ( "SKEL/ISA", nic_driver, isa_driver, skel_isa_driver,

+ 1
- 2
src/drivers/net/smc9000.c View File

@@ -490,8 +490,7 @@ static isa_probe_addr_t smc9000_probe_addrs[] = {
490 490
    0x300, 0x320, 0x340, 0x360, 0x380, 0x3A0, 0x3C0, 0x3E0,
491 491
 };
492 492
 
493
-static struct isa_driver smc9000_driver =
494
-	ISA_DRIVER ( smc9000_probe_addrs, smc9000_probe_addr,
493
+ISA_DRIVER ( smc9000_driver, smc9000_probe_addrs, smc9000_probe_addr,
495 494
 		     GENERIC_ISAPNP_VENDOR, 0x8228 );
496 495
 
497 496
 DRIVER ( "SMC9000", nic_driver, isa_driver, smc9000_driver,

+ 1
- 2
src/drivers/net/sundance.c View File

@@ -884,8 +884,7 @@ static struct pci_id sundance_nics[] = {
884 884
 	PCI_ROM(0x1186, 0x1002, "dfe530txs", "D-Link DFE530TXS (Sundance ST201 Alta)"),
885 885
 };
886 886
 
887
-static struct pci_driver sundance_driver =
888
-	PCI_DRIVER ( sundance_nics, PCI_NO_CLASS );
887
+PCI_DRIVER ( sundance_driver, sundance_nics, PCI_NO_CLASS );
889 888
 
890 889
 DRIVER ( "SUNDANCE/PCI", nic_driver, pci_driver, sundance_driver,
891 890
 	 sundance_probe, sundance_disable );

+ 1
- 2
src/drivers/net/tg3.c View File

@@ -3384,8 +3384,7 @@ PCI_ROM(0x173b, 0x03ea, "tg3-ac9100",      "Altima AC9100"),
3384 3384
 PCI_ROM(0x173b, 0x03eb, "tg3-ac1003",      "Altima AC1003"),
3385 3385
 };
3386 3386
 
3387
-static struct pci_driver tg3_driver =
3388
-	PCI_DRIVER ( tg3_nics, PCI_NO_CLASS );
3387
+PCI_DRIVER ( tg3_driver, tg3_nics, PCI_NO_CLASS );
3389 3388
 
3390 3389
 DRIVER ( "TG3", nic_driver, pci_driver, tg3_driver,
3391 3390
 	 tg3_probe, tg3_disable );

+ 1
- 2
src/drivers/net/tlan.c View File

@@ -1715,8 +1715,7 @@ static struct pci_id tlan_nics[] = {
1715 1715
 	PCI_ROM(0x0e11, 0xb012, "netelligent_10_t2", "Compaq Netelligent 10 T/2 PCI UTP/Coax"),
1716 1716
 };
1717 1717
 
1718
-static struct pci_driver tlan_driver =
1719
-	PCI_DRIVER ( tlan_nics, PCI_NO_CLASS );
1718
+PCI_DRIVER ( tlan_driver, tlan_nics, PCI_NO_CLASS );
1720 1719
 
1721 1720
 DRIVER ( "TLAN/PCI", nic_driver, pci_driver, tlan_driver,
1722 1721
 	 tlan_probe, tlan_disable );

+ 1
- 2
src/drivers/net/tulip.c View File

@@ -2075,8 +2075,7 @@ PCI_ROM(0x1737, 0xab08, "tulip-1737-ab08","Tulip 0x1737 0xab08"),
2075 2075
 PCI_ROM(0x1737, 0xab09, "tulip-ab09",  "Tulip 0x1737 0xab09"),
2076 2076
 };
2077 2077
 
2078
-static struct pci_driver tulip_driver =
2079
-	PCI_DRIVER ( tulip_nics, PCI_NO_CLASS );
2078
+PCI_DRIVER ( tulip_driver, tulip_nics, PCI_NO_CLASS );
2080 2079
 
2081 2080
 DRIVER ( "Tulip", nic_driver, pci_driver, tulip_driver,
2082 2081
 	 tulip_probe, tulip_disable );

+ 1
- 2
src/drivers/net/via-rhine.c View File

@@ -1419,8 +1419,7 @@ PCI_ROM(0x1106, 0x3053, "via6105m",        "VIA 6105M"),
1419 1419
 PCI_ROM(0x1106, 0x6100, "via-rhine-old",   "VIA 86C100A"),	/* Rhine-II */
1420 1420
 };
1421 1421
 
1422
-static struct pci_driver rhine_driver =
1423
-	PCI_DRIVER ( rhine_nics, PCI_NO_CLASS );
1422
+PCI_DRIVER ( rhine_driver, rhine_nics, PCI_NO_CLASS );
1424 1423
 
1425 1424
 DRIVER ( "VIA 86C100", nic_driver, pci_driver, rhine_driver,
1426 1425
 	 rhine_probe, rhine_disable );

+ 1
- 2
src/drivers/net/w89c840.c View File

@@ -618,8 +618,7 @@ PCI_ROM(0x1050, 0x0840, "winbond840",     "Winbond W89C840F"),
618 618
 PCI_ROM(0x11f6, 0x2011, "compexrl100atx", "Compex RL100ATX"),
619 619
 };
620 620
 
621
-static struct pci_driver w89c840_driver =
622
-	PCI_DRIVER ( w89c840_nics, PCI_NO_CLASS );
621
+PCI_DRIVER ( w89c840_driver, w89c840_nics, PCI_NO_CLASS );
623 622
 
624 623
 /**************************************************************************
625 624
 w89c840_probe - Look for an adapter, this routine's visible to the outside

Loading…
Cancel
Save