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.
This commit is contained in:
scottr 2000-12-04 06:25:19 +00:00
parent b21b6272fa
commit fc6d3c5f48
1 changed files with 3 additions and 1 deletions

View File

@ -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 * Copyright (C) 1998 Scott Reynolds
@ -123,6 +123,8 @@ grfiv_match(parent, cf, aux)
/* Disable interrupts */ /* Disable interrupts */
bus_space_write_1(oa->oa_tag, bsh, 0x18, 0x1); bus_space_write_1(oa->oa_tag, bsh, 0x18, 0x1);
bus_space_unmap(oa->oa_tag, bsh, 0x40);
break; break;
} }
/* /*