Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/sdhci/sdhci.c
Show All 12 Lines | |||||
#include <cam/cam_sim.h> | #include <cam/cam_sim.h> | ||||
#include <cam/cam_xpt_sim.h> | #include <cam/cam_xpt_sim.h> | ||||
#include "mmcbr_if.h" | #include "mmcbr_if.h" | ||||
#include "sdhci_if.h" | #include "sdhci_if.h" | ||||
#include "opt_mmccam.h" | #include "opt_mmccam.h" | ||||
SYSCTL_NODE(_hw, OID_AUTO, sdhci, CTLFLAG_RD, 0, "sdhci driver"); | SYSCTL_NODE(_hw, OID_AUTO, sdhci, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, | ||||
"sdhci driver"); | |||||
static int sdhci_debug = 0; | static int sdhci_debug = 0; | ||||
SYSCTL_INT(_hw_sdhci, OID_AUTO, debug, CTLFLAG_RWTUN, &sdhci_debug, 0, | SYSCTL_INT(_hw_sdhci, OID_AUTO, debug, CTLFLAG_RWTUN, &sdhci_debug, 0, | ||||
"Debug level"); | "Debug level"); | ||||
u_int sdhci_quirk_clear = 0; | u_int sdhci_quirk_clear = 0; | ||||
SYSCTL_INT(_hw_sdhci, OID_AUTO, quirk_clear, CTLFLAG_RWTUN, &sdhci_quirk_clear, | SYSCTL_INT(_hw_sdhci, OID_AUTO, quirk_clear, CTLFLAG_RWTUN, &sdhci_quirk_clear, | ||||
0, "Mask of quirks to clear"); | 0, "Mask of quirks to clear"); | ||||
u_int sdhci_quirk_set = 0; | u_int sdhci_quirk_set = 0; | ||||
Show All 12 Lines |