summaryrefslogtreecommitdiff
path: root/sys/dev/pci/files.pci
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-03-18 12:04:27 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-03-18 12:04:27 +0000
commit4087f7653c45f56516d803f8870053f5031c743f (patch)
tree3417e7188dbc80541196fe5b0d2a91fdba7b66b0 /sys/dev/pci/files.pci
parentb776311c01b06f99f68f503e2465735bace167a4 (diff)
use device_lookup to find gcu0 rather than iterating over alldevs.
written at s2k15, but considered too risky before release.
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 7edb332c0cb..ab494fd36e6 100644
--- a/sys/dev/pci/files.pci
+++ b/sys/dev/pci/files.pci
@@ -1,4 +1,4 @@
-# $OpenBSD: files.pci,v 1.312 2015/02/06 19:49:29 stsp Exp $
+# $OpenBSD: files.pci,v 1.313 2015/03/18 12:04:26 dlg 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.
@@ -805,7 +805,7 @@ file dev/pci/km.c km
# Intel SOC GCU
device gcu
attach gcu at pci
-file dev/pci/gcu.c gcu
+file dev/pci/gcu.c gcu needs-flag
# AMD Geode CS5536 Audio
device auglx: audio, ac97