Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/algor/algor Oops, use the correct space tag when un...



details:   https://anonhg.NetBSD.org/src/rev/fdbf0a5bcc4b
branches:  trunk
changeset: 511192:fdbf0a5bcc4b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jun 14 05:58:19 2001 +0000

description:
Oops, use the correct space tag when unmapping the RTC on the
P-4032 after calibrating the clock.

diffstat:

 sys/arch/algor/algor/machdep.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9b2a20c29e51 -r fdbf0a5bcc4b sys/arch/algor/algor/machdep.c
--- a/sys/arch/algor/algor/machdep.c    Thu Jun 14 05:50:02 2001 +0000
+++ b/sys/arch/algor/algor/machdep.c    Thu Jun 14 05:58:19 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.6 2001/06/10 05:26:58 thorpej Exp $      */
+/*     $NetBSD: machdep.c,v 1.7 2001/06/14 05:58:19 thorpej Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -265,7 +265,7 @@
                led_display('h', 'z', ' ', ' ');
                bus_space_map(&acp->ac_lociot, P4032_RTC, 2, 0, &sh);
                algor_p4032_cal_timer(&acp->ac_lociot, sh);
-               bus_space_unmap(&acp->ac_iot, sh, 2);
+               bus_space_unmap(&acp->ac_lociot, sh, 2);
            }
 #elif defined(ALGOR_P5064)
            {



Home | Main Index | Thread Index | Old Index