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>
This commit is contained in:
29
drivers/net/ethernet/nuvoton/Kconfig
Normal file
29
drivers/net/ethernet/nuvoton/Kconfig
Normal file
@@ -0,0 +1,29 @@
|
||||
#
|
||||
# Nuvoton network device configuration
|
||||
#
|
||||
|
||||
config NET_VENDOR_NUVOTON
|
||||
bool "Nuvoton devices"
|
||||
depends on ARM && ARCH_W90X900
|
||||
---help---
|
||||
If you have a network (Ethernet) card belonging to this class, say Y
|
||||
and read the Ethernet-HOWTO, available from
|
||||
<http://www.tldp.org/docs.html#howto>.
|
||||
|
||||
Note that the answer to this question doesn't directly affect the
|
||||
kernel: saying N will just cause the configurator to skip all
|
||||
the questions about Nuvoton cards. If you say Y, you will be asked
|
||||
for your specific card in the following questions.
|
||||
|
||||
if NET_VENDOR_NUVOTON
|
||||
|
||||
config W90P910_ETH
|
||||
tristate "Nuvoton w90p910 Ethernet support"
|
||||
depends on ARM && ARCH_W90X900
|
||||
select PHYLIB
|
||||
select MII
|
||||
---help---
|
||||
Say Y here if you want to use built-in Ethernet ports
|
||||
on w90p910 processor.
|
||||
|
||||
endif # NET_VENDOR_NUVOTON
|
5
drivers/net/ethernet/nuvoton/Makefile
Normal file
5
drivers/net/ethernet/nuvoton/Makefile
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# Makefile for the Nuvoton network device drivers.
|
||||
#
|
||||
|
||||
obj-$(CONFIG_W90P910_ETH) += w90p910_ether.o
|
1123
drivers/net/ethernet/nuvoton/w90p910_ether.c
Normal file
1123
drivers/net/ethernet/nuvoton/w90p910_ether.c
Normal file
Diff onderdrukt omdat het te groot bestand
Laad Diff
Verwijs in nieuw issue
Block a user