summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2006-07-25 00:45:55 +0000
committeryongari <yongari@FreeBSD.org>2006-07-25 00:45:55 +0000
commitaa98f2642fd30642b0ee061fb8840b8518993386 (patch)
tree4ef3251e7c557680193d96f0cdfbdb68d8e4e348
parente9264082c6e3b21299c17dcc439eed58688d0485 (diff)
downloadFreeBSD-src-aa98f2642fd30642b0ee061fb8840b8518993386.zip
FreeBSD-src-aa98f2642fd30642b0ee061fb8840b8518993386.tar.gz
Hook up stge(4) to the build.
-rw-r--r--sys/conf/NOTES3
-rw-r--r--sys/conf/files1
-rw-r--r--sys/modules/Makefile1
-rw-r--r--sys/modules/stge/Makefile9
4 files changed, 14 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 2a1fe5e..3310189 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -1785,6 +1785,9 @@ device miibus
# SMC91C90/92/94/95 chips.
# ste: Sundance Technologies ST201 PCI fast ethernet controller, includes
# the D-Link DFE-550TX.
+# stge: Support for gigabit ethernet adapters based on the Sundance/Tamarack
+# TC9021 family of controllers, including the Sundance ST2021/ST2023,
+# the Sundance/Tamarack TC9021, the D-Link DL-4000 and ASUS NX1101.
# ti: Support for PCI gigabit ethernet NICs based on the Alteon Networks
# Tigon 1 and Tigon 2 chipsets. This includes the Alteon AceNIC, the
# 3Com 3c985, the Netgear GA620 and various others.
diff --git a/sys/conf/files b/sys/conf/files
index a089a97..8b77d47 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -952,6 +952,7 @@ dev/stg/tmc18c30_isa.c optional stg isa
dev/stg/tmc18c30_pccard.c optional stg pccard
dev/stg/tmc18c30_pci.c optional stg pci
dev/stg/tmc18c30_subr.c optional stg
+dev/stge/if_stge.c optional stge
dev/streams/streams.c optional streams
dev/sym/sym_hipd.c optional sym \
dependency "$S/dev/sym/sym_{conf,defs}.h"
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 9d430d8..70e4b40 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -231,6 +231,7 @@ SUBDIR= ${_3dfx} \
${_sr} \
ste \
${_stg} \
+ stge \
${_streams} \
sym \
${_syscons} \
diff --git a/sys/modules/stge/Makefile b/sys/modules/stge/Makefile
new file mode 100644
index 0000000..721a42d
--- /dev/null
+++ b/sys/modules/stge/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/stge
+
+KMOD= if_stge
+SRCS= if_stge.c device_if.h bus_if.h pci_if.h
+SRCS+= miibus_if.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud