summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2005-12-20 05:42:33 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2005-12-20 05:42:33 +0000
commit9039a07b0e8eda34651f5dde950c2f6b36f53852 (patch)
treea87b1206a819132a36320bbd31dc9f79bf22e766 /sys/dev/pci
parentc226a1a5746a6ef88d5315d2c1060b2004d48c7d (diff)
Do bus scanning only if underlying controller asked for it.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/ichiic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/ichiic.c b/sys/dev/pci/ichiic.c
index ffabf667087..a5421aa8814 100644
--- a/sys/dev/pci/ichiic.c
+++ b/sys/dev/pci/ichiic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ichiic.c,v 1.1 2005/12/19 19:31:56 grange Exp $ */
+/* $OpenBSD: ichiic.c,v 1.2 2005/12/20 05:42:32 grange Exp $ */
/*
* Copyright (c) 2005 Alexander Yurchenko <grange@openbsd.org>
@@ -151,6 +151,7 @@ ichiic_attach(struct device *parent, struct device *self, void *aux)
sc->sc_i2c_tag.ic_exec = ichiic_i2c_exec;
iba.iba_name = "iic";
iba.iba_tag = &sc->sc_i2c_tag;
+ iba.iba_scan = 1;
config_found(self, &iba, iicbus_print);
return;