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:
parent
db9431acb3
commit
6e081f10fc
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user