From 8a70a8881cee57842293bc32dc3654012c513e5a Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Thu, 19 Jan 2006 03:50:45 +0000 Subject: Flip BIOS and ACPI around since ACPI uses BIOS stuff. ok dlg@ grange@ --- sys/arch/i386/i386/mainbus.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'sys/arch/i386') diff --git a/sys/arch/i386/i386/mainbus.c b/sys/arch/i386/i386/mainbus.c index eac5b240918..fe0cf10b75b 100644 --- a/sys/arch/i386/i386/mainbus.c +++ b/sys/arch/i386/i386/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.22 2006/01/18 05:09:23 marco Exp $ */ +/* $OpenBSD: mainbus.c,v 1.23 2006/01/19 03:50:44 marco Exp $ */ /* $NetBSD: mainbus.c,v 1.21 1997/06/06 23:14:20 thorpej Exp $ */ /* @@ -146,6 +146,14 @@ mainbus_attach(parent, self, aux) printf("\n"); +#if NBIOS > 0 + { + mba.mba_bios.bios_dev = "bios"; + mba.mba_bios.bios_iot = I386_BUS_SPACE_IO; + mba.mba_bios.bios_memt = I386_BUS_SPACE_MEM; + config_found(self, &mba.mba_bios, mainbus_print); + } +#endif #if NACPI > 0 { memset(&mba.mba_aaa, 0, sizeof(mba.mba_aaa)); @@ -157,14 +165,6 @@ mainbus_attach(parent, self, aux) config_found(self, &mba.mba_aaa, mainbus_print); } #endif -#if NBIOS > 0 - { - mba.mba_bios.bios_dev = "bios"; - mba.mba_bios.bios_iot = I386_BUS_SPACE_IO; - mba.mba_bios.bios_memt = I386_BUS_SPACE_MEM; - config_found(self, &mba.mba_bios, mainbus_print); - } -#endif #if NIPMI > 0 { memset(&mba.mba_iaa, 0, sizeof(mba.mba_iaa)); -- cgit v1.2.3