diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-01-18 05:09:24 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-01-18 05:09:24 +0000 |
commit | 961050fc557a5f208186ed652496edfc0a753717 (patch) | |
tree | 22b8a8f0f5343cb15317da20cd27a4fac7c3882e /sys/arch | |
parent | e20760c1c6007ab32ca9993752c7832ebdea4096 (diff) |
Silence acpi during dmesg if it isnt there.
tested by todd
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/i386/mainbus.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/mainbus.c b/sys/arch/i386/i386/mainbus.c index 77846184bfe..eac5b240918 100644 --- a/sys/arch/i386/i386/mainbus.c +++ b/sys/arch/i386/i386/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.21 2005/11/28 19:59:25 deraadt Exp $ */ +/* $OpenBSD: mainbus.c,v 1.22 2006/01/18 05:09:23 marco Exp $ */ /* $NetBSD: mainbus.c,v 1.21 1997/06/06 23:14:20 thorpej Exp $ */ /* @@ -153,7 +153,8 @@ mainbus_attach(parent, self, aux) mba.mba_aaa.aaa_iot = I386_BUS_SPACE_IO; mba.mba_aaa.aaa_memt = I386_BUS_SPACE_MEM; - config_found(self, &mba.mba_aaa, mainbus_print); + if (acpi_probe(self, aux, &mba.mba_aaa)) + config_found(self, &mba.mba_aaa, mainbus_print); } #endif #if NBIOS > 0 |