summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-09-26 14:48:19 +0000
committerdfr <dfr@FreeBSD.org>1998-09-26 14:48:19 +0000
commitfb8743cea19e297125314ef4be80b455cb6e0739 (patch)
tree8c13d8474d87f2298821d20e0bf8a6c447fc335e /sys/alpha
parentae218f43645a99ac69770c428a54591a3f0070a9 (diff)
downloadFreeBSD-src-fb8743cea19e297125314ef4be80b455cb6e0739.zip
FreeBSD-src-fb8743cea19e297125314ef4be80b455cb6e0739.tar.gz
Don't try to attach an isa bus if there isn't one.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/autoconf.c5
1 files changed, 3 insertions, 2 deletions
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 <sys/param.h>
@@ -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();
OpenPOWER on IntegriCloud