summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorphilip <philip@FreeBSD.org>2011-11-16 17:11:13 +0000
committerphilip <philip@FreeBSD.org>2011-11-16 17:11:13 +0000
commitd8198c572a23ba57ab4a97b436b0cfc41401268c (patch)
tree9a743f33d1ace33f6ed4c5c3d2fcd59a0496a32d /sys/modules
parent3692d0165926e89d0ad0d746888b510d4e49348c (diff)
downloadFreeBSD-src-d8198c572a23ba57ab4a97b436b0cfc41401268c.zip
FreeBSD-src-d8198c572a23ba57ab4a97b436b0cfc41401268c.tar.gz
Add the sfxge(4) device driver, providing support for 10Gb Ethernet adapters
based on Solarflare SFC9000 family controllers. The driver supports jumbo frames, transmit/receive checksum offload, TCP Segmentation Offload (TSO), Large Receive Offload (LRO), VLAN checksum offload, VLAN TSO, and Receive Side Scaling (RSS) using MSI-X interrupts. This work was sponsored by Solarflare Communications, Inc. My sincere thanks to Ben Hutchings for doing a lot of the hard work! Sponsored by: Solarflare Communications, Inc. MFC after: 3 weeks
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile1
-rw-r--r--sys/modules/sfxge/Makefile25
2 files changed, 26 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 17d5be0..c3b13e1 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -275,6 +275,7 @@ SUBDIR= ${_3dfx} \
sem \
send \
sf \
+ sfxge \
sge \
siba_bwn \
siftr \
diff --git a/sys/modules/sfxge/Makefile b/sys/modules/sfxge/Makefile
new file mode 100644
index 0000000..f18e8ad
--- /dev/null
+++ b/sys/modules/sfxge/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+KMOD= sfxge
+
+SFXGE= ${.CURDIR}/../../dev/sfxge
+
+SRCS= device_if.h bus_if.h pci_if.h
+SRCS+= opt_inet.h opt_zero.h opt_sched.h
+
+.PATH: ${.CURDIR}/../../dev/sfxge
+SRCS+= sfxge.c sfxge_dma.c sfxge_ev.c
+SRCS+= sfxge_intr.c sfxge_mcdi.c
+SRCS+= sfxge_port.c sfxge_rx.c sfxge_tx.c
+
+.PATH: ${.CURDIR}/../../dev/sfxge/common
+SRCS+= efx_ev.c efx_intr.c efx_mac.c efx_mcdi.c efx_nic.c
+SRCS+= efx_nvram.c efx_phy.c efx_port.c efx_rx.c efx_sram.c efx_tx.c
+SRCS+= efx_vpd.c efx_wol.c
+
+SRCS+= siena_mac.c siena_nic.c siena_nvram.c siena_phy.c
+SRCS+= siena_sram.c siena_vpd.c
+
+DEBUG_FLAGS= -g -DDEBUG=1
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud