Skip to content

Commit 492caff

Browse files
mfischerdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 75530a7 commit 492caff

File tree

5 files changed

+1340
-0
lines changed

5 files changed

+1340
-0
lines changed

drivers/net/ethernet/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ config FEALNX
129129

130130
source "drivers/net/ethernet/natsemi/Kconfig"
131131
source "drivers/net/ethernet/netronome/Kconfig"
132+
source "drivers/net/ethernet/ni/Kconfig"
132133
source "drivers/net/ethernet/8390/Kconfig"
133134

134135
config NET_NETX

drivers/net/ethernet/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/
6161
obj-$(CONFIG_FEALNX) += fealnx.o
6262
obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/
6363
obj-$(CONFIG_NET_VENDOR_NETRONOME) += netronome/
64+
obj-$(CONFIG_NET_VENDOR_NI) += ni/
6465
obj-$(CONFIG_NET_NETX) += netx-eth.o
6566
obj-$(CONFIG_NET_VENDOR_NUVOTON) += nuvoton/
6667
obj-$(CONFIG_NET_VENDOR_NVIDIA) += nvidia/

drivers/net/ethernet/ni/Kconfig

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#
2+
# National Instuments network device configuration
3+
#
4+
5+
config NET_VENDOR_NI
6+
bool "National Instruments Devices"
7+
default y
8+
help
9+
If you have a network (Ethernet) device belonging to this class, say Y.
10+
11+
Note that the answer to this question doesn't directly affect the
12+
kernel: saying N will just cause the configurator to skip all
13+
the questions about National Instrument devices.
14+
If you say Y, you will be asked for your specific device in the
15+
following questions.
16+
17+
if NET_VENDOR_NI
18+
19+
config NI_XGE_MANAGEMENT_ENET
20+
tristate "National Instruments XGE management enet support"
21+
depends on ARCH_ZYNQ
22+
select PHYLIB
23+
help
24+
Simple LAN device for debug or management purposes. Can
25+
support either 10G or 1G PHYs via SFP+ ports.
26+
27+
endif

drivers/net/ethernet/ni/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
obj-$(CONFIG_NI_XGE_MANAGEMENT_ENET) += nixge.o

0 commit comments

Comments
 (0)