summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2016-03-17 04:02:00 +0000
committerjsg <jsg@openbsd.org>2016-03-17 04:02:00 +0000
commit8a98f13cf95a84002e5428284f01c725c807054e (patch)
treeb41a8a7eababf97d65537c4c49648657b87d6518
parent- add realloc_pages to move a buffer's physmem from one range to another. (diff)
downloadwireguard-openbsd-8a98f13cf95a84002e5428284f01c725c807054e.tar.xz
wireguard-openbsd-8a98f13cf95a84002e5428284f01c725c807054e.zip
Only attempt to build the pci sdhc attachment when it is configured.
Don't require it when building other sdhc attachments. From Patrick Wildt.
-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