cvs commit: src/sys/dev/vr if_vr.c if_vrreg.h
Pyun YongHyeon
yongari at FreeBSD.org
Wed Jul 16 08:02:35 UTC 2008
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
More information about the cvs-src
mailing list