Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+151 -144
+3 -3
MAINTAINERS
··· 5869 5869 SMC91x ETHERNET DRIVER 5870 5870 M: Nicolas Pitre <nico@fluxnic.net> 5871 5871 S: Odd Fixes 5872 - F: drivers/net/smc91x.* 5872 + F: drivers/net/ethernet/smsc/smc91x.* 5873 5873 5874 5874 SMM665 HARDWARE MONITOR DRIVER 5875 5875 M: Guenter Roeck <linux@roeck-us.net> ··· 5904 5904 L: netdev@vger.kernel.org 5905 5905 S: Supported 5906 5906 F: include/linux/smsc911x.h 5907 - F: drivers/net/smsc911x.* 5907 + F: drivers/net/ethernet/smsc/smsc911x.* 5908 5908 5909 5909 SMSC9420 PCI ETHERNET DRIVER 5910 5910 M: Steve Glendinning <steve.glendinning@smsc.com> 5911 5911 L: netdev@vger.kernel.org 5912 5912 S: Supported 5913 - F: drivers/net/smsc9420.* 5913 + F: drivers/net/ethernet/smsc/smsc9420.* 5914 5914 5915 5915 SN-IA64 (Itanium) SUB-PLATFORM 5916 5916 M: Jes Sorensen <jes@sgi.com>
-105
drivers/net/Kconfig
··· 565 565 help 566 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 568 config PXA168_ETH 602 569 tristate "Marvell pxa168 ethernet support" 603 570 depends on CPU_PXA168 ··· 678 711 select CRC32 679 712 help 680 713 Say Y here if you want to use the Aeroflex Gaisler GRETH Ethernet MAC. 681 - 682 - config SMC911X 683 - tristate "SMSC LAN911[5678] support" 684 - select CRC32 685 - select MII 686 - depends on ARM || SUPERH || MN10300 687 - help 688 - This is a driver for SMSC's LAN911x series of Ethernet chipsets 689 - including the new LAN9115, LAN9116, LAN9117, and LAN9118. 690 - Say Y if you want it compiled into the kernel, 691 - and read the Ethernet-HOWTO, available from 692 - <http://www.tldp.org/docs.html#howto>. 693 - 694 - This driver is also available as a module. The module will be 695 - called smc911x. If you want to compile it as a module, say M 696 - here and read <file:Documentation/kbuild/modules.txt> 697 - 698 - config SMSC911X 699 - tristate "SMSC LAN911x/LAN921x families embedded ethernet support" 700 - depends on ARM || SUPERH || BLACKFIN || MIPS || MN10300 701 - select CRC32 702 - select MII 703 - select PHYLIB 704 - ---help--- 705 - Say Y here if you want support for SMSC LAN911x and LAN921x families 706 - of ethernet controllers. 707 - 708 - To compile this driver as a module, choose M here and read 709 - <file:Documentation/networking/net-modules.txt>. The module 710 - will be called smsc911x. 711 - 712 - config SMSC911X_ARCH_HOOKS 713 - def_bool n 714 - depends on SMSC911X 715 - help 716 - If the arch enables this, it allows the arch to implement various 717 - hooks for more comprehensive interrupt control and also to override 718 - the source of the MAC address. 719 714 720 715 config NET_VENDOR_RACAL 721 716 bool "Racal-Interlan (Micom) NI cards" ··· 1076 1147 1077 1148 To compile this driver as a module, choose M here: the module 1078 1149 will be called sis900. This is recommended. 1079 - 1080 - config EPIC100 1081 - tristate "SMC EtherPower II" 1082 - depends on NET_PCI && PCI 1083 - select CRC32 1084 - select MII 1085 - help 1086 - This driver is for the SMC EtherPower II 9432 PCI Ethernet NIC, 1087 - which is based on the SMC83c17x (EPIC/100). 1088 - More specific information and updates are available from 1089 - <http://www.scyld.com/network/epic100.html>. 1090 - 1091 - config SMSC9420 1092 - tristate "SMSC LAN9420 PCI ethernet adapter support" 1093 - depends on NET_PCI && PCI 1094 - select CRC32 1095 - select PHYLIB 1096 - select SMSC_PHY 1097 - help 1098 - This is a driver for SMSC's LAN9420 PCI ethernet adapter. 1099 - Say Y if you want it compiled into the kernel, 1100 - and read the Ethernet-HOWTO, available from 1101 - <http://www.tldp.org/docs.html#howto>. 1102 - 1103 - This driver is also available as a module. The module will be 1104 - called smsc9420. If you want to compile it as a module, say M 1105 - here and read <file:Documentation/kbuild/modules.txt> 1106 1150 1107 1151 config SUNDANCE 1108 1152 tristate "Sundance Alta support" ··· 1792 1890 Say Y here if you want to use Direct Cache Access (DCA) in the 1793 1891 driver. DCA is a method for warming the CPU cache before data 1794 1892 is used, with the intent of lessening the impact of cache misses. 1795 - 1796 - config NETXEN_NIC 1797 - tristate "NetXen Multi port (1/10) Gigabit Ethernet NIC" 1798 - depends on PCI 1799 - select FW_LOADER 1800 - help 1801 - This enables the support for NetXen's Gigabit Ethernet card. 1802 1893 1803 1894 config NIU 1804 1895 tristate "Sun Neptune 10Gbit Ethernet support"
-7
drivers/net/Makefile
··· 55 55 obj-$(CONFIG_BMAC) += bmac.o 56 56 57 57 obj-$(CONFIG_TLAN) += tlan.o 58 - obj-$(CONFIG_EPIC100) += epic100.o 59 - obj-$(CONFIG_SMSC9420) += smsc9420.o 60 58 obj-$(CONFIG_SIS190) += sis190.o 61 59 obj-$(CONFIG_SIS900) += sis900.o 62 60 obj-$(CONFIG_R6040) += r6040.o ··· 93 95 obj-$(CONFIG_SEEQ8005) += seeq8005.o 94 96 obj-$(CONFIG_NET_SB1000) += sb1000.o 95 97 obj-$(CONFIG_HP100) += hp100.o 96 - obj-$(CONFIG_SMC9194) += smc9194.o 97 98 obj-$(CONFIG_FEC) += fec.o 98 99 obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx.o 99 100 ifeq ($(CONFIG_FEC_MPC52xx_MDIO),y) ··· 179 182 obj-$(CONFIG_S2IO) += s2io.o 180 183 obj-$(CONFIG_VXGE) += vxge/ 181 184 obj-$(CONFIG_MYRI10GE) += myri10ge/ 182 - obj-$(CONFIG_SMC91X) += smc91x.o 183 - obj-$(CONFIG_SMC911X) += smc911x.o 184 - obj-$(CONFIG_SMSC911X) += smsc911x.o 185 185 obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o 186 186 obj-$(CONFIG_BFIN_MAC) += bfin_mac.o 187 187 obj-$(CONFIG_DM9000) += dm9000.o ··· 225 231 226 232 obj-$(CONFIG_FS_ENET) += fs_enet/ 227 233 228 - obj-$(CONFIG_NETXEN_NIC) += netxen/ 229 234 obj-$(CONFIG_NIU) += niu.o 230 235 obj-$(CONFIG_VIRTIO_NET) += virtio_net.o 231 236 obj-$(CONFIG_SFC) += sfc/
drivers/net/epic100.c drivers/net/ethernet/smsc/epic100.c
+4 -17
drivers/net/ethernet/8390/Kconfig
··· 264 264 265 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 267 config ULTRAMCA 281 268 tristate "SMC Ultra MCA support" 282 - depends on NET_VENDOR_SMC && MCA 269 + depends on MCA 283 270 select CRC32 284 271 ---help--- 285 272 If you have a network (Ethernet) card of this type and are running ··· 278 291 279 292 config ULTRA 280 293 tristate "SMC Ultra support" 281 - depends on NET_VENDOR_SMC && ISA 294 + depends on ISA 282 295 select CRC32 283 296 ---help--- 284 297 If you have a network (Ethernet) card of this type, say Y and read ··· 297 310 298 311 config ULTRA32 299 312 tristate "SMC Ultra32 EISA support" 300 - depends on NET_VENDOR_SMC && EISA 313 + depends on EISA 301 314 select CRC32 302 315 ---help--- 303 316 If you have a network (Ethernet) card of this type, say Y and read ··· 309 322 310 323 config WD80x3 311 324 tristate "WD80*3 support" 312 - depends on NET_VENDOR_SMC && ISA 325 + depends on ISA 313 326 select CRC32 314 327 ---help--- 315 328 If you have a network (Ethernet) card of this type, say Y and read
+1
drivers/net/ethernet/Kconfig
··· 18 18 source "drivers/net/ethernet/chelsio/Kconfig" 19 19 source "drivers/net/ethernet/intel/Kconfig" 20 20 source "drivers/net/ethernet/qlogic/Kconfig" 21 + source "drivers/net/ethernet/smsc/Kconfig" 21 22 22 23 endif # ETHERNET
+1
drivers/net/ethernet/Makefile
··· 9 9 obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ 10 10 obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ 11 11 obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ 12 + obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/
+131
drivers/net/ethernet/smsc/Kconfig
··· 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
+11
drivers/net/ethernet/smsc/Makefile
··· 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
-11
drivers/net/pcmcia/Kconfig
··· 31 31 To compile this driver as a module, choose M here: the module will be 32 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 34 config PCMCIA_XIRC2PS 46 35 tristate "Xircom 16-bit PCMCIA support" 47 36 help
-1
drivers/net/pcmcia/Makefile
··· 4 4 5 5 # 16-bit client drivers 6 6 obj-$(CONFIG_PCMCIA_FMVJ18X) += fmvj18x_cs.o 7 - obj-$(CONFIG_PCMCIA_SMC91C92) += smc91c92_cs.o 8 7 obj-$(CONFIG_PCMCIA_XIRC2PS) += xirc2ps_cs.o 9 8 obj-$(CONFIG_ARCNET_COM20020_CS)+= com20020_cs.o 10 9
drivers/net/pcmcia/smc91c92_cs.c drivers/net/ethernet/smsc/smc91c92_cs.c
drivers/net/smc911x.c drivers/net/ethernet/smsc/smc911x.c
drivers/net/smc911x.h drivers/net/ethernet/smsc/smc911x.h
drivers/net/smc9194.c drivers/net/ethernet/smsc/smc9194.c
drivers/net/smc9194.h drivers/net/ethernet/smsc/smc9194.h
drivers/net/smc91x.c drivers/net/ethernet/smsc/smc91x.c
drivers/net/smc91x.h drivers/net/ethernet/smsc/smc91x.h
drivers/net/smsc911x.c drivers/net/ethernet/smsc/smsc911x.c
drivers/net/smsc911x.h drivers/net/ethernet/smsc/smsc911x.h
drivers/net/smsc9420.c drivers/net/ethernet/smsc/smsc9420.c
drivers/net/smsc9420.h drivers/net/ethernet/smsc/smsc9420.h