Date: Wed, 23 Jul 2008 08:14:33 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/vr if_vr.c if_vrreg.h Message-ID: <200807230814.m6N8El2x043045@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2008-07-23 08:14:33 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/dev/vr if_vr.c if_vrreg.h
Log:
SVN rev 180736 on 2008-07-23 08:14:33Z by yongari
MFC r180551.
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.
Revision Changes Path
1.130.2.2 +2 -2 src/sys/dev/vr/if_vr.c
1.36.2.2 +2 -1 src/sys/dev/vr/if_vrreg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807230814.m6N8El2x043045>
