summaryrefslogtreecommitdiffstats
path: root/sys/dev/mmc
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2015-12-18 01:32:43 +0000
committerian <ian@FreeBSD.org>2015-12-18 01:32:43 +0000
commitdae1d253aae8957d5b2536f09178e061b6b865b1 (patch)
tree7d95ca9fd3ecd6358d61313294127479689f9b68 /sys/dev/mmc
parent7292e552617fd10f13dffc4202d64eeddbc14bcb (diff)
downloadFreeBSD-src-dae1d253aae8957d5b2536f09178e061b6b865b1.zip
FreeBSD-src-dae1d253aae8957d5b2536f09178e061b6b865b1.tar.gz
Flag sysctl hw.mmc.debug as a tunable, since often you want to debug the
bus probing during system startup.
Diffstat (limited to 'sys/dev/mmc')
-rw-r--r--sys/dev/mmc/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mmc/mmc.c b/sys/dev/mmc/mmc.c
index eb76256..a65ff41 100644
--- a/sys/dev/mmc/mmc.c
+++ b/sys/dev/mmc/mmc.c
@@ -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);
OpenPOWER on IntegriCloud