From aa290e2b95d2b80a026e91c478595db5d81400d1 Mon Sep 17 00:00:00 2001 From: Martin Reindl Date: Mon, 1 Aug 2005 19:09:20 +0000 Subject: unmap correct size, oops --- sys/arch/mac68k/dev/grf_iv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/mac68k/dev') diff --git a/sys/arch/mac68k/dev/grf_iv.c b/sys/arch/mac68k/dev/grf_iv.c index 6e344b4b13e..c4335be40f5 100644 --- a/sys/arch/mac68k/dev/grf_iv.c +++ b/sys/arch/mac68k/dev/grf_iv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grf_iv.c,v 1.24 2005/08/01 11:19:33 martin Exp $ */ +/* $OpenBSD: grf_iv.c,v 1.25 2005/08/01 19:09:19 martin Exp $ */ /* $NetBSD: grf_iv.c,v 1.17 1997/02/20 00:23:27 scottr Exp $ */ /* @@ -177,7 +177,7 @@ grfiv_attach(parent, self, aux) panic("failed to map space for DAFB regs."); } printf(": DAFB: Monitor sense %x.\n", R4(sc,0x1C)&7); - bus_space_unmap(sc->sc_tag, sc->sc_regh, 0x1000); + bus_space_unmap(sc->sc_tag, sc->sc_regh, 0x20); break; default: printf(": Internal Video\n"); -- cgit v1.2.3