From: downsj Date: Mon, 3 Feb 1997 03:04:22 +0000 (+0000) Subject: hp300 needs device_register(), too. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=00f65de5f81b7e37062763f7b8656da69b7df1d0;p=openbsd hp300 needs device_register(), too. --- diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c index c27b01bb5dd..905c686ebbb 100644 --- a/sys/kern/subr_autoconf.c +++ b/sys/kern/subr_autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_autoconf.c,v 1.14 1996/11/21 12:47:15 mickey Exp $ */ +/* $OpenBSD: subr_autoconf.c,v 1.15 1997/02/03 03:04:22 downsj Exp $ */ /* $NetBSD: subr_autoconf.c,v 1.21 1996/04/04 06:06:18 cgd Exp $ */ /* @@ -56,9 +56,9 @@ #include /* Bleh! Need device_register proto */ -#ifdef __alpha__ +#if defined(__alpha__) || defined(hp300) #include -#endif /* __alpha__ */ +#endif /* __alpha__ || hp300 */ /* * Autoconfiguration subroutines. @@ -382,7 +382,7 @@ config_attach(parent, match, aux, print) cf->cf_unit++; } } -#ifdef __alpha__ +#if defined(__alpha__) || defined(hp300) device_register(dev, aux); #endif (*ca->ca_attach)(parent, dev, aux);