From owner-svn-src-head@FreeBSD.ORG Thu Sep 2 18:22:08 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 483FE10656D2; Thu, 2 Sep 2010 18:22:08 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3799C8FC13; Thu, 2 Sep 2010 18:22:08 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o82IM867014883; Thu, 2 Sep 2010 18:22:08 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o82IM89Q014881; Thu, 2 Sep 2010 18:22:08 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <201009021822.o82IM89Q014881@svn.freebsd.org> From: Pyun YongHyeon Date: Thu, 2 Sep 2010 18:22:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r212159 - head/share/man/man4 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 18:22:08 -0000 Author: yongari Date: Thu Sep 2 18:22:06 2010 New Revision: 212159 URL: http://svn.freebsd.org/changeset/base/212159 Log: Document tunable dev.sis.%unit.manual_pad While I'm here Xref vlan(4) as sis(4) supports VLAN oversized frames. Modified: head/share/man/man4/sis.4 Modified: head/share/man/man4/sis.4 ============================================================================== --- head/share/man/man4/sis.4 Thu Sep 2 18:12:54 2010 (r212158) +++ head/share/man/man4/sis.4 Thu Sep 2 18:22:06 2010 (r212159) @@ -30,7 +30,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 28, 2006 +.Dd September 2, 2010 .Dt SIS 4 .Os .Sh NAME @@ -145,6 +145,22 @@ SiS 630, 635, and 735 motherboard chipse .It Soekris Engineering net45xx, net48xx, lan1621, and lan1641 .El +.Sh SYSCTL VARIABLES +The following variable is available as both +.Xr sysctl 8 +variable and +.Xr loader 8 +tunable: +.Bl -tag -width indent +.It Va dev.sis.%unit.manual_pad +This variable controls how to pad short frames for DP83815/DP83816 +controllers on the specified device. +DP83815/DP83816 controllers are known to pad 0xFF for short frames +which is violation of RFC 1042. +A non-zero value have driver manually pad zeros for short frames +with the cost of extra CPU cycles. +The default valus is 0 to let hardware automatically pad short frames. +.El .Sh DIAGNOSTICS .Bl -diag .It "sis%d: couldn't map ports/memory" @@ -190,6 +206,7 @@ the card should be configured correctly. .Xr netintro 4 , .Xr ng_ether 4 , .Xr polling 4 , +.Xr vlan 4 , .Xr ifconfig 8 .Rs .%T SiS 900 and SiS 7016 datasheets