summaryrefslogtreecommitdiff
path: root/sys/dev/etherswitch/rtl8366/rtl8366rb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/etherswitch/rtl8366/rtl8366rb.c')
-rw-r--r--sys/dev/etherswitch/rtl8366/rtl8366rb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/etherswitch/rtl8366/rtl8366rb.c b/sys/dev/etherswitch/rtl8366/rtl8366rb.c
index 279c33bcaf4a..de35e2dc62ba 100644
--- a/sys/dev/etherswitch/rtl8366/rtl8366rb.c
+++ b/sys/dev/etherswitch/rtl8366/rtl8366rb.c
@@ -107,7 +107,8 @@ struct rtl8366rb_softc {
static int callout_blocked = 0;
static int iic_select_retries = 0;
static int phy_access_retries = 0;
-static SYSCTL_NODE(_debug, OID_AUTO, rtl8366rb, CTLFLAG_RD, 0, "rtl8366rb");
+static SYSCTL_NODE(_debug, OID_AUTO, rtl8366rb, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
+ "rtl8366rb");
SYSCTL_INT(_debug_rtl8366rb, OID_AUTO, callout_blocked, CTLFLAG_RW, &callout_blocked, 0,
"number of times the callout couldn't acquire the bus");
SYSCTL_INT(_debug_rtl8366rb, OID_AUTO, iic_select_retries, CTLFLAG_RW, &iic_select_retries, 0,