summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2006-06-26 23:41:07 +0000
committerobrien <obrien@FreeBSD.org>2006-06-26 23:41:07 +0000
commit5094b5a23219e2700799cca9f11ed33575396465 (patch)
tree647cb4be4e529e45a1fdb3b8800e42b04e9eb1e1 /sys/modules
parent03c09be4f6fd137bb5fc9701399a50581cbbdca3 (diff)
downloadFreeBSD-src-5094b5a23219e2700799cca9f11ed33575396465.zip
FreeBSD-src-5094b5a23219e2700799cca9f11ed33575396465.tar.gz
Add a pure open source nForce Ethernet driver, under BSDL.
This driver was ported from OpenBSD by Shigeaki Tagashira <shigeaki@se.hiroshima-u.ac.jp> and posted at http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html It was additionally cleaned up by me. It is still a work-in-progress and thus is purposefully not in GENERIC. And it conflicts with nve(4), so only one should be loaded.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile3
-rw-r--r--sys/modules/nfe/Makefile8
2 files changed, 11 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 34e3b54..9d430d8 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -166,6 +166,7 @@ SUBDIR= ${_3dfx} \
${_ncv} \
${_ndis} \
netgraph \
+ ${_nfe} \
nfsclient \
nfsserver \
nge \
@@ -415,6 +416,7 @@ _ipw= ipw
_iwi= iwi
_mly= mly
_mxge= mxge
+_nfe= nfe
_nve= nve
.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
.if exists(${.CURDIR}/../crypto/via)
@@ -473,6 +475,7 @@ _iwi= iwi
_mly= mly
_mxge= mxge
_ndis= ndis
+_nfe= nfe
_nve= nve
_pccard= pccard
_rr232x= rr232x
diff --git a/sys/modules/nfe/Makefile b/sys/modules/nfe/Makefile
new file mode 100644
index 0000000..061590d
--- /dev/null
+++ b/sys/modules/nfe/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/nfe
+
+KMOD= if_nfe
+SRCS= if_nfe.c opt_bdg.h device_if.h bus_if.h pci_if.h miibus_if.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud