Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2010 17:03:56 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r207227 - in stable/8/sys: amd64/conf boot/forth conf dev/sge i386/conf modules modules/sge
Message-ID:  <201004261703.o3QH3uIr044496@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Mon Apr 26 17:03:56 2010
New Revision: 207227
URL: http://svn.freebsd.org/changeset/base/207227

Log:
  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.

Added:
  stable/8/sys/dev/sge/
     - copied from r206625, head/sys/dev/sge/
  stable/8/sys/modules/sge/
     - copied from r206625, head/sys/modules/sge/
Modified:
  stable/8/sys/amd64/conf/GENERIC
  stable/8/sys/boot/forth/loader.conf
  stable/8/sys/conf/NOTES
  stable/8/sys/conf/files
  stable/8/sys/i386/conf/GENERIC
  stable/8/sys/modules/Makefile
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/geom/sched/   (props changed)

Modified: stable/8/sys/amd64/conf/GENERIC
==============================================================================
--- stable/8/sys/amd64/conf/GENERIC	Mon Apr 26 16:20:18 2010	(r207226)
+++ stable/8/sys/amd64/conf/GENERIC	Mon Apr 26 17:03:56 2010	(r207227)
@@ -224,6 +224,7 @@ device		pcn		# AMD Am79C97x PCI 10/100 (
 device		re		# RealTek 8139C+/8169/8169S/8110S
 device		rl		# RealTek 8129/8139
 device		sf		# Adaptec AIC-6915 (``Starfire'')
+device		sge		# Silicon Integrated Systems SiS190/191
 device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
 device		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
 device		ste		# Sundance ST201 (D-Link DFE-550TX)

Modified: stable/8/sys/boot/forth/loader.conf
==============================================================================
--- stable/8/sys/boot/forth/loader.conf	Mon Apr 26 16:20:18 2010	(r207226)
+++ stable/8/sys/boot/forth/loader.conf	Mon Apr 26 17:03:56 2010	(r207227)
@@ -270,6 +270,7 @@ if_rl_load="NO"			# RealTek 8129/8139
 if_rue_load="NO"		# RealTek RTL8150 USB to Fast Ethernet
 if_sbni_load="NO"		# Granch SBNI12 leased line adapters
 if_sf_load="NO"			# Adaptec Duralink PCI (AIC-6915 "starfire")
+if_sge_load="NO"		# Silicon Integrated Systems SiS190/191
 if_sis_load="NO"		# Silicon Integrated Systems SiS 900/7016
 if_sk_load="NO"			# SysKonnect SK-984x series PCI Gigabit Ethernet
 if_sn_load="NO"			# SMC 91Cxx

Modified: stable/8/sys/conf/NOTES
==============================================================================
--- stable/8/sys/conf/NOTES	Mon Apr 26 16:20:18 2010	(r207226)
+++ stable/8/sys/conf/NOTES	Mon Apr 26 17:03:56 2010	(r207227)
@@ -1906,6 +1906,7 @@ device		miibus
 #       This includes dual and quad port cards, as well as one 100baseFX card.
 #       Most of these are 64-bit PCI devices, except for one single port
 #       card which is 32-bit.
+# sge:  Silicon Integrated Systems SiS190/191 Fast/Gigabit Ethernet adapter
 # sis:  Support for NICs based on the Silicon Integrated Systems SiS 900,
 #       SiS 7016 and NS DP83815 PCI fast ethernet controller chips.
 # sk:   Support for the SysKonnect SK-984x series PCI gigabit ethernet NICs.
@@ -2000,6 +2001,7 @@ device		re		# RealTek 8139C+/8169/8169S/
 device		rl		# RealTek 8129/8139
 device		pcn		# AMD Am79C97x PCI 10/100 NICs
 device		sf		# Adaptec AIC-6915 (``Starfire'')
+device		sge		# Silicon Integrated Systems SiS190/191
 device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
 device		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
 device		ste		# Sundance ST201 (D-Link DFE-550TX)

Modified: stable/8/sys/conf/files
==============================================================================
--- stable/8/sys/conf/files	Mon Apr 26 16:20:18 2010	(r207226)
+++ stable/8/sys/conf/files	Mon Apr 26 17:03:56 2010	(r207227)
@@ -1476,6 +1476,7 @@ dev/scd/scd.c			optional scd isa
 dev/scd/scd_isa.c		optional scd isa
 dev/sdhci/sdhci.c		optional sdhci pci
 dev/sf/if_sf.c			optional sf pci
+dev/sge/if_sge.c		optional sge pci
 dev/si/si.c			optional si
 dev/si/si2_z280.c		optional si
 dev/si/si3_t225.c		optional si

Modified: stable/8/sys/i386/conf/GENERIC
==============================================================================
--- stable/8/sys/i386/conf/GENERIC	Mon Apr 26 16:20:18 2010	(r207226)
+++ stable/8/sys/i386/conf/GENERIC	Mon Apr 26 17:03:56 2010	(r207227)
@@ -235,6 +235,7 @@ device		pcn		# AMD Am79C97x PCI 10/100 (
 device		re		# RealTek 8139C+/8169/8169S/8110S
 device		rl		# RealTek 8129/8139
 device		sf		# Adaptec AIC-6915 (``Starfire'')
+device		sge		# Silicon Integrated Systems SiS190/191
 device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
 device		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
 device		ste		# Sundance ST201 (D-Link DFE-550TX)

Modified: stable/8/sys/modules/Makefile
==============================================================================
--- stable/8/sys/modules/Makefile	Mon Apr 26 16:20:18 2010	(r207226)
+++ stable/8/sys/modules/Makefile	Mon Apr 26 17:03:56 2010	(r207227)
@@ -249,6 +249,7 @@ SUBDIR=	${_3dfx} \
 	sdhci \
 	sem \
 	sf \
+	sge \
 	siba_bwn \
 	siis \
 	sis \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004261703.o3QH3uIr044496>