aboutsummaryrefslogtreecommitdiff
path: root/sys/mips
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2014-04-17 12:33:26 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2014-04-17 12:33:26 +0000
commit4a9af7d53f0907ef332c935c82224e0f45cee6cf (patch)
tree1bf44f1d9bdd35039f3fccc0671dbba32fca9f32 /sys/mips
parent99143cd46cee62bb7cdaea65e72d31e9bd07136c (diff)
downloadsrc-4a9af7d53f0907ef332c935c82224e0f45cee6cf.tar.gz
src-4a9af7d53f0907ef332c935c82224e0f45cee6cf.zip
Add the initial version of if_nf10bmac(4), a driver to support an
NetFPGA-10G Embedded CPU Ethernet Core. The current version operates on a simple PIO based interface connected to a NetFPGA-10G port. To avoid confusion: this driver operates on a CPU running on the FPGA, e.g. BERI/mips, and is not suited for the PCI host interface. MFC after: 1 week Relnotes: yes Sponsored by: DARPA/AFRL
Notes
Notes: svn path=/head/; revision=264601
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/beri/files.beri2
-rw-r--r--sys/mips/conf/BERI_NETFPGA_MDROOT5
2 files changed, 7 insertions, 0 deletions
diff --git a/sys/mips/beri/files.beri b/sys/mips/beri/files.beri
index de7ccc3e3c24..ffd70fec2e91 100644
--- a/sys/mips/beri/files.beri
+++ b/sys/mips/beri/files.beri
@@ -6,6 +6,8 @@ dev/altera/jtag_uart/altera_jtag_uart_cons.c optional altera_jtag_uart
dev/altera/jtag_uart/altera_jtag_uart_tty.c optional altera_jtag_uart
dev/altera/jtag_uart/altera_jtag_uart_fdt.c optional altera_jtag_uart fdt
dev/altera/jtag_uart/altera_jtag_uart_nexus.c optional altera_jtag_uart
+dev/netfpga10g/nf10bmac/if_nf10bmac_fdt.c optional netfpga10g_nf10bmac fdt
+dev/netfpga10g/nf10bmac/if_nf10bmac.c optional netfpga10g_nf10bmac
dev/terasic/de4led/terasic_de4led.c optional terasic_de4led
dev/terasic/de4led/terasic_de4led_fdt.c optional terasic_de4led fdt
dev/terasic/de4led/terasic_de4led_nexus.c optional terasic_de4led
diff --git a/sys/mips/conf/BERI_NETFPGA_MDROOT b/sys/mips/conf/BERI_NETFPGA_MDROOT
index bd7b3a426750..2ba4917d007a 100644
--- a/sys/mips/conf/BERI_NETFPGA_MDROOT
+++ b/sys/mips/conf/BERI_NETFPGA_MDROOT
@@ -19,6 +19,11 @@ makeoptions FDT_DTS_FILE=beri-netfpga.dts
#device uart
device altera_jtag_uart
+device bpf
+
+options DEVICE_POLLING
+device netfpga10g_nf10bmac
+
#
# This kernel configuration uses an embedded memory root file system.
# Adjust the following path and size based on local requirements.