Date: Wed, 10 May 2017 21:11:16 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r318157 - stable/10/sys/dev/mmc Message-ID: <201705102111.v4ALBGTU045510@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marius Date: Wed May 10 21:11:15 2017 New Revision: 318157 URL: https://svnweb.freebsd.org/changeset/base/318157 Log: MFC: r292420 Make SYSCTL hw.mmc.debug tunable, since often you want to debug the bus probing during system startup. Modified: stable/10/sys/dev/mmc/mmc.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/mmc/mmc.c ============================================================================== --- stable/10/sys/dev/mmc/mmc.c Wed May 10 20:53:13 2017 (r318156) +++ stable/10/sys/dev/mmc/mmc.c Wed May 10 21:11:15 2017 (r318157) @@ -118,7 +118,8 @@ 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"); +TUNABLE_INT("hw.mmc.debug", &mmc_debug); +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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705102111.v4ALBGTU045510>