From 05ff8766efe5479523d25074bb7a291828237f62 Mon Sep 17 00:00:00 2001 From: mycroft Date: Thu, 3 Nov 1994 23:46:15 +0000 Subject: [PATCH] Call config_rootfound() once for each bus type. --- sys/arch/i386/i386/autoconf.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/sys/arch/i386/i386/autoconf.c b/sys/arch/i386/i386/autoconf.c index 3e0703c6e606..33edfa16109e 100644 --- a/sys/arch/i386/i386/autoconf.c +++ b/sys/arch/i386/i386/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.11 1994/10/27 04:15:10 cgd Exp $ */ +/* $NetBSD: autoconf.c,v 1.12 1994/11/03 23:46:15 mycroft Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -71,10 +71,17 @@ extern int cold; /* cold start flag initialized in locore.s */ configure() { -#include "isa.h" -#if NISA > 0 - isa_configure(); -#endif + startrtclock(); + + config_rootfound("isa", NULL); + config_rootfound("eisa", NULL); + config_rootfound("pci", NULL); + + printf("biomask %x netmask %x ttymask %x\n", + (u_short)imask[IPL_BIO], (u_short)imask[IPL_NET], + (u_short)imask[IPL_TTY]); + + spl0(); #if GENERIC if ((boothowto & RB_ASKNAME) == 0)