summaryrefslogtreecommitdiffstats
path: root/sys/modules/sdhci_pci
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2012-10-16 01:10:43 +0000
committergonzo <gonzo@FreeBSD.org>2012-10-16 01:10:43 +0000
commit36548e3e1a5ab2b270c37de7a3d854943f266742 (patch)
tree76ca038984b5250992790c34d664fddc9d764af6 /sys/modules/sdhci_pci
parent867cb9c7c5cc7bd4b0932bfb72e53222b2059854 (diff)
downloadFreeBSD-src-36548e3e1a5ab2b270c37de7a3d854943f266742.zip
FreeBSD-src-36548e3e1a5ab2b270c37de7a3d854943f266742.tar.gz
Split sdhci driver in two parts: sdhci and sdhci_pci.
sdchi encapsulates a generic SD Host Controller logic that relies on actual hardware driver for register access. sdhci_pci implements driver for PCI SDHC controllers using new SDHCI interface No kernel config modifications are required, but if you load sdhc as a module you must switch to sdhci_pci instead.
Diffstat (limited to 'sys/modules/sdhci_pci')
-rw-r--r--sys/modules/sdhci_pci/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/modules/sdhci_pci/Makefile b/sys/modules/sdhci_pci/Makefile
new file mode 100644
index 0000000..fcff490
--- /dev/null
+++ b/sys/modules/sdhci_pci/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/sdhci
+
+KMOD= sdhci_pci
+SRCS= sdhci_pci.c sdhci.h sdhci_if.h device_if.h bus_if.h pci_if.h mmcbr_if.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud