Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev catch up with probe[gs]et() changes.



details:   https://anonhg.NetBSD.org/src/rev/6619a09474ef
branches:  trunk
changeset: 473461:6619a09474ef
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Jun 05 05:05:11 1999 +0000

description:
catch up with probe[gs]et() changes.

diffstat:

 sys/arch/sparc64/dev/bwtwo.c   |  4 ++--
 sys/arch/sparc64/dev/cgfour.c  |  4 ++--
 sys/arch/sparc64/dev/cgthree.c |  4 ++--
 sys/arch/sparc64/dev/cgtwo.c   |  4 ++--
 sys/arch/sparc64/dev/fd.c      |  4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diffs (90 lines):

diff -r 29f33a95ae8b -r 6619a09474ef sys/arch/sparc64/dev/bwtwo.c
--- a/sys/arch/sparc64/dev/bwtwo.c      Sat Jun 05 04:12:31 1999 +0000
+++ b/sys/arch/sparc64/dev/bwtwo.c      Sat Jun 05 05:05:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bwtwo.c,v 1.6 1999/05/23 02:45:19 eeh Exp $ */
+/*     $NetBSD: bwtwo.c,v 1.7 1999/06/05 05:05:11 mrg Exp $ */
 
 /*
  * Copyright (c) 1996 Jason R. Thorpe.  All rights reserved.
@@ -157,7 +157,7 @@
        /*
         * Make sure there's hardware there.
         */
-       if (probeget(ra->ra_vaddr, 4) == -1)
+       if (probeget(ASI_PRIMARY, ra->ra_vaddr, 4) == -1)
                return (0);
 
 #if defined(SUN4)
diff -r 29f33a95ae8b -r 6619a09474ef sys/arch/sparc64/dev/cgfour.c
--- a/sys/arch/sparc64/dev/cgfour.c     Sat Jun 05 04:12:31 1999 +0000
+++ b/sys/arch/sparc64/dev/cgfour.c     Sat Jun 05 05:05:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cgfour.c,v 1.3 1998/11/19 15:38:24 mrg Exp $   */
+/*     $NetBSD: cgfour.c,v 1.4 1999/06/05 05:05:11 mrg Exp $   */
 
 /*
  * Copyright (c) 1996 Jason R. Thorpe.  All rights reserved.
@@ -159,7 +159,7 @@
        /*
         * Make sure there's hardware there.
         */
-       if (probeget(ra->ra_vaddr, 4) == -1)
+       if (probeget(ASI_PRIMARY, ra->ra_vaddr, 4) == -1)
                return (0);
 
 #if defined(SUN4)
diff -r 29f33a95ae8b -r 6619a09474ef sys/arch/sparc64/dev/cgthree.c
--- a/sys/arch/sparc64/dev/cgthree.c    Sat Jun 05 04:12:31 1999 +0000
+++ b/sys/arch/sparc64/dev/cgthree.c    Sat Jun 05 05:05:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cgthree.c,v 1.5 1999/05/23 02:45:19 eeh Exp $ */
+/*     $NetBSD: cgthree.c,v 1.6 1999/06/05 05:05:11 mrg Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -153,7 +153,7 @@
        if (ca->ca_bustype == BUS_SBUS)
                return(1);
        ra->ra_len = NBPG;
-       return (probeget(ra->ra_vaddr, 4) != -1);
+       return (probeget(ASI_PRIMARY, ra->ra_vaddr, 4) != -1);
 }
 
 /*
diff -r 29f33a95ae8b -r 6619a09474ef sys/arch/sparc64/dev/cgtwo.c
--- a/sys/arch/sparc64/dev/cgtwo.c      Sat Jun 05 04:12:31 1999 +0000
+++ b/sys/arch/sparc64/dev/cgtwo.c      Sat Jun 05 05:05:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cgtwo.c,v 1.2 1998/08/13 02:10:41 eeh Exp $ */
+/*     $NetBSD: cgtwo.c,v 1.3 1999/06/05 05:05:11 mrg Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -147,7 +147,7 @@
        /* XXX - Must do our own mapping at CG2_CTLREG_OFF */
        bus_untmp();
        tmp = (caddr_t)mapdev(ra->ra_reg, TMPMAP_VA, CG2_CTLREG_OFF, NBPG);
-       if (probeget(tmp, 2) != -1)
+       if (probeget(ASI_PRIMARY, tmp, 2) != -1)
                return 1;
 #endif
        return 0;
diff -r 29f33a95ae8b -r 6619a09474ef sys/arch/sparc64/dev/fd.c
--- a/sys/arch/sparc64/dev/fd.c Sat Jun 05 04:12:31 1999 +0000
+++ b/sys/arch/sparc64/dev/fd.c Sat Jun 05 05:05:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fd.c,v 1.5 1999/02/08 16:33:16 bouyer Exp $    */
+/*     $NetBSD: fd.c,v 1.6 1999/06/05 05:05:11 mrg Exp $       */
 
 /*-
  * Copyright (c) 1993, 1994, 1995 Charles M. Hannum.
@@ -310,7 +310,7 @@
                return (0);
 
        if (ca->ca_ra.ra_vaddr &&
-           probeget(ca->ca_ra.ra_vaddr, 1) == -1) {
+           probeget(ASI_PRIMARY, ca->ca_ra.ra_vaddr, 1) == -1) {
                return (0);
        }
 



Home | Main Index | Thread Index | Old Index