aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/utopia.9
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2003-07-14 15:08:11 +0000
committerHartmut Brandt <harti@FreeBSD.org>2003-07-14 15:08:11 +0000
commit84853c964813651326e74f58b6bb6555914084a5 (patch)
tree4336c4eeee02613de3387d4e004c692b62a0a46e /share/man/man9/utopia.9
parentd41c52a7f097ba8f04b4266a35dca9f3d96dc383 (diff)
downloadsrc-84853c964813651326e74f58b6bb6555914084a5.tar.gz
src-84853c964813651326e74f58b6bb6555914084a5.zip
Document the PHY chip statistics.
Notes
Notes: svn path=/head/; revision=117553
Diffstat (limited to 'share/man/man9/utopia.9')
-rw-r--r--share/man/man9/utopia.95
1 files changed, 5 insertions, 0 deletions
diff --git a/share/man/man9/utopia.9 b/share/man/man9/utopia.9
index 8716bd6e4a53..20c856ef51e0 100644
--- a/share/man/man9/utopia.9
+++ b/share/man/man9/utopia.9
@@ -60,6 +60,8 @@
.Fn utopia_set_loopback "struct utopia *utp" "u_int mode"
.Ft void
.Fn utopia_intr "struct utopia *utp"
+.Ft void
+.Fn utopia_update_stats "struct utopia *utp"
.Sh DESCRIPTION
This module is used by all ATM drivers for cards that use a number of known
PHY chips to provide uniform functionality.
@@ -116,6 +118,7 @@ struct utopia {
u_int carrier; /* carrier state */
u_int loopback; /* loopback mode */
const struct utopia_chip *chip; /* chip operations */
+ struct utopia_stats1 stats; /* statistics */
};
.Ed
The public accessible fields have the following functions:
@@ -298,6 +301,8 @@ otherwise leaving the previous state.
Called when an interrupt from the PHY chip is detected. This resets the
interrupt state by reading all registers and, if the interrupt was from the
RSOP, checks the carrier state.
+.It Fn utopia_update_stats
+Update the statistics with counters red from the chip.
.El
.Sh SEE ALSO
.Xr utopia 4