Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/sparc/include Pullup rev. 1.20:



details:   https://anonhg.NetBSD.org/src/rev/60b570f42822
branches:  netbsd-1-5
changeset: 488279:60b570f42822
user:      pk <pk%NetBSD.org@localhost>
date:      Tue Jun 27 07:53:00 2000 +0000

description:
Pullup rev. 1.20:
        Fix pastos in bus_space_read_region_*() functions.

diffstat:

 sys/arch/sparc/include/bus.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 757956dbd1d2 -r 60b570f42822 sys/arch/sparc/include/bus.h
--- a/sys/arch/sparc/include/bus.h      Mon Jun 26 18:16:35 2000 +0000
+++ b/sys/arch/sparc/include/bus.h      Tue Jun 27 07:53:00 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.19 2000/05/23 11:39:57 pk Exp $      */
+/*     $NetBSD: bus.h,v 1.19.4.1 2000/06/27 07:53:00 pk Exp $  */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -642,7 +642,7 @@
        u_int16_t               *a;
 {
        for (; c; a++, c--, o+=2)
-               *a = bus_space_read_1(t, h, o);
+               *a = bus_space_read_2(t, h, o);
 }
 extern __inline__ void
 bus_space_read_region_4(t, h, o, a, c)
@@ -652,7 +652,7 @@
        u_int32_t               *a;
 {
        for (; c; a++, c--, o+=4)
-               *a = bus_space_read_1(t, h, o);
+               *a = bus_space_read_4(t, h, o);
 }
 extern __inline__ void
 bus_space_read_region_8(t, h, o, a, c)
@@ -662,7 +662,7 @@
        u_int64_t               *a;
 {
        for (; c; a++, c--, o+=8)
-               *a = bus_space_read_1(t, h, o);
+               *a = bus_space_read_8(t, h, o);
 }
 
 /*



Home | Main Index | Thread Index | Old Index