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
 	{ "3Com 3c509 EtherLink III (EISA)", MFG_ID, PROD_ID },
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
 DRIVER ( "3c509 (EISA)", nic_driver, eisa_driver, el3_eisa_driver,
36
 DRIVER ( "3c509 (EISA)", nic_driver, eisa_driver, el3_eisa_driver,
38
 	 el3_eisa_probe, el3_eisa_disable );
37
 	 el3_eisa_probe, el3_eisa_disable );

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

762
 	{ "3c515 (ISAPnP)", ISAPNP_VENDOR('T','C','M'), 0x5051 },
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
 DRIVER ( "3c515", nic_driver, isapnp_driver, t515_driver,
767
 DRIVER ( "3c515", nic_driver, isapnp_driver, t515_driver,
769
 	 t515_probe, t515_disable );
768
 	 t515_probe, t515_disable );

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

45
         { "3Com 3c529 EtherLink III (TP)", 0x62f7 },
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
 DRIVER ( "3c529", nic_driver, mca_driver, t529_driver,
50
 DRIVER ( "3c529", nic_driver, mca_driver, t529_driver,
52
 	 t529_probe, t529_disable );
51
 	 t529_probe, t529_disable );

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

539
 PCI_ROM(0x10b7, 0x4500, "3c450-1",         "3Com450 HomePNA Tornado"),
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
 DRIVER ( "3C595", nic_driver, pci_driver, t595_driver,
544
 DRIVER ( "3C595", nic_driver, pci_driver, t595_driver,
546
 	 t595_probe, t595_disable );
545
 	 t595_probe, t595_disable );

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

992
 PCI_ROM(0x10b7, 0x1202, "3c982b",        "3Com982B"),
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
 DRIVER ( "3C90X", nic_driver, pci_driver, a3c90x_driver,
997
 DRIVER ( "3C90X", nic_driver, pci_driver, a3c90x_driver,
999
 	 a3c90x_probe, a3c90x_disable );
998
 	 a3c90x_probe, a3c90x_disable );

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

696
 #endif
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
 DRIVER ( "cs89x0", nic_driver, isa_driver, cs89x0_driver,
702
 DRIVER ( "cs89x0", nic_driver, isa_driver, cs89x0_driver,
704
 	 cs89x0_probe, cs89x0_disable );
703
 	 cs89x0_probe, cs89x0_disable );

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

713
 PCI_ROM(0x1282, 0x9132, "davicom9132", "Davicom 9132"),	/* Needs probably some fixing */
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
 DRIVER ( "DAVICOM", nic_driver, pci_driver, davicom_driver,
718
 DRIVER ( "DAVICOM", nic_driver, pci_driver, davicom_driver,
720
 	 davicom_probe, davicom_disable );
719
 	 davicom_probe, davicom_disable );

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

793
 	0x300, 0x200,
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
 		     GENERIC_ISAPNP_VENDOR, 0x80f7 );
797
 		     GENERIC_ISAPNP_VENDOR, 0x80f7 );
799
 
798
 
