forked from Minki/linux
net: ethernet: nixge: Add support for National Instruments XGE netdev
Add support for the National Instruments XGE 1/10G network device. It uses the EEPROM on the board via NVMEM. Signed-off-by: Moritz Fischer <mdf@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
75530a78de
commit
492caffa8a
@ -129,6 +129,7 @@ config FEALNX
|
||||
|
||||
source "drivers/net/ethernet/natsemi/Kconfig"
|
||||
source "drivers/net/ethernet/netronome/Kconfig"
|
||||
source "drivers/net/ethernet/ni/Kconfig"
|
||||
source "drivers/net/ethernet/8390/Kconfig"
|
||||
|
||||
config NET_NETX
|
||||
|
@ -61,6 +61,7 @@ obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/
|
||||
obj-$(CONFIG_FEALNX) += fealnx.o
|
||||
obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/
|
||||
obj-$(CONFIG_NET_VENDOR_NETRONOME) += netronome/
|
||||
obj-$(CONFIG_NET_VENDOR_NI) += ni/
|
||||
obj-$(CONFIG_NET_NETX) += netx-eth.o
|
||||
obj-$(CONFIG_NET_VENDOR_NUVOTON) += nuvoton/
|
||||
obj-$(CONFIG_NET_VENDOR_NVIDIA) += nvidia/
|
||||
|
27
drivers/net/ethernet/ni/Kconfig
Normal file
27
drivers/net/ethernet/ni/Kconfig
Normal file
@ -0,0 +1,27 @@
|
||||
#
|
||||
# National Instuments network device configuration
|
||||
#
|
||||
|
||||
config NET_VENDOR_NI
|
||||
bool "National Instruments Devices"
|
||||
default y
|
||||
help
|
||||
If you have a network (Ethernet) device belonging to this class, say Y.
|
||||
|
||||
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 National Instrument devices.
|
||||
If you say Y, you will be asked for your specific device in the
|
||||
following questions.
|
||||
|
||||
if NET_VENDOR_NI
|
||||
|
||||
config NI_XGE_MANAGEMENT_ENET
|
||||
tristate "National Instruments XGE management enet support"
|
||||
depends on ARCH_ZYNQ
|
||||
select PHYLIB
|
||||
help
|
||||
Simple LAN device for debug or management purposes. Can
|
||||
support either 10G or 1G PHYs via SFP+ ports.
|
||||
|
||||
endif
|
1
drivers/net/ethernet/ni/Makefile
Normal file
1
drivers/net/ethernet/ni/Makefile
Normal file
@ -0,0 +1 @@
|
||||
obj-$(CONFIG_NI_XGE_MANAGEMENT_ENET) += nixge.o
|
1310
drivers/net/ethernet/ni/nixge.c
Normal file
1310
drivers/net/ethernet/ni/nixge.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user