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

nuvoton: Move the Nuvoton driver

Move the Nuvoton driver into drivers/net/ethernet/nuvoton/ and
make the necessary Kconfig and Makefile changes.

CC: Wan ZongShun <mcuos.com@gmail.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

+37 -11
+1 -1
MAINTAINERS
··· 1127 1127 F: drivers/input/keyboard/w90p910_keypad.c 1128 1128 F: drivers/input/touchscreen/w90p910_ts.c 1129 1129 F: drivers/watchdog/nuc900_wdt.c 1130 - F: drivers/net/arm/w90p910_ether.c 1130 + F: drivers/net/ethernet/nuvoton/w90p910_ether.c 1131 1131 F: drivers/mtd/nand/nuc900_nand.c 1132 1132 F: drivers/rtc/rtc-nuc900.c 1133 1133 F: drivers/spi/spi_nuc900.c
-9
drivers/net/arm/Kconfig
··· 10 10 help 11 11 If you wish to compile a kernel for the AT91RM9200 and enable 12 12 ethernet support, then you should always answer Y to this. 13 - 14 - config W90P910_ETH 15 - tristate "Nuvoton w90p910 Ethernet support" 16 - depends on ARM && ARCH_W90X900 17 - select PHYLIB 18 - select MII 19 - help 20 - Say Y here if you want to use built-in Ethernet ports 21 - on w90p910 processor.
-1
drivers/net/arm/Makefile
··· 4 4 # 5 5 6 6 obj-$(CONFIG_ARM_AT91_ETHER) += at91_ether.o 7 - obj-$(CONFIG_W90P910_ETH) += w90p910_ether.o
drivers/net/arm/w90p910_ether.c drivers/net/ethernet/nuvoton/w90p910_ether.c
+1
drivers/net/ethernet/Kconfig
··· 37 37 source "drivers/net/ethernet/myricom/Kconfig" 38 38 source "drivers/net/ethernet/natsemi/Kconfig" 39 39 source "drivers/net/ethernet/8390/Kconfig" 40 + source "drivers/net/ethernet/nuvoton/Kconfig" 40 41 source "drivers/net/ethernet/oki-semi/Kconfig" 41 42 source "drivers/net/ethernet/pasemi/Kconfig" 42 43 source "drivers/net/ethernet/qlogic/Kconfig"
+1
drivers/net/ethernet/Makefile
··· 28 28 obj-$(CONFIG_NET_VENDOR_MICREL) += micrel/ 29 29 obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/ 30 30 obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/ 31 + obj-$(CONFIG_NET_VENDOR_NUVOTON) += nuvoton/ 31 32 obj-$(CONFIG_NET_VENDOR_OKI) += oki-semi/ 32 33 obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/ 33 34 obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
+29
drivers/net/ethernet/nuvoton/Kconfig
··· 1 + # 2 + # Nuvoton network device configuration 3 + # 4 + 5 + config NET_VENDOR_NUVOTON 6 + bool "Nuvoton devices" 7 + depends on ARM && ARCH_W90X900 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 Nuvoton cards. If you say Y, you will be asked 16 + for your specific card in the following questions. 17 + 18 + if NET_VENDOR_NUVOTON 19 + 20 + config W90P910_ETH 21 + tristate "Nuvoton w90p910 Ethernet support" 22 + depends on ARM && ARCH_W90X900 23 + select PHYLIB 24 + select MII 25 + ---help--- 26 + Say Y here if you want to use built-in Ethernet ports 27 + on w90p910 processor. 28 + 29 + endif # NET_VENDOR_NUVOTON
+5
drivers/net/ethernet/nuvoton/Makefile
··· 1 + # 2 + # Makefile for the Nuvoton network device drivers. 3 + # 4 + 5 + obj-$(CONFIG_W90P910_ETH) += w90p910_ether.o