Date: Mon, 14 Jul 2003 08:06:54 -0700 (PDT) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/utopia utopia.c utopia.h Message-ID: <200307141506.h6EF6sea066692@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
harti 2003/07/14 08:06:54 PDT
FreeBSD src repository
Modified files:
sys/dev/utopia utopia.c utopia.h
Log:
Implement statistics for the PHY chips. Statistics are hold in
64-bit counters that wrap on overflow. They are collecte once per
second from the chips. Currently they can be retrieved via a sysctl phy_stats.
A write of an arbitrary value to the sysctl atomically retrieves the
statistics and clears them.
Revision Changes Path
1.3 +255 -4 src/sys/dev/utopia/utopia.c
1.3 +25 -0 src/sys/dev/utopia/utopia.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307141506.h6EF6sea066692>
