diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-05-12 23:21:07 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-10 23:04:03 -0400 |
commit | ae150435b59e68de00546330241727f2fec54517 (patch) | |
tree | 29a1cb71053306e8a8e0dff1f927d16a9a396917 | |
parent | aa43c2158d5ae1dc76cccb08cd57a3ffd32c3825 (diff) |
smsc: Move the SMC (SMSC) drivers
Moves the SMC (SMSC) drivers into drivers/net/ethernet/smsc/ and the
necessary Kconfig and Makefile changes. Also did some cleanup
of NET_VENDOR_SMC Kconfig tag for the 8390 based drivers.
CC: Nicolas Pitre <nico@fluxnic.net>
CC: Donald Becker <becker@scyld.com>
CC: Erik Stahlman <erik@vt.edu>
CC: Dustin McIntire <dustin@sensoria.com>
CC: Steve Glendinning <steve.glendinning@smsc.com>
CC: David Hinds <dahinds@users.sourceforge.net>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r-- | MAINTAINERS | 6 | ||||
-rw-r--r-- | drivers/net/Kconfig | 105 | ||||
-rw-r--r-- | drivers/net/Makefile | 7 | ||||
-rw-r--r-- | drivers/net/ethernet/8390/Kconfig | 21 | ||||
-rw-r--r-- | drivers/net/ethernet/Kconfig | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/smsc/Kconfig | 131 | ||||
-rw-r--r-- | drivers/net/ethernet/smsc/Makefile | 11 | ||||
-rw-r--r-- | drivers/net/ethernet/smsc/epic100.c (renamed from drivers/net/epic100.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/smsc/smc911x.c (renamed from drivers/net/smc911x.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/smsc/smc911x.h (renamed from drivers/net/smc911x.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/smsc/smc9194.c (renamed from drivers/net/smc9194.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/smsc/smc9194.h (renamed from drivers/net/smc9194.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/smsc/smc91c92_cs.c (renamed from drivers/net/pcmcia/smc91c92_cs.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/smsc/smc91x.c (renamed from drivers/net/smc91x.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/smsc/smc91x.h (renamed from drivers/net/smc91x.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/smsc/smsc911x.c (renamed from drivers/net/smsc911x.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/smsc/smsc911x.h (renamed from drivers/net/smsc911x.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/smsc/smsc9420.c (renamed from drivers/net/smsc9420.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/smsc/smsc9420.h (renamed from drivers/net/smsc9420.h) | 0 | ||||
-rw-r--r-- | drivers/net/pcmcia/Kconfig | 11 | ||||
-rw-r--r-- | drivers/net/pcmcia/Makefile | 1 |
22 files changed, 151 insertions, 144 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 8f2821c30821..7c0294cdf9f1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -5869,7 +5869,7 @@ F: mm/sl?b.c | |||
5869 | SMC91x ETHERNET DRIVER | 5869 | SMC91x ETHERNET DRIVER |
5870 | M: Nicolas Pitre <nico@fluxnic.net> | 5870 | M: Nicolas Pitre <nico@fluxnic.net> |
5871 | S: Odd Fixes | 5871 | S: Odd Fixes |
5872 | F: drivers/net/smc91x.* | 5872 | F: drivers/net/ethernet/smsc/smc91x.* |
5873 | 5873 | ||
5874 | SMM665 HARDWARE MONITOR DRIVER | 5874 | SMM665 HARDWARE MONITOR DRIVER |
5875 | M: Guenter Roeck <linux@roeck-us.net> | 5875 | M: Guenter Roeck <linux@roeck-us.net> |
@@ -5904,13 +5904,13 @@ M: Steve Glendinning <steve.glendinning@smsc.com> | |||
5904 | L: netdev@vger.kernel.org | 5904 | L: netdev@vger.kernel.org |
5905 | S: Supported | 5905 | S: Supported |
5906 | F: include/linux/smsc911x.h | 5906 | F: include/linux/smsc911x.h |
5907 | F: drivers/net/smsc911x.* | 5907 | F: drivers/net/ethernet/smsc/smsc911x.* |
5908 | 5908 | ||
5909 | SMSC9420 PCI ETHERNET DRIVER | 5909 | SMSC9420 PCI ETHERNET DRIVER |
5910 | M: Steve Glendinning <steve.glendinning@smsc.com> | 5910 | M: Steve Glendinning <steve.glendinning@smsc.com> |
5911 | L: netdev@vger.kernel.org | 5911 | L: netdev@vger.kernel.org |
5912 | S: Supported | 5912 | S: Supported |
5913 | F: drivers/net/smsc9420.* | 5913 | F: drivers/net/ethernet/smsc/smsc9420.* |
5914 | 5914 | ||
5915 | SN-IA64 (Itanium) SUB-PLATFORM | 5915 | SN-IA64 (Itanium) SUB-PLATFORM |
5916 | M: Jes Sorensen <jes@sgi.com> | 5916 | M: Jes Sorensen <jes@sgi.com> |
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index de2293d23d55..649918609cb6 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -565,39 +565,6 @@ config BFIN_MAC_USE_HWSTAMP | |||
565 | help | 565 | help |
566 | To support the IEEE 1588 Precision Time Protocol (PTP), select y here | 566 | To support the IEEE 1588 Precision Time Protocol (PTP), select y here |
567 | 567 | ||
568 | config SMC9194 | ||
569 | tristate "SMC 9194 support" | ||
570 | depends on NET_VENDOR_SMC && (ISA || MAC && BROKEN) | ||
571 | select CRC32 | ||
572 | ---help--- | ||
573 | This is support for the SMC9xxx based Ethernet cards. Choose this | ||
574 | option if you have a DELL laptop with the docking station, or | ||
575 | another SMC9192/9194 based chipset. Say Y if you want it compiled | ||
576 | into the kernel, and read the file | ||
577 | <file:Documentation/networking/smc9.txt> and the Ethernet-HOWTO, | ||
578 | available from <http://www.tldp.org/docs.html#howto>. | ||
579 | |||
580 | To compile this driver as a module, choose M here. The module | ||
581 | will be called smc9194. | ||
582 | |||
583 | config SMC91X | ||
584 | tristate "SMC 91C9x/91C1xxx support" | ||
585 | select CRC32 | ||
586 | select MII | ||
587 | depends on ARM || M32R || SUPERH || \ | ||
588 | MIPS || BLACKFIN || MN10300 || COLDFIRE | ||
589 | help | ||
590 | This is a driver for SMC's 91x series of Ethernet chipsets, | ||
591 | including the SMC91C94 and the SMC91C111. Say Y if you want it | ||
592 | compiled into the kernel, and read the file | ||
593 | <file:Documentation/networking/smc9.txt> and the Ethernet-HOWTO, | ||
594 | available from <http://www.tldp.org/docs.html#howto>. | ||
595 | |||
596 | This driver is also available as a module ( = code which can be | ||
597 | inserted in and removed from the running kernel whenever you want). | ||
598 | The module will be called smc91x. If you want to compile it as a | ||
599 | module, say M here and read <file:Documentation/kbuild/modules.txt>. | ||
600 | |||
601 | config PXA168_ETH | 568 | config PXA168_ETH |
602 | tristate "Marvell pxa168 ethernet support" | 569 | tristate "Marvell pxa168 ethernet support" |
603 | depends on CPU_PXA168 | 570 | depends on CPU_PXA168 |
@@ -712,44 +679,6 @@ config GRETH | |||
712 | help | 679 | help |
713 | Say Y here if you want to use the Aeroflex Gaisler GRETH Ethernet MAC. | 680 | Say Y here if you want to use the Aeroflex Gaisler GRETH Ethernet MAC. |
714 | 681 | ||
715 | config SMC911X | ||
716 | tristate "SMSC LAN911[5678] support" | ||
717 | select CRC32 | ||
718 | select MII | ||
719 | depends on ARM || SUPERH || MN10300 | ||
720 | help | ||
721 | This is a driver for SMSC's LAN911x series of Ethernet chipsets | ||
722 | including the new LAN9115, LAN9116, LAN9117, and LAN9118. | ||
723 | Say Y if you want it compiled into the kernel, | ||
724 | and read the Ethernet-HOWTO, available from | ||
725 | <http://www.tldp.org/docs.html#howto>. | ||
726 | |||
727 | This driver is also available as a module. The module will be | ||
728 | called smc911x. If you want to compile it as a module, say M | ||
729 | here and read <file:Documentation/kbuild/modules.txt> | ||
730 | |||
731 | config SMSC911X | ||
732 | tristate "SMSC LAN911x/LAN921x families embedded ethernet support" | ||
733 | depends on ARM || SUPERH || BLACKFIN || MIPS || MN10300 | ||
734 | select CRC32 | ||
735 | select MII | ||
736 | select PHYLIB | ||
737 | ---help--- | ||
738 | Say Y here if you want support for SMSC LAN911x and LAN921x families | ||
739 | of ethernet controllers. | ||
740 | |||
741 | To compile this driver as a module, choose M here and read | ||
742 | <file:Documentation/networking/net-modules.txt>. The module | ||
743 | will be called smsc911x. | ||
744 | |||
745 | config SMSC911X_ARCH_HOOKS | ||
746 | def_bool n | ||
747 | depends on SMSC911X | ||
748 | help | ||
749 | If the arch enables this, it allows the arch to implement various | ||
750 | hooks for more comprehensive interrupt control and also to override | ||
751 | the source of the MAC address. | ||
752 | |||
753 | config NET_VENDOR_RACAL | 682 | config NET_VENDOR_RACAL |
754 | bool "Racal-Interlan (Micom) NI cards" | 683 | bool "Racal-Interlan (Micom) NI cards" |
755 | depends on ISA | 684 | depends on ISA |
@@ -1148,33 +1077,6 @@ config SIS900 | |||
1148 | To compile this driver as a module, choose M here: the module | 1077 | To compile this driver as a module, choose M here: the module |
1149 | will be called sis900. This is recommended. | 1078 | will be called sis900. This is recommended. |
1150 | 1079 | ||
1151 | config EPIC100 | ||
1152 | tristate "SMC EtherPower II" | ||
1153 | depends on NET_PCI && PCI | ||
1154 | select CRC32 | ||
1155 | select MII | ||
1156 | help | ||
1157 | This driver is for the SMC EtherPower II 9432 PCI Ethernet NIC, | ||
1158 | which is based on the SMC83c17x (EPIC/100). | ||
1159 | More specific information and updates are available from | ||
1160 | <http://www.scyld.com/network/epic100.html>. | ||
1161 | |||
1162 | config SMSC9420 | ||
1163 | tristate "SMSC LAN9420 PCI ethernet adapter support" | ||
1164 | depends on NET_PCI && PCI | ||
1165 | select CRC32 | ||
1166 | select PHYLIB | ||
1167 | select SMSC_PHY | ||
1168 | help | ||
1169 | This is a driver for SMSC's LAN9420 PCI ethernet adapter. | ||
1170 | Say Y if you want it compiled into the kernel, | ||
1171 | and read the Ethernet-HOWTO, available from | ||
1172 | <http://www.tldp.org/docs.html#howto>. | ||
1173 | |||
1174 | This driver is also available as a module. The module will be | ||
1175 | called smsc9420. If you want to compile it as a module, say M | ||
1176 | here and read <file:Documentation/kbuild/modules.txt> | ||
1177 | |||
1178 | config SUNDANCE | 1080 | config SUNDANCE |
1179 | tristate "Sundance Alta support" | 1081 | tristate "Sundance Alta support" |
1180 | depends on NET_PCI && PCI | 1082 | depends on NET_PCI && PCI |
@@ -1891,13 +1793,6 @@ config MYRI10GE_DCA | |||
1891 | driver. DCA is a method for warming the CPU cache before data | 1793 | driver. DCA is a method for warming the CPU cache before data |
1892 | is used, with the intent of lessening the impact of cache misses. | 1794 | is used, with the intent of lessening the impact of cache misses. |
1893 | 1795 | ||
1894 | config NETXEN_NIC | ||
1895 | tristate "NetXen Multi port (1/10) Gigabit Ethernet NIC" | ||
1896 | depends on PCI | ||
1897 | select FW_LOADER | ||
1898 | help | ||
1899 | This enables the support for NetXen's Gigabit Ethernet card. | ||
1900 | |||
1901 | config NIU | 1796 | config NIU |
1902 | tristate "Sun Neptune 10Gbit Ethernet support" | 1797 | tristate "Sun Neptune 10Gbit Ethernet support" |
1903 | depends on PCI | 1798 | depends on PCI |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index a58a9f0b7999..e74b4244ee7f 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -55,8 +55,6 @@ obj-$(CONFIG_MACE) += mace.o | |||
55 | obj-$(CONFIG_BMAC) += bmac.o | 55 | obj-$(CONFIG_BMAC) += bmac.o |
56 | 56 | ||
57 | obj-$(CONFIG_TLAN) += tlan.o | 57 | obj-$(CONFIG_TLAN) += tlan.o |
58 | obj-$(CONFIG_EPIC100) += epic100.o | ||
59 | obj-$(CONFIG_SMSC9420) += smsc9420.o | ||
60 | obj-$(CONFIG_SIS190) += sis190.o | 58 | obj-$(CONFIG_SIS190) += sis190.o |
61 | obj-$(CONFIG_SIS900) += sis900.o | 59 | obj-$(CONFIG_SIS900) += sis900.o |
62 | obj-$(CONFIG_R6040) += r6040.o | 60 | obj-$(CONFIG_R6040) += r6040.o |
@@ -95,7 +93,6 @@ obj-$(CONFIG_NET) += Space.o loopback.o | |||
95 | obj-$(CONFIG_SEEQ8005) += seeq8005.o | 93 | obj-$(CONFIG_SEEQ8005) += seeq8005.o |
96 | obj-$(CONFIG_NET_SB1000) += sb1000.o | 94 | obj-$(CONFIG_NET_SB1000) += sb1000.o |
97 | obj-$(CONFIG_HP100) += hp100.o | 95 | obj-$(CONFIG_HP100) += hp100.o |
98 | obj-$(CONFIG_SMC9194) += smc9194.o | ||
99 | obj-$(CONFIG_FEC) += fec.o | 96 | obj-$(CONFIG_FEC) += fec.o |
100 | obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx.o | 97 | obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx.o |
101 | ifeq ($(CONFIG_FEC_MPC52xx_MDIO),y) | 98 | ifeq ($(CONFIG_FEC_MPC52xx_MDIO),y) |
@@ -182,9 +179,6 @@ obj-$(CONFIG_IBMVETH) += ibmveth.o | |||
182 | obj-$(CONFIG_S2IO) += s2io.o | 179 | obj-$(CONFIG_S2IO) += s2io.o |
183 | obj-$(CONFIG_VXGE) += vxge/ | 180 | obj-$(CONFIG_VXGE) += vxge/ |
184 | obj-$(CONFIG_MYRI10GE) += myri10ge/ | 181 | obj-$(CONFIG_MYRI10GE) += myri10ge/ |
185 | obj-$(CONFIG_SMC91X) += smc91x.o | ||
186 | obj-$(CONFIG_SMC911X) += smc911x.o | ||
187 | obj-$(CONFIG_SMSC911X) += smsc911x.o | ||
188 | obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o | 182 | obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o |
189 | obj-$(CONFIG_BFIN_MAC) += bfin_mac.o | 183 | obj-$(CONFIG_BFIN_MAC) += bfin_mac.o |
190 | obj-$(CONFIG_DM9000) += dm9000.o | 184 | obj-$(CONFIG_DM9000) += dm9000.o |
@@ -231,7 +225,6 @@ obj-$(CONFIG_NETCONSOLE) += netconsole.o | |||
231 | 225 | ||
232 | obj-$(CONFIG_FS_ENET) += fs_enet/ | 226 | obj-$(CONFIG_FS_ENET) += fs_enet/ |
233 | 227 | ||
234 | obj-$(CONFIG_NETXEN_NIC) += netxen/ | ||
235 | obj-$(CONFIG_NIU) += niu.o | 228 | obj-$(CONFIG_NIU) += niu.o |
236 | obj-$(CONFIG_VIRTIO_NET) += virtio_net.o | 229 | obj-$(CONFIG_VIRTIO_NET) += virtio_net.o |
237 | obj-$(CONFIG_SFC) += sfc/ | 230 | obj-$(CONFIG_SFC) += sfc/ |
diff --git a/drivers/net/ethernet/8390/Kconfig b/drivers/net/ethernet/8390/Kconfig index 5cd53f1b84d3..f1b9bddc1550 100644 --- a/drivers/net/ethernet/8390/Kconfig +++ b/drivers/net/ethernet/8390/Kconfig | |||
@@ -264,22 +264,9 @@ config STNIC | |||
264 | 264 | ||
265 | If unsure, say N. | 265 | If unsure, say N. |
266 | 266 | ||
267 | config NET_VENDOR_SMC | ||
268 | bool "Western Digital/SMC cards" | ||
269 | depends on (ISA || MCA || EISA || MAC) | ||
270 | ---help--- | ||
271 | If you have a network (Ethernet) card belonging to this class, say Y | ||
272 | and read the Ethernet-HOWTO, available from | ||
273 | <http://www.tldp.org/docs.html#howto>. | ||
274 | |||
275 | Note that the answer to this question doesn't directly affect the | ||
276 | kernel: saying N will just cause the configurator to skip all | ||
277 | the questions about Western Digital cards. If you say Y, you will be | ||
278 | asked for your specific card in the following questions. | ||
279 | |||
280 | config ULTRAMCA | 267 | config ULTRAMCA |
281 | tristate "SMC Ultra MCA support" | 268 | tristate "SMC Ultra MCA support" |
282 | depends on NET_VENDOR_SMC && MCA | 269 | depends on MCA |
283 | select CRC32 | 270 | select CRC32 |
284 | ---help--- | 271 | ---help--- |
285 | If you have a network (Ethernet) card of this type and are running | 272 | If you have a network (Ethernet) card of this type and are running |
@@ -291,7 +278,7 @@ config ULTRAMCA | |||
291 | 278 | ||
292 | config ULTRA | 279 | config ULTRA |
293 | tristate "SMC Ultra support" | 280 | tristate "SMC Ultra support" |
294 | depends on NET_VENDOR_SMC && ISA | 281 | depends on ISA |
295 | select CRC32 | 282 | select CRC32 |
296 | ---help--- | 283 | ---help--- |
297 | If you have a network (Ethernet) card of this type, say Y and read | 284 | If you have a network (Ethernet) card of this type, say Y and read |
@@ -310,7 +297,7 @@ config ULTRA | |||
310 | 297 | ||
311 | config ULTRA32 | 298 | config ULTRA32 |
312 | tristate "SMC Ultra32 EISA support" | 299 | tristate "SMC Ultra32 EISA support" |
313 | depends on NET_VENDOR_SMC && EISA | 300 | depends on EISA |
314 | select CRC32 | 301 | select CRC32 |
315 | ---help--- | 302 | ---help--- |
316 | If you have a network (Ethernet) card of this type, say Y and read | 303 | If you have a network (Ethernet) card of this type, say Y and read |
@@ -322,7 +309,7 @@ config ULTRA32 | |||
322 | 309 | ||
323 | config WD80x3 | 310 | config WD80x3 |
324 | tristate "WD80*3 support" | 311 | tristate "WD80*3 support" |
325 | depends on NET_VENDOR_SMC && ISA | 312 | depends on ISA |
326 | select CRC32 | 313 | select CRC32 |
327 | ---help--- | 314 | ---help--- |
328 | If you have a network (Ethernet) card of this type, say Y and read | 315 | If you have a network (Ethernet) card of this type, say Y and read |
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index ab591bb96702..ed5836ccb8d6 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig | |||
@@ -18,5 +18,6 @@ source "drivers/net/ethernet/broadcom/Kconfig" | |||
18 | source "drivers/net/ethernet/chelsio/Kconfig" | 18 | source "drivers/net/ethernet/chelsio/Kconfig" |
19 | source "drivers/net/ethernet/intel/Kconfig" | 19 | source "drivers/net/ethernet/intel/Kconfig" |
20 | source "drivers/net/ethernet/qlogic/Kconfig" | 20 | source "drivers/net/ethernet/qlogic/Kconfig" |
21 | source "drivers/net/ethernet/smsc/Kconfig" | ||
21 | 22 | ||
22 | endif # ETHERNET | 23 | endif # ETHERNET |
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index d8cf120e3322..983fd2752151 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile | |||
@@ -9,3 +9,4 @@ obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/ | |||
9 | obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ | 9 | obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ |
10 | obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ | 10 | obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ |
11 | obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ | 11 | obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ |
12 | obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/ | ||
diff --git a/drivers/net/ethernet/smsc/Kconfig b/drivers/net/ethernet/smsc/Kconfig new file mode 100644 index 000000000000..702efe686c48 --- /dev/null +++ b/drivers/net/ethernet/smsc/Kconfig | |||
@@ -0,0 +1,131 @@ | |||
1 | # | ||
2 | # Western Digital/SMC network device configuration | ||
3 | # | ||
4 | |||
5 | config NET_VENDOR_SMSC | ||
6 | bool "SMC (SMSC)/Western Digital devices" | ||
7 | depends on ARM || ISA || MAC || ARM || MIPS || M32R || SUPERH || \ | ||
8 | BLACKFIN || MN10300 || COLDFIRE || PCI || PCMCIA | ||
9 | ---help--- | ||
10 | If you have a network (Ethernet) card belonging to this class, say Y | ||
11 | and read the Ethernet-HOWTO, available from | ||
12 | <http://www.tldp.org/docs.html#howto>. | ||
13 | |||
14 | Note that the answer to this question doesn't directly affect the | ||
15 | kernel: saying N will just cause the configurator to skip all | ||
16 | the questions about SMC/Western Digital cards. If you say Y, you will | ||
17 | be asked for your specific card in the following questions. | ||
18 | |||
19 | if NET_VENDOR_SMSC | ||
20 | |||
21 | config SMC9194 | ||
22 | tristate "SMC 9194 support" | ||
23 | depends on (ISA || MAC && BROKEN) | ||
24 | select CRC32 | ||
25 | ---help--- | ||
26 | This is support for the SMC9xxx based Ethernet cards. Choose this | ||
27 | option if you have a DELL laptop with the docking station, or | ||
28 | another SMC9192/9194 based chipset. Say Y if you want it compiled | ||
29 | into the kernel, and read the file | ||
30 | <file:Documentation/networking/smc9.txt> and the Ethernet-HOWTO, | ||
31 | available from <http://www.tldp.org/docs.html#howto>. | ||
32 | |||
33 | To compile this driver as a module, choose M here. The module | ||
34 | will be called smc9194. | ||
35 | |||
36 | config SMC91X | ||
37 | tristate "SMC 91C9x/91C1xxx support" | ||
38 | select CRC32 | ||
39 | select MII | ||
40 | depends on (ARM || M32R || SUPERH || MIPS || BLACKFIN || \ | ||
41 | MN10300 || COLDFIRE) | ||
42 | ---help--- | ||
43 | This is a driver for SMC's 91x series of Ethernet chipsets, | ||
44 | including the SMC91C94 and the SMC91C111. Say Y if you want it | ||
45 | compiled into the kernel, and read the file | ||
46 | <file:Documentation/networking/smc9.txt> and the Ethernet-HOWTO, | ||
47 | available from <http://www.tldp.org/docs.html#howto>. | ||
48 | |||
49 | This driver is also available as a module ( = code which can be | ||
50 | inserted in and removed from the running kernel whenever you want). | ||
51 | The module will be called smc91x. If you want to compile it as a | ||
52 | module, say M here and read <file:Documentation/kbuild/modules.txt>. | ||
53 | |||
54 | config PCMCIA_SMC91C92 | ||
55 | tristate "SMC 91Cxx PCMCIA support" | ||
56 | depends on PCMCIA | ||
57 | select CRC32 | ||
58 | select MII | ||
59 | ---help--- | ||
60 | Say Y here if you intend to attach an SMC 91Cxx compatible PCMCIA | ||
61 | (PC-card) Ethernet or Fast Ethernet card to your computer. | ||
62 | |||
63 | To compile this driver as a module, choose M here: the module will be | ||
64 | called smc91c92_cs. If unsure, say N. | ||
65 | |||
66 | config EPIC100 | ||
67 | tristate "SMC EtherPower II" | ||
68 | depends on PCI | ||
69 | select CRC32 | ||
70 | select MII | ||
71 | ---help--- | ||
72 | This driver is for the SMC EtherPower II 9432 PCI Ethernet NIC, | ||
73 | which is based on the SMC83c17x (EPIC/100). | ||
74 | More specific information and updates are available from | ||
75 | <http://www.scyld.com/network/epic100.html>. | ||
76 | |||
77 | config SMC911X | ||
78 | tristate "SMSC LAN911[5678] support" | ||
79 | select CRC32 | ||
80 | select MII | ||
81 | depends on (ARM || SUPERH || MN10300) | ||
82 | ---help--- | ||
83 | This is a driver for SMSC's LAN911x series of Ethernet chipsets | ||
84 | including the new LAN9115, LAN9116, LAN9117, and LAN9118. | ||
85 | Say Y if you want it compiled into the kernel, | ||
86 | and read the Ethernet-HOWTO, available from | ||
87 | <http://www.tldp.org/docs.html#howto>. | ||
88 | |||
89 | This driver is also available as a module. The module will be | ||
90 | called smc911x. If you want to compile it as a module, say M | ||
91 | here and read <file:Documentation/kbuild/modules.txt> | ||
92 | |||
93 | config SMSC911X | ||
94 | tristate "SMSC LAN911x/LAN921x families embedded ethernet support" | ||
95 | depends on (ARM || SUPERH || BLACKFIN || MIPS || MN10300) | ||
96 | select CRC32 | ||
97 | select MII | ||
98 | select PHYLIB | ||
99 | ---help--- | ||
100 | Say Y here if you want support for SMSC LAN911x and LAN921x families | ||
101 | of ethernet controllers. | ||
102 | |||
103 | To compile this driver as a module, choose M here and read | ||
104 | <file:Documentation/networking/net-modules.txt>. The module | ||
105 | will be called smsc911x. | ||
106 | |||
107 | config SMSC911X_ARCH_HOOKS | ||
108 | def_bool n | ||
109 | depends on SMSC911X | ||
110 | ---help--- | ||
111 | If the arch enables this, it allows the arch to implement various | ||
112 | hooks for more comprehensive interrupt control and also to override | ||
113 | the source of the MAC address. | ||
114 | |||
115 | config SMSC9420 | ||
116 | tristate "SMSC LAN9420 PCI ethernet adapter support" | ||
117 | depends on PCI | ||
118 | select CRC32 | ||
119 | select PHYLIB | ||
120 | select SMSC_PHY | ||
121 | ---help--- | ||
122 | This is a driver for SMSC's LAN9420 PCI ethernet adapter. | ||
123 | Say Y if you want it compiled into the kernel, | ||
124 | and read the Ethernet-HOWTO, available from | ||
125 | <http://www.tldp.org/docs.html#howto>. | ||
126 | |||
127 | This driver is also available as a module. The module will be | ||
128 | called smsc9420. If you want to compile it as a module, say M | ||
129 | here and read <file:Documentation/kbuild/modules.txt> | ||
130 | |||
131 | endif # NET_VENDOR_SMSC | ||
diff --git a/drivers/net/ethernet/smsc/Makefile b/drivers/net/ethernet/smsc/Makefile new file mode 100644 index 000000000000..f3438dec9d90 --- /dev/null +++ b/drivers/net/ethernet/smsc/Makefile | |||
@@ -0,0 +1,11 @@ | |||
1 | # | ||
2 | # Makefile for the SMSC network device drivers. | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_SMC9194) += smc9194.o | ||
6 | obj-$(CONFIG_SMC91X) += smc91x.o | ||
7 | obj-$(CONFIG_PCMCIA_SMC91C92) += smc91c92_cs.o | ||
8 | obj-$(CONFIG_EPIC100) += epic100.o | ||
9 | obj-$(CONFIG_SMSC9420) += smsc9420.o | ||
10 | obj-$(CONFIG_SMC911X) += smc911x.o | ||
11 | obj-$(CONFIG_SMSC911X) += smsc911x.o | ||
diff --git a/drivers/net/epic100.c b/drivers/net/ethernet/smsc/epic100.c index 814c187d5f95..814c187d5f95 100644 --- a/drivers/net/epic100.c +++ b/drivers/net/ethernet/smsc/epic100.c | |||
diff --git a/drivers/net/smc911x.c b/drivers/net/ethernet/smsc/smc911x.c index a91fe1723020..a91fe1723020 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/ethernet/smsc/smc911x.c | |||
diff --git a/drivers/net/smc911x.h b/drivers/net/ethernet/smsc/smc911x.h index 3269292efecc..3269292efecc 100644 --- a/drivers/net/smc911x.h +++ b/drivers/net/ethernet/smsc/smc911x.h | |||
diff --git a/drivers/net/smc9194.c b/drivers/net/ethernet/smsc/smc9194.c index 5b65ac4b3cef..5b65ac4b3cef 100644 --- a/drivers/net/smc9194.c +++ b/drivers/net/ethernet/smsc/smc9194.c | |||
diff --git a/drivers/net/smc9194.h b/drivers/net/ethernet/smsc/smc9194.h index cf69d0a5a1cb..cf69d0a5a1cb 100644 --- a/drivers/net/smc9194.h +++ b/drivers/net/ethernet/smsc/smc9194.h | |||
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/ethernet/smsc/smc91c92_cs.c index cffbc0373fa9..cffbc0373fa9 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/ethernet/smsc/smc91c92_cs.c | |||
diff --git a/drivers/net/smc91x.c b/drivers/net/ethernet/smsc/smc91x.c index 2b1d254d59af..2b1d254d59af 100644 --- a/drivers/net/smc91x.c +++ b/drivers/net/ethernet/smsc/smc91x.c | |||
diff --git a/drivers/net/smc91x.h b/drivers/net/ethernet/smsc/smc91x.h index 5f53fbbf67be..5f53fbbf67be 100644 --- a/drivers/net/smc91x.h +++ b/drivers/net/ethernet/smsc/smc91x.h | |||
diff --git a/drivers/net/smsc911x.c b/drivers/net/ethernet/smsc/smsc911x.c index 75c08a55582c..75c08a55582c 100644 --- a/drivers/net/smsc911x.c +++ b/drivers/net/ethernet/smsc/smsc911x.c | |||
diff --git a/drivers/net/smsc911x.h b/drivers/net/ethernet/smsc/smsc911x.h index 8d67aacf8867..8d67aacf8867 100644 --- a/drivers/net/smsc911x.h +++ b/drivers/net/ethernet/smsc/smsc911x.h | |||
diff --git a/drivers/net/smsc9420.c b/drivers/net/ethernet/smsc/smsc9420.c index 459726f54754..459726f54754 100644 --- a/drivers/net/smsc9420.c +++ b/drivers/net/ethernet/smsc/smsc9420.c | |||
diff --git a/drivers/net/smsc9420.h b/drivers/net/ethernet/smsc/smsc9420.h index e441402f77a2..e441402f77a2 100644 --- a/drivers/net/smsc9420.h +++ b/drivers/net/ethernet/smsc/smsc9420.h | |||
diff --git a/drivers/net/pcmcia/Kconfig b/drivers/net/pcmcia/Kconfig index 72aa25786a95..f5a738ff59f5 100644 --- a/drivers/net/pcmcia/Kconfig +++ b/drivers/net/pcmcia/Kconfig | |||
@@ -31,17 +31,6 @@ config PCMCIA_FMVJ18X | |||
31 | To compile this driver as a module, choose M here: the module will be | 31 | To compile this driver as a module, choose M here: the module will be |
32 | called fmvj18x_cs. If unsure, say N. | 32 | called fmvj18x_cs. If unsure, say N. |
33 | 33 | ||
34 | config PCMCIA_SMC91C92 | ||
35 | tristate "SMC 91Cxx PCMCIA support" | ||
36 | select CRC32 | ||
37 | select MII | ||
38 | help | ||
39 | Say Y here if you intend to attach an SMC 91Cxx compatible PCMCIA | ||
40 | (PC-card) Ethernet or Fast Ethernet card to your computer. | ||
41 | |||
42 | To compile this driver as a module, choose M here: the module will be | ||
43 | called smc91c92_cs. If unsure, say N. | ||
44 | |||
45 | config PCMCIA_XIRC2PS | 34 | config PCMCIA_XIRC2PS |
46 | tristate "Xircom 16-bit PCMCIA support" | 35 | tristate "Xircom 16-bit PCMCIA support" |
47 | help | 36 | help |
diff --git a/drivers/net/pcmcia/Makefile b/drivers/net/pcmcia/Makefile index c2b8b44c7bb1..f9c98836d75b 100644 --- a/drivers/net/pcmcia/Makefile +++ b/drivers/net/pcmcia/Makefile | |||
@@ -4,7 +4,6 @@ | |||
4 | 4 | ||
5 | # 16-bit client drivers | 5 | # 16-bit client drivers |
6 | obj-$(CONFIG_PCMCIA_FMVJ18X) += fmvj18x_cs.o | 6 | obj-$(CONFIG_PCMCIA_FMVJ18X) += fmvj18x_cs.o |
7 | obj-$(CONFIG_PCMCIA_SMC91C92) += smc91c92_cs.o | ||
8 | obj-$(CONFIG_PCMCIA_XIRC2PS) += xirc2ps_cs.o | 7 | obj-$(CONFIG_PCMCIA_XIRC2PS) += xirc2ps_cs.o |
9 | obj-$(CONFIG_ARCNET_COM20020_CS)+= com20020_cs.o | 8 | obj-$(CONFIG_ARCNET_COM20020_CS)+= com20020_cs.o |
10 | 9 | ||