lpc32xx: Added ethernet driver
This patch adds an ethernet driver for the LPC32xx ARM SoC. Signed-off-by: Roland Stigge <stigge@antcom.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1f5f3a75e2
commit
b7370112f5
5 changed files with 1615 additions and 0 deletions
|
@ -126,6 +126,7 @@ config NET_NETX
|
|||
|
||||
source "drivers/net/ethernet/nuvoton/Kconfig"
|
||||
source "drivers/net/ethernet/nvidia/Kconfig"
|
||||
source "drivers/net/ethernet/nxp/Kconfig"
|
||||
source "drivers/net/ethernet/octeon/Kconfig"
|
||||
source "drivers/net/ethernet/oki-semi/Kconfig"
|
||||
|
||||
|
|
|
@ -47,6 +47,7 @@ obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/
|
|||
obj-$(CONFIG_NET_NETX) += netx-eth.o
|
||||
obj-$(CONFIG_NET_VENDOR_NUVOTON) += nuvoton/
|
||||
obj-$(CONFIG_NET_VENDOR_NVIDIA) += nvidia/
|
||||
obj-$(CONFIG_LPC_ENET) += nxp/
|
||||
obj-$(CONFIG_OCTEON_MGMT_ETHERNET) += octeon/
|
||||
obj-$(CONFIG_NET_VENDOR_OKI) += oki-semi/
|
||||
obj-$(CONFIG_ETHOC) += ethoc.o
|
||||
|
|
8
drivers/net/ethernet/nxp/Kconfig
Normal file
8
drivers/net/ethernet/nxp/Kconfig
Normal file
|
@ -0,0 +1,8 @@
|
|||
config LPC_ENET
|
||||
tristate "NXP ethernet MAC on LPC devices"
|
||||
depends on ARCH_LPC32XX
|
||||
select PHYLIB
|
||||
help
|
||||
Say Y or M here if you want to use the NXP ethernet MAC included on
|
||||
some NXP LPC devices. You can safely enable this option for LPC32xx
|
||||
SoC. Also available as a module.
|
1
drivers/net/ethernet/nxp/Makefile
Normal file
1
drivers/net/ethernet/nxp/Makefile
Normal file
|
@ -0,0 +1 @@
|
|||
obj-$(CONFIG_LPC_ENET) += lpc_eth.o
|
1604
drivers/net/ethernet/nxp/lpc_eth.c
Normal file
1604
drivers/net/ethernet/nxp/lpc_eth.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue