Date: Tue, 7 Nov 2006 23:48:09 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 109496 for review Message-ID: <200611072348.kA7Nm9nA083336@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=109496 Change 109496 by sam@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611072348.kA7Nm9nA083336>