PERFORCE change 109496 for review
Sam Leffler
sam at FreeBSD.org
Tue Nov 7 23:48:11 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=109496
Change 109496 by sam at sam_ebb on 2006/11/07 23:47:21
add dev.npe.X.debug mib so we can toggle debugging after boot
Affected files ...
.. //depot/projects/arm/src/sys/arm/xscale/ixp425/if_npe.c#14 edit
Differences ...
==== //depot/projects/arm/src/sys/arm/xscale/ixp425/if_npe.c#14 (text+ko) ====
@@ -283,6 +283,10 @@
ifp->if_linkmiblen = sizeof(sc->mibdata);
sc->mibdata.dot3Compliance = DOT3COMPLIANCE_STATS;
+ SYSCTL_ADD_INT(device_get_sysctl_ctx(sc->sc_dev),
+ SYSCTL_CHILDREN(device_get_sysctl_tree(sc->sc_dev)), OID_AUTO,
+ "debug", CTLFLAG_RW, &sc->debug, 0, "control debugging printfs");
+
ether_ifattach(ifp, eaddr);
return 0;
out:
More information about the p4-projects
mailing list