Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/arch/sparc/dev Pull up rev 1.35 from trunk.



details:   https://anonhg.NetBSD.org/src/rev/c2975b07fbf7
branches:  netbsd-1-4
changeset: 468223:c2975b07fbf7
user:      pk <pk%NetBSD.org@localhost>
date:      Wed Apr 14 21:18:30 1999 +0000

description:
Pull up rev 1.35 from trunk.

diffstat:

 sys/arch/sparc/dev/sbus.c |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 7f7fe172025c -r c2975b07fbf7 sys/arch/sparc/dev/sbus.c
--- a/sys/arch/sparc/dev/sbus.c Wed Apr 14 21:15:49 1999 +0000
+++ b/sys/arch/sparc/dev/sbus.c Wed Apr 14 21:18:30 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbus.c,v 1.34 1999/02/14 12:44:31 pk Exp $ */
+/*     $NetBSD: sbus.c,v 1.34.2.1 1999/04/14 21:18:30 pk Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -402,6 +402,17 @@
         */
        sc->sc_burst = getpropint(busnode, "burst-sizes", 0);
 
+
+       if (CPU_ISSUN4M) {
+               /*
+                * Some models (e.g. SS20) erroneously report 64-bit
+                * burst capability. We mask it out here for all SUN4Ms,
+                * since probably no member of that class supports
+                * 64-bit Sbus bursts.
+                */
+               sc->sc_burst &= ~SBUS_BURST_64;
+       }
+
        /* Propagate bootpath */
        if (bp != NULL && strcmp(bp->name, busname) == 0)
                bp++;



Home | Main Index | Thread Index | Old Index