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

net/ethernet: sc92031 is not Realtek

While the SC92031 could be found on fake "Realtek" NICs, it has no
relationship to Realtek, and is actually from Silan.

Create a new subdirectory for silan and move sc92031 there.

Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Cesar Eduardo Barros and committed by
David S. Miller
1b6b7172 048ca169

+40 -13
+1
drivers/net/ethernet/Kconfig
··· 159 159 will be called s6gmac. 160 160 161 161 source "drivers/net/ethernet/seeq/Kconfig" 162 + source "drivers/net/ethernet/silan/Kconfig" 162 163 source "drivers/net/ethernet/sis/Kconfig" 163 164 source "drivers/net/ethernet/sfc/Kconfig" 164 165 source "drivers/net/ethernet/sgi/Kconfig"
+1
drivers/net/ethernet/Makefile
··· 58 58 obj-$(CONFIG_NET_VENDOR_RDC) += rdc/ 59 59 obj-$(CONFIG_S6GMAC) += s6gmac.o 60 60 obj-$(CONFIG_NET_VENDOR_SEEQ) += seeq/ 61 + obj-$(CONFIG_NET_VENDOR_SILAN) += silan/ 61 62 obj-$(CONFIG_NET_VENDOR_SIS) += sis/ 62 63 obj-$(CONFIG_SFC) += sfc/ 63 64 obj-$(CONFIG_NET_VENDOR_SGI) += sgi/
-12
drivers/net/ethernet/realtek/Kconfig
··· 115 115 To compile this driver as a module, choose M here: the module 116 116 will be called r8169. This is recommended. 117 117 118 - config SC92031 119 - tristate "Silan SC92031 PCI Fast Ethernet Adapter driver (EXPERIMENTAL)" 120 - depends on PCI && EXPERIMENTAL 121 - select CRC32 122 - ---help--- 123 - This is a driver for the Fast Ethernet PCI network cards based on 124 - the Silan SC92031 chip (sometimes also called Rsltek 8139D). If you 125 - have one of these, say Y here. 126 - 127 - To compile this driver as a module, choose M here: the module 128 - will be called sc92031. This is recommended. 129 - 130 118 endif # NET_VENDOR_REALTEK
-1
drivers/net/ethernet/realtek/Makefile
··· 6 6 obj-$(CONFIG_8139TOO) += 8139too.o 7 7 obj-$(CONFIG_ATP) += atp.o 8 8 obj-$(CONFIG_R8169) += r8169.o 9 - obj-$(CONFIG_SC92031) += sc92031.o
drivers/net/ethernet/realtek/sc92031.c drivers/net/ethernet/silan/sc92031.c
+33
drivers/net/ethernet/silan/Kconfig
··· 1 + # 2 + # Silan device configuration 3 + # 4 + 5 + config NET_VENDOR_SILAN 6 + bool "Silan devices" 7 + default y 8 + depends on PCI && EXPERIMENTAL 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 Silan devices. If you say Y, you will be asked for 17 + your specific card in the following questions. 18 + 19 + if NET_VENDOR_SILAN 20 + 21 + config SC92031 22 + tristate "Silan SC92031 PCI Fast Ethernet Adapter driver (EXPERIMENTAL)" 23 + depends on PCI && EXPERIMENTAL 24 + select CRC32 25 + ---help--- 26 + This is a driver for the Fast Ethernet PCI network cards based on 27 + the Silan SC92031 chip (sometimes also called Rsltek 8139D). If you 28 + have one of these, say Y here. 29 + 30 + To compile this driver as a module, choose M here: the module 31 + will be called sc92031. This is recommended. 32 + 33 + endif # NET_VENDOR_SILAN
+5
drivers/net/ethernet/silan/Makefile
··· 1 + # 2 + # Makefile for the Silan network device drivers. 3 + # 4 + 5 + obj-$(CONFIG_SC92031) += sc92031.o