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/mac68k/obio Pull up revision 1.47 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/25e5bee84ba3
branches:  netbsd-1-5
changeset: 490407:25e5bee84ba3
user:      he <he%NetBSD.org@localhost>
date:      Fri Dec 15 06:05:48 2000 +0000

description:
Pull up revision 1.47 (requested by scottr):
  Be careful to unmap anything we map in the drivers' match function
  in order to avoid potential future problems.

diffstat:

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

diffs (18 lines):

diff -r 75bd832606d0 -r 25e5bee84ba3 sys/arch/mac68k/obio/grf_obio.c
--- a/sys/arch/mac68k/obio/grf_obio.c   Fri Dec 15 06:03:51 2000 +0000
+++ b/sys/arch/mac68k/obio/grf_obio.c   Fri Dec 15 06:05:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grf_obio.c,v 1.44.4.2 2000/12/15 06:03:51 he Exp $     */
+/*     $NetBSD: grf_obio.c,v 1.44.4.3 2000/12/15 06:05:48 he 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