Skip to content

Commit

Permalink
net: ethernet: nixge: Add support for National Instruments XGE netdev
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Moritz Fischer authored and David S. Miller committed Mar 29, 2018
1 parent 75530a7 commit 492caff
Show file tree
Hide file tree
Showing 5 changed files with 1,340 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions drivers/net/ethernet/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
27 changes: 27 additions & 0 deletions drivers/net/ethernet/ni/Kconfig
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions drivers/net/ethernet/ni/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_NI_XGE_MANAGEMENT_ENET) += nixge.o
Loading

0 comments on commit 492caff

Please sign in to comment.