cvs commit: src/sys/pci if_rl.c
Pyun YongHyeon
yongari at FreeBSD.org
Thu Apr 17 04:16:52 UTC 2008
yongari 2008-04-17 04:16:50 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/pci if_rl.c
Log:
MFC if_rl.c, rev 1.174 to RELENG_7.
It seems that RealTek 8129/8139 chip reports invalid length of
received frame under certain conditions. wpaul said the length
0xfff0 is special meaning that indicates hardware is in the
process of copying a packet into host memory. But it seems
there are other cases that hardware is busy or stuck in bad
situation even if the received frame length is not 0xfff0.
To work-around this condition, add a check that verifys that
recevied frame length is in valid range. If received length is out
of range reinitialize hardware to recover from stuck condition.
Revision Changes Path
1.170.2.3 +5 -3 src/sys/pci/if_rl.c
More information about the cvs-src
mailing list