summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2010-04-26 17:03:56 +0000
committeryongari <yongari@FreeBSD.org>2010-04-26 17:03:56 +0000
commit6834582d3b1e4ad8f5d6518a45a1f9911cb89dfe (patch)
tree78e03d52069c2a18e8c6b0394c0314524c8b2a2a /sys/modules
parentd882f11f9eb369d1f2b330311608b116bdf3c363 (diff)
downloadFreeBSD-src-6834582d3b1e4ad8f5d6518a45a1f9911cb89dfe.zip
FreeBSD-src-6834582d3b1e4ad8f5d6518a45a1f9911cb89dfe.tar.gz
MFC r206625:
Add driver for Silicon Integrated Systems SiS190/191 Fast/Gigabit Ethernet. This driver was written by Alexander Pohoyda and greatly enhanced by Nikolay Denev. I don't have these hardwares but this driver was tested by Nikolay Denev and xclin. Because SiS didn't release data sheet for this controller, programming information came from Linux driver and OpenSolaris. Unlike other open source driver for SiS190/191, sge(4) takes full advantage of TX/RX checksum offloading and does not require additional copy operation in RX handler. The controller seems to have advanced offloading features like VLAN hardware tag insertion/stripping, TCP segmentation offload(TSO) as well as jumbo frame support but these features are not available yet. Special thanks to xclin <xclin<> cs dot nctu dot edu dot tw> who sent fix for receiving VLAN oversized frames.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile1
-rw-r--r--sys/modules/sge/Makefile8
2 files changed, 9 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 8ae3b43..5c1ebb2 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -249,6 +249,7 @@ SUBDIR= ${_3dfx} \
sdhci \
sem \
sf \
+ sge \
siba_bwn \
siis \
sis \
diff --git a/sys/modules/sge/Makefile b/sys/modules/sge/Makefile
new file mode 100644
index 0000000..5f8c587
--- /dev/null
+++ b/sys/modules/sge/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/sge
+
+KMOD= if_sge
+SRCS= if_sge.c device_if.h bus_if.h pci_if.h miibus_if.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud