summaryrefslogtreecommitdiffstats
path: root/sys/modules/sdhci_acpi
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2017-01-23 20:51:29 +0000
committergonzo <gonzo@FreeBSD.org>2017-01-23 20:51:29 +0000
commitbc6f50e46bb35e3b94b56775cbee49b844f851f2 (patch)
tree346b1a735b811104f60694b43b68cd2db6dd825b /sys/modules/sdhci_acpi
parentc92d150a75a0f020b602d09b691fe082ac7dd7fd (diff)
downloadFreeBSD-src-bc6f50e46bb35e3b94b56775cbee49b844f851f2.zip
FreeBSD-src-bc6f50e46bb35e3b94b56775cbee49b844f851f2.tar.gz
MFC r311911, r311923
r311911: [sdhci] Add ACPI platform support for SDHCI driver - Create ACPI version of SDHCI attach/detach/accessors logic. Some platforms (e.g. BayTrail-based Minnowboard) expose SDHCI devices via ACPI, not PCI - Add sdchi_acpi kernel module Reviewed by: ian, imp Differential Revision: https://reviews.freebsd.org/D9112 r311923: Add acpi_if.h and opt_acpi.h to Makefile to unbreak "make depend" with sys/modules/sdhci_acpi X-MFC with: r311911 Reported by: Jenkins
Diffstat (limited to 'sys/modules/sdhci_acpi')
-rw-r--r--sys/modules/sdhci_acpi/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/modules/sdhci_acpi/Makefile b/sys/modules/sdhci_acpi/Makefile
new file mode 100644
index 0000000..0d34805
--- /dev/null
+++ b/sys/modules/sdhci_acpi/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/sdhci
+
+KMOD= sdhci_acpi
+SRCS= sdhci_acpi.c sdhci.h sdhci_if.h
+SRCS+= acpi_if.h device_if.h bus_if.h opt_acpi.h pci_if.h mmcbr_if.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud