summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-07-26 19:57:46 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-07-26 19:57:46 +0000
commitf039b21c5c4b8960cd07e82793c4127546646142 (patch)
tree46aa8316f94b84cca912593b9633eebe54661fb7 /sys/arch/sgi
parent6a64e28530bff4339b4e7ad9735d911b8dcf0b08 (diff)
Don't forget to bus_space_unmap(), even if it's a no-op, in rbus_space_unmap().
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r--sys/arch/sgi/pci/macepcibridge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sgi/pci/macepcibridge.c b/sys/arch/sgi/pci/macepcibridge.c
index 2f88ec16cf9..dcc3c304409 100644
--- a/sys/arch/sgi/pci/macepcibridge.c
+++ b/sys/arch/sgi/pci/macepcibridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macepcibridge.c,v 1.29 2009/07/22 21:29:04 miod Exp $ */
+/* $OpenBSD: macepcibridge.c,v 1.30 2009/07/26 19:57:45 miod Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
@@ -842,6 +842,7 @@ void
mace_pcibr_rbus_space_unmap(bus_space_tag_t t, bus_space_handle_t h,
bus_size_t size, bus_addr_t *addrp)
{
+ bus_space_unmap(t, h, size);
/* can't simply subtract because of possible cacheability */
*addrp = XKPHYS_TO_PHYS(h) - XKPHYS_TO_PHYS(t->bus_base);
}