From owner-cvs-all@FreeBSD.ORG Wed Jul 16 08:02:35 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 121FF106564A; Wed, 16 Jul 2008 08:02:35 +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 05B758FC1A; Wed, 16 Jul 2008 08:02:35 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m6G82YEP006703; Wed, 16 Jul 2008 08:02:34 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m6G82YVw006702; Wed, 16 Jul 2008 08:02:34 GMT (envelope-from yongari@repoman.freebsd.org) Message-Id: <200807160802.m6G82YVw006702@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to yongari@repoman.freebsd.org using -f From: Pyun YongHyeon Date: Wed, 16 Jul 2008 08:02:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/vr if_vr.c if_vrreg.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2008 08:02:35 -0000 yongari 2008-07-16 08:02:23 UTC FreeBSD src repository Modified files: sys/dev/vr if_vr.c if_vrreg.h Log: SVN rev 180551 on 2008-07-16 08:02:23Z by yongari Fix VR_RXSTAT_RX_OK bit definition which lasted for more than 9 years. All datasheet I have indicates the bit 15 is the VR_RXSTAT_RX_OK. The bit 14 is reserved for all Rhine family except VT6105M. VT6105M uses that bit to indicate a VLAN frame with matching CAM VLAN id. Use the VR_RXSTAT_RX_OK instead of VR_RXSTAT_RXERR when vr(4) checks the validity of received frame. This should fix occasional dropping frames on VT6105M. Tested by: Goran Lowkrantz ( goran.lowkrantz at ismobile dot com ) MFC after: 1 week Revision Changes Path 1.131 +2 -2 src/sys/dev/vr/if_vr.c 1.37 +2 -1 src/sys/dev/vr/if_vrreg.h