svn commit: r292420 - head/sys/dev/mmc
Ian Lepore
ian at FreeBSD.org
Fri Dec 18 01:32:45 UTC 2015
Author: ian
Date: Fri Dec 18 01:32:43 2015
New Revision: 292420
URL: https://svnweb.freebsd.org/changeset/base/292420
Log:
Flag sysctl hw.mmc.debug as a tunable, since often you want to debug the
bus probing during system startup.
Modified:
head/sys/dev/mmc/mmc.c
Modified: head/sys/dev/mmc/mmc.c
==============================================================================
--- head/sys/dev/mmc/mmc.c Fri Dec 18 01:25:30 2015 (r292419)
+++ head/sys/dev/mmc/mmc.c Fri Dec 18 01:32:43 2015 (r292420)
@@ -118,7 +118,7 @@ struct mmc_ivars {
static SYSCTL_NODE(_hw, OID_AUTO, mmc, CTLFLAG_RD, NULL, "mmc driver");
static int mmc_debug;
-SYSCTL_INT(_hw_mmc, OID_AUTO, debug, CTLFLAG_RW, &mmc_debug, 0, "Debug level");
+SYSCTL_INT(_hw_mmc, OID_AUTO, debug, CTLFLAG_RWTUN, &mmc_debug, 0, "Debug level");
/* bus entry points */
static int mmc_acquire_bus(device_t busdev, device_t dev);
More information about the svn-src-head
mailing list