From fb8743cea19e297125314ef4be80b455cb6e0739 Mon Sep 17 00:00:00 2001 From: dfr Date: Sat, 26 Sep 1998 14:48:19 +0000 Subject: Don't try to attach an isa bus if there isn't one. --- sys/alpha/alpha/autoconf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/alpha') diff --git a/sys/alpha/alpha/autoconf.c b/sys/alpha/alpha/autoconf.c index 3a6621d..01fe450 100644 --- a/sys/alpha/alpha/autoconf.c +++ b/sys/alpha/alpha/autoconf.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: autoconf.c,v 1.8 1998/09/16 08:19:29 dfr Exp $ + * $Id: autoconf.c,v 1.9 1998/09/26 12:22:53 dfr Exp $ */ #include @@ -190,7 +190,8 @@ configure(void *dummy) /* * Probe ISA devices after everything. */ - bus_generic_attach(isa_bus_device); + if (isa_bus_device) + bus_generic_attach(isa_bus_device); } configure_finish(); -- cgit v1.1