Subject: Re: 10x kernel slowdown in less than a week?
To: None <port-sparc@NetBSD.ORG>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sparc
Date: 02/29/1996 23:49:25
This just hasn't been my week ... (how many read port-hp300, too?)
'Twas a stupid pilot error ... I botched basic operator precedence.
I've checked in the fix, and included it below.
BTW, having access to "dmesg" output would have made this obvious from
the start *nudge* *nudge* :-) mmm, printf...
--------------------------------------------------------------------------
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939
----- snip -----
Index: si.c
===================================================================
RCS file: /usr/og/devsrc/netbsd/src/sys/arch/sparc/dev/si.c,v
retrieving revision 1.11
diff -c -r1.11 si.c
*** si.c 1996/03/01 07:23:55 1.11
--- si.c 1996/03/01 07:35:12
***************
*** 335,344 ****
int i;
/* Pull in the options flags. */
! sc->sc_options =
! ((ncr_sc->sc_dev.dv_cfdata->cf_flags |
! (ca->ca_bustype == BUS_OBIO) ? sw_options : si_options) &
! SI_OPTIONS_MASK);
/* Map the controller registers. */
regs = (struct si_regs *)mapiodev(ra->ra_reg, 0,
--- 335,346 ----
int i;
/* Pull in the options flags. */
! if (ca->ca_bustype == BUS_OBIO)
! sc->sc_options = sw_options;
! else
! sc->sc_options = si_options;
! sc->sc_options |=
! (ncr_sc->sc_dev.dv_cfdata->cf_flags & SI_OPTIONS_MASK);
/* Map the controller registers. */
regs = (struct si_regs *)mapiodev(ra->ra_reg, 0,