In message: <[EMAIL PROTECTED]>
            Ruslan Ermilov <[EMAIL PROTECTED]> writes:
: It's still a watchdog event.  We can make it a separate counter,
: like watchdog_tx_event, and not add it to oerrors, but still show
: it in em_print_hw_stats().  It'd be useful to have this statistics
: available.

I've noticed some drivers have started to export stats via sysctls in
the dev tree.  Maybe that's where it should go?

I've used it for cbb, for example, to report things that are usually
hidden behind bootverbose (more could be useful here):

dev.cbb.1.pribus: 6
dev.cbb.1.secbus: 7
dev.cbb.1.subbus: 7

the code is real simple in the init routine to hook up these sysctl to
a softc variable...

Warner
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to