Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mac68k/obio Unmap the valkyrie register space when ...



details:   https://anonhg.NetBSD.org/src/rev/328146a1a99f
branches:  trunk
changeset: 500038:328146a1a99f
user:      scottr <scottr%NetBSD.org@localhost>
date:      Mon Dec 04 06:25:19 2000 +0000

description:
Unmap the valkyrie register space when we're finished with it in
the match function.  It's not like we can save that state for later,
and we don't use it anyway.

diffstat:

 sys/arch/mac68k/obio/grf_obio.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 21b00d67ecce -r 328146a1a99f sys/arch/mac68k/obio/grf_obio.c
--- a/sys/arch/mac68k/obio/grf_obio.c   Mon Dec 04 06:23:36 2000 +0000
+++ b/sys/arch/mac68k/obio/grf_obio.c   Mon Dec 04 06:25:19 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grf_obio.c,v 1.46 2000/12/04 06:23:36 scottr Exp $     */
+/*     $NetBSD: grf_obio.c,v 1.47 2000/12/04 06:25:19 scottr Exp $     */
 
 /*
  * Copyright (C) 1998 Scott Reynolds
@@ -123,6 +123,8 @@
                        
                        /* Disable interrupts */
                        bus_space_write_1(oa->oa_tag, bsh, 0x18, 0x1);
+
+                       bus_space_unmap(oa->oa_tag, bsh, 0x40);
                        break;
                }
                /*



Home | Main Index | Thread Index | Old Index