Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips/vr Fixed again. Rev 1.7 was incomplete and ...



details:   https://anonhg.NetBSD.org/src/rev/1777545dd77a
branches:  trunk
changeset: 535925:1777545dd77a
user:      takemura <takemura%NetBSD.org@localhost>
date:      Sun Sep 01 10:45:38 2002 +0000

description:
Fixed again. Rev 1.7 was incomplete and this device did't work for long time.

diffstat:

 sys/arch/hpcmips/vr/mq200_vrip.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 403dfd8f2d0a -r 1777545dd77a sys/arch/hpcmips/vr/mq200_vrip.c
--- a/sys/arch/hpcmips/vr/mq200_vrip.c  Sun Sep 01 10:39:38 2002 +0000
+++ b/sys/arch/hpcmips/vr/mq200_vrip.c  Sun Sep 01 10:45:38 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mq200_vrip.c,v 1.7 2002/05/11 14:10:06 takemura Exp $  */
+/*     $NetBSD: mq200_vrip.c,v 1.8 2002/09/01 10:45:38 takemura Exp $  */
 
 /*-
  * Copyright (c) 2000 Takemura Shin
@@ -74,7 +74,8 @@
                return 0;
 #endif /* NBIVIDEO > 0 */
 
-       if (bus_space_map(va->va_iot, va->va_addr, va->va_size, 0, &ioh)) {
+       if (bus_space_map(va->va_iot, va->va_addr + MQ200_REGADDR,
+           va->va_size, 0, &ioh)) {
                printf(": can't map i/o space\n");
                return 0;
        }



Home | Main Index | Thread Index | Old Index