freebsd-dev/sys/dev/neta
Mark Johnston caf552a607 mvneta: Fix 64-bit MIB reads
It appears we must read MIB values as 2 4-byte words, lower address
first.  A single 8-byte MIB read returns the value with the lower 4
bytes copied into the upper 4 bytes, resulting in bogus byte counter
values.

Reviewed by:	mw
MFC after:	2 weeks
Sponsored by:	Rubicon Communications, LLC (Netgate)
Differential Revision:	https://reviews.freebsd.org/D27870
2021-01-04 08:32:54 -05:00
..
if_mvneta_fdt.c Implement jumbo frame support in mvneta driver 2020-02-08 13:33:47 +00:00
if_mvneta.c mvneta: Fix 64-bit MIB reads 2021-01-04 08:32:54 -05:00
if_mvnetareg.h
if_mvnetavar.h mvneta: Fix 64-bit MIB reads 2021-01-04 08:32:54 -05:00