diff options
author | ru <ru@FreeBSD.org> | 2004-04-01 12:55:38 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-04-01 12:55:38 +0000 |
commit | b42d9c38ac840361b46e0b85a50f6afaa943f037 (patch) | |
tree | 2c400bf069adc03d64039e9027fbb94061f6ef4d /sys/pci/if_ste.c | |
parent | 5710c4d92e71f2a5b3e4873bfe0456bdfe6c7e0d (diff) | |
download | FreeBSD-src-b42d9c38ac840361b46e0b85a50f6afaa943f037.zip FreeBSD-src-b42d9c38ac840361b46e0b85a50f6afaa943f037.tar.gz |
Moved the statistical counter under hw.ste.rxsyncs.
Suggested by: njl
Diffstat (limited to 'sys/pci/if_ste.c')
-rw-r--r-- | sys/pci/if_ste.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c index 8e53dd3..65d47dd 100644 --- a/sys/pci/if_ste.c +++ b/sys/pci/if_ste.c @@ -163,8 +163,10 @@ static devclass_t ste_devclass; DRIVER_MODULE(ste, pci, ste_driver, ste_devclass, 0, 0); DRIVER_MODULE(miibus, ste, miibus_driver, miibus_devclass, 0, 0); +SYSCTL_NODE(_hw, OID_AUTO, ste, CTLFLAG_RD, 0, "if_ste parameters"); + static int ste_rxsyncs; -SYSCTL_INT(_hw, OID_AUTO, ste_rxsyncs, CTLFLAG_RW, &ste_rxsyncs, 0, ""); +SYSCTL_INT(_hw_ste, OID_AUTO, rxsyncs, CTLFLAG_RW, &ste_rxsyncs, 0, ""); #define STE_SETBIT4(sc, reg, x) \ CSR_WRITE_4(sc, reg, CSR_READ_4(sc, reg) | (x)) |