summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornsouch <nsouch@FreeBSD.org>1998-09-03 20:59:28 +0000
committernsouch <nsouch@FreeBSD.org>1998-09-03 20:59:28 +0000
commit816c8cb32c48967825a98736123c3b1507ecd3d5 (patch)
tree6fdb6d5abcc708583daaef5e66017d6867ebd61d
parented5267486eed0b047526f1af36bdb9056e301222 (diff)
downloadFreeBSD-src-816c8cb32c48967825a98736123c3b1507ecd3d5.zip
FreeBSD-src-816c8cb32c48967825a98736123c3b1507ecd3d5.tar.gz
Reviewed by: Doug Rabson
Submitted by: nsouch root_bus_configure() call to initialize new bus arch in i386 env.
-rw-r--r--sys/amd64/amd64/autoconf.c7
-rw-r--r--sys/i386/i386/autoconf.c7
2 files changed, 12 insertions, 2 deletions
diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c
index 36461a2..2f73fbe 100644
--- a/sys/amd64/amd64/autoconf.c
+++ b/sys/amd64/amd64/autoconf.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
- * $Id: autoconf.c,v 1.102 1998/07/19 11:12:14 jkh Exp $
+ * $Id: autoconf.c,v 1.103 1998/08/23 14:17:52 des Exp $
*/
/*
@@ -103,6 +103,8 @@
#include <scsi/scsiconf.h>
#endif
+#include <sys/bus.h>
+
static void configure __P((void *));
SYSINIT(configure, SI_SUB_CONFIGURE, SI_ORDER_FIRST, configure, NULL)
@@ -240,6 +242,9 @@ configure(dummy)
isa_configure();
#endif
+ /* initialize new bus architecture */
+ root_bus_configure();
+
/*
* Now we're ready to handle (pending) interrupts.
* XXX this is slightly misplaced.
diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c
index 36461a2..2f73fbe 100644
--- a/sys/i386/i386/autoconf.c
+++ b/sys/i386/i386/autoconf.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
- * $Id: autoconf.c,v 1.102 1998/07/19 11:12:14 jkh Exp $
+ * $Id: autoconf.c,v 1.103 1998/08/23 14:17:52 des Exp $
*/
/*
@@ -103,6 +103,8 @@
#include <scsi/scsiconf.h>
#endif
+#include <sys/bus.h>
+
static void configure __P((void *));
SYSINIT(configure, SI_SUB_CONFIGURE, SI_ORDER_FIRST, configure, NULL)
@@ -240,6 +242,9 @@ configure(dummy)
isa_configure();
#endif
+ /* initialize new bus architecture */
+ root_bus_configure();
+
/*
* Now we're ready to handle (pending) interrupts.
* XXX this is slightly misplaced.
OpenPOWER on IntegriCloud