From owner-cvs-src-old@FreeBSD.ORG Fri Oct 8 20:51:55 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60AD11065695 for ; Fri, 8 Oct 2010 20:51:55 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC8C8FC1B for ; Fri, 8 Oct 2010 20:51:55 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o98Kptsi030064 for ; Fri, 8 Oct 2010 20:51:55 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o98Kptfr030063 for cvs-src-old@freebsd.org; Fri, 8 Oct 2010 20:51:55 GMT (envelope-from yongari@repoman.freebsd.org) Message-Id: <201010082051.o98Kptfr030063@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to yongari@repoman.freebsd.org using -f From: Pyun YongHyeon Date: Fri, 8 Oct 2010 20:51:33 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/sis if_sis.c if_sisreg.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2010 20:51:55 -0000 yongari 2010-10-08 20:51:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/sis if_sis.c if_sisreg.h Log: SVN rev 213626 on 2010-10-08 20:51:33Z by yongari MFC r212157: Unlike most other controllers, NS DP83815/DP83816 controllers seem to pad with 0xFF when it encounter short frames. According to RFC 1042 the pad bytes should be 0x00. Because manual padding consumes extra CPU cycles, introduce a new tunable which controls the padding behavior. Turning this tunable on will have driver pad manually but it's disabled by default. Users can enable software padding by setting the following tunable to non-zero value. dev.sis.%d.manual_pad="1" PR: kern/35422 (patch not used) Revision Changes Path 1.9.2.10 +77 -9 src/sys/dev/sis/if_sis.c 1.2.4.7 +4 -1 src/sys/dev/sis/if_sisreg.h