From owner-cvs-src-old@FreeBSD.ORG Thu Apr 29 18:14:25 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 7F6461065673 for ; Thu, 29 Apr 2010 18:14:25 +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 6D4908FC14 for ; Thu, 29 Apr 2010 18:14:25 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o3TIEPIf051154 for ; Thu, 29 Apr 2010 18:14:25 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o3TIEPEF051153 for cvs-src-old@freebsd.org; Thu, 29 Apr 2010 18:14:25 GMT (envelope-from yongari@repoman.freebsd.org) Message-Id: <201004291814.o3TIEPEF051153@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to yongari@repoman.freebsd.org using -f From: Pyun YongHyeon Date: Thu, 29 Apr 2010 18:14:14 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/sge if_sge.c if_sgereg.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: Thu, 29 Apr 2010 18:14:25 -0000 yongari 2010-04-29 18:14:14 UTC FreeBSD src repository Modified files: sys/dev/sge if_sge.c if_sgereg.h Log: SVN rev 207380 on 2010-04-29 18:14:14Z by yongari Enable VLAN hardware tag insertion/stripping. Due to lack of SiS190 controller, I'm not sure whether this is also applicable to SiS190 so this feature is only activated on SiS191 controller. In theory, controller reinitialization is not needed when VLAN tag configuration is changed, but xclin said controller was not stable whenever toggling VLAN tag bit. To address that, sge(4) reinitialize controller for VLAN configuration which seems to work as expected. VLAN tag information for TX/RX descriptor and configure bit of RxMacControl register was found by xclin. Submitted by: xclin cs dot nctu dot edu dot tw > (initial version) Tested by: xclin cs dot nctu dot edu dot tw > Revision Changes Path 1.8 +54 -4 src/sys/dev/sge/if_sge.c 1.4 +6 -2 src/sys/dev/sge/if_sgereg.h