CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2023/06/25 16:36:09

Modified files:
        sys/dev/fdt    : if_dwge.c 

Log message:
Provide kstats based on the byte and packet counters available in some
dwge(4) implementations.  The counters are all 32 bit, so enable reset-on-read
and accumulate them into 64 bit software counters, and enable the MMC
interrupts that indicate one or more counters is halfway to overflowing.
Tested on an RK3399, which has the counters, and an Allwinner A20, which
doesn't.

ok dlg@

Reply via email to