Flag sysctl hw.mmc.debug as a tunable, since often you want to debug the

bus probing during system startup.
This commit is contained in:
Ian Lepore 2015-12-18 01:32:43 +00:00
parent db9431acb3
commit 6e081f10fc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=292420

View File

@ -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);