summaryrefslogtreecommitdiffstats
path: root/sys/arm/broadcom
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2014-09-03 20:07:26 +0000
committermarius <marius@FreeBSD.org>2014-09-03 20:07:26 +0000
commite31bbc3dc14128c27000fcb2986472ee8b546239 (patch)
tree3ecb6b485397783d21f24f13d60b39d10a3e099c /sys/arm/broadcom
parent478f4fda1a3e3a32a4c9a2d964207c60abc12677 (diff)
downloadFreeBSD-src-e31bbc3dc14128c27000fcb2986472ee8b546239.zip
FreeBSD-src-e31bbc3dc14128c27000fcb2986472ee8b546239.tar.gz
MFC: r270885, r270948
- 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.
Diffstat (limited to 'sys/arm/broadcom')
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_sdhci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c b/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
index 82d3026..7b8bbf3 100644
--- a/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
+++ b/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
#include <sys/queue.h>
#include <sys/resource.h>
#include <sys/rman.h>
+#include <sys/sysctl.h>
#include <sys/taskqueue.h>
#include <sys/time.h>
#include <sys/timetc.h>
OpenPOWER on IntegriCloud