summaryrefslogtreecommitdiffstats
path: root/sys/dev/sdhci/sdhci.h
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2014-08-31 17:56:54 +0000
committermarius <marius@FreeBSD.org>2014-08-31 17:56:54 +0000
commit60460271490c73a99fdde7d208a4f2d6285bdfdd (patch)
tree7b3ee4c33a1bce56a527c5cc1dda2dc6a8b21b3d /sys/dev/sdhci/sdhci.h
parent6966b29ce709a516c5f5348ebcb1c57fa83a0f21 (diff)
downloadFreeBSD-src-60460271490c73a99fdde7d208a4f2d6285bdfdd.zip
FreeBSD-src-60460271490c73a99fdde7d208a4f2d6285bdfdd.tar.gz
- Nuke unused sdhci_softc.
- Static'ize sdhci_debug local to sdhci.c. - Const'ify PCI device description strings. - Nuke redundant resource ID members from sdhci_pci_softc. - Nuke unused hw.sdhci_pci.debug tunable. - Add support for using MSI instead of INTx, controllable via the tunable hw.sdhci.enable_msi (defaulting to on) and tested with a RICOH R5CE823 SD controller. - Use NULL instead of 0 for pointers. MFC after: 3 days
Diffstat (limited to 'sys/dev/sdhci/sdhci.h')
-rw-r--r--sys/dev/sdhci/sdhci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/sdhci/sdhci.h b/sys/dev/sdhci/sdhci.h
index 05832ec..5cde2b0 100644
--- a/sys/dev/sdhci/sdhci.h
+++ b/sys/dev/sdhci/sdhci.h
@@ -223,6 +223,8 @@
#define SDHCI_SPEC_200 1
#define SDHCI_SPEC_300 2
+SYSCTL_DECL(_hw_sdhci);
+
struct sdhci_slot {
u_int quirks; /* Chip specific quirks */
u_int caps; /* Override SDHCI_CAPABILITIES */
OpenPOWER on IntegriCloud