cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h
Jung-uk Kim
jkim at FreeBSD.org
Thu Nov 30 17:08:53 PST 2006
jkim 2006-12-01 01:08:52 UTC
FreeBSD src repository
Modified files:
sys/dev/bge if_bge.c if_bgereg.h
Log:
Simplify statistics updates, remove redundant register reads, and add
discarded RX packets to input error for BCM5705 or newer chipset as the others.
Unfortunately we cannot do the same for output errors because ifOutDiscards
equivalent register does not exist. While I am here, replace misleading and
wrong BGE_RX_STATS/BGE_TX_STATS with BGE_MAC_STATS. They were reversed but
worked accidently.
Revision Changes Path
1.153 +15 -23 src/sys/dev/bge/if_bge.c
1.58 +4 -5 src/sys/dev/bge/if_bgereg.h
More information about the cvs-src
mailing list