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

r6040: Move the RDC driver

Move the RDC driver into drivers/net/ethernet/rdc/ and make the
necessary Kconfig and Makefile changes.

CC: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

+41 -15
+1 -1
MAINTAINERS
··· 5343 5343 M: Florian Fainelli <florian@openwrt.org> 5344 5344 L: netdev@vger.kernel.org 5345 5345 S: Maintained 5346 - F: drivers/net/r6040.c 5346 + F: drivers/net/ethernet/rdc/r6040.c 5347 5347 5348 5348 RDS - RELIABLE DATAGRAM SOCKETS 5349 5349 M: Andy Grover <andy.grover@oracle.com>
-13
drivers/net/Kconfig
··· 379 379 Say Y here to support the Myson MTD-800 family of PCI-based Ethernet 380 380 cards. <http://www.myson.com.tw/> 381 381 382 - config R6040 383 - tristate "RDC R6040 Fast Ethernet Adapter support" 384 - depends on NET_PCI && PCI 385 - select CRC32 386 - select MII 387 - select PHYLIB 388 - help 389 - This is a driver for the R6040 Fast Ethernet MACs found in the 390 - the RDC R-321x System-on-chips. 391 - 392 - To compile this driver as a module, choose M here: the module 393 - will be called r6040. This is recommended. 394 - 395 382 config NET_POCKET 396 383 bool "Pocket and portable adapters" 397 384 depends on PARPORT
-1
drivers/net/Makefile
··· 16 16 17 17 obj-$(CONFIG_ROADRUNNER) += rrunner.o 18 18 19 - obj-$(CONFIG_R6040) += r6040.o 20 19 obj-$(CONFIG_FEALNX) += fealnx.o 21 20 obj-$(CONFIG_SKFP) += skfp/ 22 21 obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o
+1
drivers/net/ethernet/Kconfig
··· 83 83 source "drivers/net/ethernet/qlogic/Kconfig" 84 84 source "drivers/net/ethernet/racal/Kconfig" 85 85 source "drivers/net/ethernet/realtek/Kconfig" 86 + source "drivers/net/ethernet/rdc/Kconfig" 86 87 87 88 config S6GMAC 88 89 tristate "S6105 GMAC ethernet support"
+1
drivers/net/ethernet/Makefile
··· 43 43 obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ 44 44 obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ 45 45 obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/ 46 + obj-$(CONFIG_NET_VENDOR_RDC) += rdc/ 46 47 obj-$(CONFIG_S6GMAC) += s6gmac.o 47 48 obj-$(CONFIG_NET_VENDOR_SEEQ) += seeq/ 48 49 obj-$(CONFIG_NET_VENDOR_SIS) += sis/
+33
drivers/net/ethernet/rdc/Kconfig
··· 1 + # 2 + # RDC network device configuration 3 + # 4 + 5 + config NET_VENDOR_RDC 6 + bool "RDC devices" 7 + depends on PCI 8 + ---help--- 9 + If you have a network (Ethernet) card belonging to this class, say Y 10 + and read the Ethernet-HOWTO, available from 11 + <http://www.tldp.org/docs.html#howto>. 12 + 13 + Note that the answer to this question doesn't directly affect the 14 + kernel: saying N will just cause the configurator to skip all 15 + the questions about RDC cards. If you say Y, you will be asked for 16 + your specific card in the following questions. 17 + 18 + if NET_VENDOR_RDC 19 + 20 + config R6040 21 + tristate "RDC R6040 Fast Ethernet Adapter support" 22 + depends on PCI 23 + select CRC32 24 + select MII 25 + select PHYLIB 26 + ---help--- 27 + This is a driver for the R6040 Fast Ethernet MACs found in the 28 + the RDC R-321x System-on-chips. 29 + 30 + To compile this driver as a module, choose M here: the module 31 + will be called r6040. This is recommended. 32 + 33 + endif # NET_VENDOR_RDC
+5
drivers/net/ethernet/rdc/Makefile
··· 1 + # 2 + # Makefile for the RDC network device drivers. 3 + # 4 + 5 + obj-$(CONFIG_R6040) += r6040.o
drivers/net/r6040.c drivers/net/ethernet/rdc/r6040.c