summaryrefslogtreecommitdiff
path: root/sys/dev/pci/files.pci
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-03-17 04:02:01 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-03-17 04:02:01 +0000
commit06ada816bc102f9194fd229056dd05d0a1c41409 (patch)
tree317e5175cccd2ee7b6b79892ee2e2a9f049fd1d4 /sys/dev/pci/files.pci
parent485d9bf12a421040b309f5ab005fea9dc1fda1b9 (diff)
Only attempt to build the pci sdhc attachment when it is configured.
Don't require it when building other sdhc attachments. From Patrick Wildt.
Diffstat (limited to 'sys/dev/pci/files.pci')
-rw-r--r--sys/dev/pci/files.pci4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/files.pci b/sys/dev/pci/files.pci
index cae5a3aae6f..46648474456 100644
--- a/sys/dev/pci/files.pci
+++ b/sys/dev/pci/files.pci
@@ -1,4 +1,4 @@
-# $OpenBSD: files.pci,v 1.323 2016/03/09 18:18:28 stsp Exp $
+# $OpenBSD: files.pci,v 1.324 2016/03/17 04:02:00 jsg Exp $
# $NetBSD: files.pci,v 1.20 1996/09/24 17:47:15 christos Exp $
#
# Config file and device description for machine-independent PCI code.
@@ -765,7 +765,7 @@ file dev/pci/nviic.c nviic
# SD Host Controller
attach sdhc at pci with sdhc_pci
-file dev/pci/sdhc_pci.c sdhc
+file dev/pci/sdhc_pci.c sdhc_pci
# AMD NPT Family 0Fh Processors, Function 3 -- Miscellaneous Control
device kate