]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Partially revert r199035.
authorPyun YongHyeon <yongari@FreeBSD.org>
Sun, 8 Nov 2009 19:59:54 +0000 (19:59 +0000)
committerPyun YongHyeon <yongari@FreeBSD.org>
Sun, 8 Nov 2009 19:59:54 +0000 (19:59 +0000)
commitf5a034f95a3eb1e4c66310499d671929d89b3b43
tree5f0350156c9887253577250d8bbf3f0cd78c48bc
parentf9917533212e10a3dea23dbd65f95398be6dd889
Partially revert r199035.
Revision 1.158 says only lower ten bits of
BGE_RXLP_LOCSTAT_IFIN_DROPS register is valid. For BCM5761 case it
seems the controller maintains 16bits value for the register.
However 16bits are still too small to count all dropped packets
happened in a second. To get a correct counter we have to read the
register in bge_rxeof() which would be too expensive.

Pointed out by: bde
sys/dev/bge/if_bge.c