mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-05 12:56:08 +00:00
Moved the statistical counter under hw.ste.rxsyncs.
Suggested by: njl
This commit is contained in:
parent
7eb17244fa
commit
ba7bc837d0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127709
@ -163,8 +163,10 @@ static devclass_t ste_devclass;
|
|||||||
DRIVER_MODULE(ste, pci, ste_driver, ste_devclass, 0, 0);
|
DRIVER_MODULE(ste, pci, ste_driver, ste_devclass, 0, 0);
|
||||||
DRIVER_MODULE(miibus, ste, miibus_driver, miibus_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;
|
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) \
|
#define STE_SETBIT4(sc, reg, x) \
|
||||||
CSR_WRITE_4(sc, reg, CSR_READ_4(sc, reg) | (x))
|
CSR_WRITE_4(sc, reg, CSR_READ_4(sc, reg) | (x))
|
||||||
|
Loading…
Reference in New Issue
Block a user