Fix oversight in sun4m changes: the CPU attach code moved, so the CPU

was never getting attached on a sun4 machine.  Fix this so that the
cache and FPU get enabled on sun4 machines.  (Believe me, a 4/260 is
slot enough, *with* the cache...)
This commit is contained in:
thorpej 1996-04-07 06:02:20 +00:00
parent 56fed0c102
commit 77366064b8
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.51 1996/04/05 21:44:25 chuck Exp $ */
/* $NetBSD: autoconf.c,v 1.52 1996/04/07 06:02:20 thorpej Exp $ */
/*
* Copyright (c) 1996
@ -1156,8 +1156,13 @@ mainbus_attach(parent, dev, aux)
#if defined(SUN4)
if (CPU_ISSUN4) {
/* Configure the CPU. */
bzero(&oca, sizeof(oca));
oca.ca_ra.ra_name = "cpu";
(void)config_found(dev, (void *)&oca, mbprint);
/* Start at the beginning of the bootpath */
bzero(&oca, sizeof(oca));
oca.ca_ra.ra_bp = bootpath;
oca.ca_bustype = BUS_MAIN;