800
 DRIVER ( "depce", nic_driver, isa_driver, depca_driver,
799
 DRIVER ( "depce", nic_driver, isa_driver, depca_driver,

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

1224
 	PCI_ROM(0x1282, 0x9132, "dmfe9132", "Davicom 9132"),	/* Needs probably some fixing */
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
 DRIVER ( "DMFE/PCI", nic_driver, pci_driver, dmfe_driver,
1229
 DRIVER ( "DMFE/PCI", nic_driver, pci_driver, dmfe_driver,
1231
 	 dmfe_probe, dmfe_disable );
1230
 	 dmfe_probe, dmfe_disable );

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

3706
 PCI_ROM(0x8086, 0x107b, "e1000-82546gb-serdes",	     "Intel EtherExpressPro1000 82546GB SERDES"),
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
 DRIVER ( "E1000", nic_driver, pci_driver, e1000_driver,
3711
 DRIVER ( "E1000", nic_driver, pci_driver, e1000_driver,
3713
 	 e1000_probe, e1000_disable );
3712
 	 e1000_probe, e1000_disable );

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

584
 	for (i = 0; i < ETH_ALEN; i++) {
584
 	for (i = 0; i < ETH_ALEN; i++) {
585
 		nic->node_addr[i] = station_addr.caddr[i];
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
 	mem_start = RCV_LOWER_LIMIT << 8;
588
 	mem_start = RCV_LOWER_LIMIT << 8;
589
 	if ((mem_end & 0x3F) < 3 || (mem_end & 0x3F) > 29)
589
 	if ((mem_end & 0x3F) < 3 || (mem_end & 0x3F) > 29)
590
 		mem_end = RCV_UPPER_LIMIT << 8;
590
 		mem_end = RCV_UPPER_LIMIT << 8;
606
 	0x300, 0x210, 0x240, 0x280, 0x2C0, 0x200, 0x320, 0x340, 0x360,
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
 		     GENERIC_ISAPNP_VENDOR, 0x828a );
610
 		     GENERIC_ISAPNP_VENDOR, 0x828a );
612
 
611
 
613
 DRIVER ( "eepro", nic_driver, isa_driver, eepro_driver,
612
 DRIVER ( "eepro", nic_driver, isa_driver, eepro_driver,

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

832
  * 2003/03/17 gbaum */
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
 DRIVER ( "EEPRO100", nic_driver, pci_driver, eepro100_driver,
837
 DRIVER ( "EEPRO100", nic_driver, pci_driver, eepro100_driver,
839
 	 eepro100_probe, eepro100_disable );
838
 	 eepro100_probe, eepro100_disable );

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

516
 PCI_ROM(0x10b8, 0x0006, "smc-83c175", "SMC EPIC/C 83c175"),
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
 DRIVER ( "EPIC100", nic_driver, pci_driver, epic100_driver,
521
 DRIVER ( "EPIC100", nic_driver, pci_driver, epic100_driver,
523
 	 epic100_probe, epic100_disable );
522
 	 epic100_probe, epic100_disable );

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

932
 	PCI_ROM(0x10de, 0x00D6, "nforce3", "nForce3 Ethernet Controller"),
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
 PROBE - Look for an adapter, this routine's visible to the outside
938
 PROBE - Look for an adapter, this routine's visible to the outside

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

668
         PCI_ROM(0x1516, 0x0891, "MTD891", "Myson MTD891"),
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
 PROBE - Look for an adapter, this routine's visible to the outside
674
 PROBE - Look for an adapter, this routine's visible to the outside

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

776
 PCI_ROM(0x100b, 0x0020, "dp83815", "DP83815"),
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
 DRIVER ( "NATSEMI", nic_driver, pci_driver, natsemi_driver,
781
 DRIVER ( "NATSEMI", nic_driver, pci_driver, natsemi_driver,
783
 	 natsemi_probe, natsemi_disable );
782
 	 natsemi_probe, natsemi_disable );

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

817
 	PCI_ROM(0x100b, 0x0022, "ns83820", "National Semiconductor 83820"),
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
 PROBE - Look for an adapter, this routine's visible to the outside
823
 PROBE - Look for an adapter, this routine's visible to the outside

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

1006
 PCI_ROM(0x1106, 0x0926, "via86c926",    "Via 86c926"),
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
 BOOT_DRIVER ( "NE2000/PCI", nepci_probe );
1011
 BOOT_DRIVER ( "NE2000/PCI", nepci_probe );
1013
 
1012
 

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

1000
 	PCI_ROM(0x1022, 0x2001, "amdhomepna", "AMD Lance/HomePNA"),
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
 DRIVER ( "PCNET32/PCI", nic_driver, pci_driver, pcnet32_driver,
1005
 DRIVER ( "PCNET32/PCI", nic_driver, pci_driver, pcnet32_driver,
1007
 	 pcnet32_probe, pcnet32_disable );
1006
 	 pcnet32_probe, pcnet32_disable );

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

246
 PCI_ROM ( 0xfefe, 0xefef, "pnic", "Bochs Pseudo NIC Adaptor" ),
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
 DRIVER ( "PNIC", nic_driver, pci_driver, pnic_driver,
251
 DRIVER ( "PNIC", nic_driver, pci_driver, pnic_driver,
253
 	 pnic_probe, pnic_disable );
252
 	 pnic_probe, pnic_disable );

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

45
 PCI_ROM(0x1260, 0x3873, "dwl520",	"DLink DWL-520"),
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
 DRIVER ( "Prism2/PCI", nic_driver, pci_driver, prism2_pci_driver,
50
 DRIVER ( "Prism2/PCI", nic_driver, pci_driver, prism2_pci_driver,
52
 	 prism2_pci_probe, prism2_pci_disable );
51
 	 prism2_pci_probe, prism2_pci_disable );

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

109
 PCI_ROM(0x126c, 0x8030, "emobility",     "Nortel emobility"),
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
 DRIVER ( "Prism2/PLX", nic_driver, pci_driver, prism2_plx_driver,
115
 DRIVER ( "Prism2/PLX", nic_driver, pci_driver, prism2_plx_driver,

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

714
 	PCI_ROM(0x10ec, 0x8169, "r8169", "RealTek RTL8169 Gigabit Ethernet"),
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
 PROBE - Look for an adapter, this routine's visible to the outside
720
 PROBE - Look for an adapter, this routine's visible to the outside

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

541
 PCI_ROM(0xffff, 0x8139, "clone-rtl8139", "Cloned 8139"),
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
 DRIVER ( "RTL8139", nic_driver, pci_driver, rtl8139_driver,
546
 DRIVER ( "RTL8139", nic_driver, pci_driver, rtl8139_driver,
548
 	 rtl8139_probe, rtl_disable );
547
 	 rtl8139_probe, rtl_disable );

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

120
 		"SIS 85C503/5513 PCI to ISA bridge"},
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
 static struct device_driver sis_bridge_driver = {
125
 static struct device_driver sis_bridge_driver = {
127
     .name = "SIS ISA bridge",
126
     .name = "SIS ISA bridge",
1266
 PCI_ROM(0x1039, 0x7016, "sis7016", "SIS7016"),
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
 DRIVER ( "SIS900", nic_driver, pci_driver, sis900_driver,
1270
 DRIVER ( "SIS900", nic_driver, pci_driver, sis900_driver,
1273
 	 sis900_probe, sis900_disable );
1271
 	 sis900_probe, sis900_disable );

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

200
 PCI_ROM ( 0x0000, 0x0000, "skel-pci", "Skeleton PCI Adapter" ),
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
 DRIVER ( "SKEL/PCI", nic_driver, pci_driver, skel_pci_driver,
205
 DRIVER ( "SKEL/PCI", nic_driver, pci_driver, skel_pci_driver,
207
 	 skel_pci_probe, skel_pci_disable );
206
 	 skel_pci_probe, skel_pci_disable );
241
 	{ "Skeleton EISA Adapter", EISA_VENDOR('S','K','L'), 0x0000 },
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
 DRIVER ( "SKEL/EISA", nic_driver, eisa_driver, skel_eisa_driver,
245
 DRIVER ( "SKEL/EISA", nic_driver, eisa_driver, skel_eisa_driver,
248
 	 skel_eisa_probe, skel_eisa_disable );
246
 	 skel_eisa_probe, skel_eisa_disable );
284
 	{ "Skeleton ISAPnP Adapter", ISAPNP_VENDOR('S','K','L'), 0x0000 },
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
 DRIVER ( "SKEL/ISAPnP", nic_driver, isapnp_driver, skel_isapnp_driver,
287
 DRIVER ( "SKEL/ISAPnP", nic_driver, isapnp_driver, skel_isapnp_driver,
291
 	 skel_isapnp_probe, skel_isapnp_disable );
288
 	 skel_isapnp_probe, skel_isapnp_disable );
331
 	{ "Skeleton MCA Adapter", 0x0000 },
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
 DRIVER ( "SKEL/MCA", nic_driver, mca_driver, skel_mca_driver,
333
 DRIVER ( "SKEL/MCA", nic_driver, mca_driver, skel_mca_driver,
338
 	 skel_mca_probe, skel_mca_disable );
334
 	 skel_mca_probe, skel_mca_disable );
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
 		     ISA_VENDOR('S','K','L'), 0x0000 );
394
 		     ISA_VENDOR('S','K','L'), 0x0000 );
400
 
395
 
401
 DRIVER ( "SKEL/ISA", nic_driver, isa_driver, skel_isa_driver,
396
 DRIVER ( "SKEL/ISA", nic_driver, isa_driver, skel_isa_driver,

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

490
    0x300, 0x320, 0x340, 0x360, 0x380, 0x3A0, 0x3C0, 0x3E0,
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
 		     GENERIC_ISAPNP_VENDOR, 0x8228 );
494
 		     GENERIC_ISAPNP_VENDOR, 0x8228 );
496
 
495
 
497
 DRIVER ( "SMC9000", nic_driver, isa_driver, smc9000_driver,
496
 DRIVER ( "SMC9000", nic_driver, isa_driver, smc9000_driver,

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

884
 	PCI_ROM(0x1186, 0x1002, "dfe530txs", "D-Link DFE530TXS (Sundance ST201 Alta)"),
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
 DRIVER ( "SUNDANCE/PCI", nic_driver, pci_driver, sundance_driver,
889
 DRIVER ( "SUNDANCE/PCI", nic_driver, pci_driver, sundance_driver,
891
 	 sundance_probe, sundance_disable );
890
 	 sundance_probe, sundance_disable );

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

3384
 PCI_ROM(0x173b, 0x03eb, "tg3-ac1003",      "Altima AC1003"),
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
 DRIVER ( "TG3", nic_driver, pci_driver, tg3_driver,
3389
 DRIVER ( "TG3", nic_driver, pci_driver, tg3_driver,
3391
 	 tg3_probe, tg3_disable );
3390
 	 tg3_probe, tg3_disable );

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

1715
 	PCI_ROM(0x0e11, 0xb012, "netelligent_10_t2", "Compaq Netelligent 10 T/2 PCI UTP/Coax"),
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
 DRIVER ( "TLAN/PCI", nic_driver, pci_driver, tlan_driver,
1720
 DRIVER ( "TLAN/PCI", nic_driver, pci_driver, tlan_driver,
1722
 	 tlan_probe, tlan_disable );
1721
 	 tlan_probe, tlan_disable );

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

2075
 PCI_ROM(0x1737, 0xab09, "tulip-ab09",  "Tulip 0x1737 0xab09"),
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
 DRIVER ( "Tulip", nic_driver, pci_driver, tulip_driver,
2080
 DRIVER ( "Tulip", nic_driver, pci_driver, tulip_driver,
2082
 	 tulip_probe, tulip_disable );
2081
 	 tulip_probe, tulip_disable );

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

1419
 PCI_ROM(0x1106, 0x6100, "via-rhine-old",   "VIA 86C100A"),	/* Rhine-II */
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
 DRIVER ( "VIA 86C100", nic_driver, pci_driver, rhine_driver,
1424
 DRIVER ( "VIA 86C100", nic_driver, pci_driver, rhine_driver,
1426
 	 rhine_probe, rhine_disable );
1425
 	 rhine_probe, rhine_disable );

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

618
 PCI_ROM(0x11f6, 0x2011, "compexrl100atx", "Compex RL100ATX"),
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
 w89c840_probe - Look for an adapter, this routine's visible to the outside
624
 w89c840_probe - Look for an adapter, this routine's visible to the outside

Loading…
Cancel
Save