Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/arch/sparc/dev Pull up revision 1.92 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/e591e24a7e52
branches:  netbsd-1-6
changeset: 529686:e591e24a7e52
user:      he <he%NetBSD.org@localhost>
date:      Sat Dec 07 21:55:32 2002 +0000

description:
Pull up revision 1.92 (requested by jdc in ticket #908):
  Check only the physical address of serial ports on a Sun4.

diffstat:

 sys/arch/sparc/dev/zs.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 85c47e1e8b38 -r e591e24a7e52 sys/arch/sparc/dev/zs.c
--- a/sys/arch/sparc/dev/zs.c   Sat Dec 07 21:52:25 2002 +0000
+++ b/sys/arch/sparc/dev/zs.c   Sat Dec 07 21:55:32 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zs.c,v 1.85 2002/03/11 16:27:02 pk Exp $       */
+/*     $NetBSD: zs.c,v 1.85.6.1 2002/12/07 21:55:32 he Exp $   */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -336,7 +336,11 @@
                }
                zsc->zsc_bustag = oba->oba_bustag;
                zsc->zsc_dmatag = oba->oba_dmatag;
-               /* Find prom unit by physical address */
+               /*
+                * Find prom unit by physical address
+                * We're just comparing the address (not the iospace) here
+                */
+               paddr = BUS_ADDR_PADDR(paddr);
                if (cpuinfo.cpu_type == CPUTYP_4_100)
                        /*
                         * On the sun4/100, the top-most 4 bits are zero



Home | Main Index | Thread Index | Old Index