summaryrefslogtreecommitdiffstats
path: root/sys/dev/buslogic/bt_eisa.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2006-12-11 18:00:34 +0000
committerjkim <jkim@FreeBSD.org>2006-12-11 18:00:34 +0000
commit4ac57a46dba275489c3ff518c0ab347870d59644 (patch)
tree62312cfd395d3b332e3ffb33251a9da8576dcc44 /sys/dev/buslogic/bt_eisa.c
parent164381741c8a3a8cdae7fcd8085109a847e2a732 (diff)
downloadFreeBSD-src-4ac57a46dba275489c3ff518c0ab347870d59644.zip
FreeBSD-src-4ac57a46dba275489c3ff518c0ab347870d59644.tar.gz
- Correct collision counter for BCM5705+. This register is read/clear.
- Correct RX packet drop counter for BCM5705+. This register is read/clear and it wraps very quickly under heavy packet drops because only the lower ten bits are valid according to the documentation. However, it seems few more bits are actually valid and the rest bits are always zeros[1]. Therefore, we don't mask them off here. To get accurate packet drop count, we need to check the register from bge_rxeof(). It is commented out for now, not to penalize normal operation. Actual performance impact should be measured later. - Correct integer casting from u_long to uint32_t. Casting is not really needed for all supported platforms but we better do this correctly[2]. Tested by: bde[1] Suggested by: bde[2]
Diffstat (limited to 'sys/dev/buslogic/bt_eisa.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud