summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-12-16 15:04:57 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-12-16 15:04:57 +0000
commit3d3d87b11f00478a7a0a08b902139fdd2cd0d106 (patch)
tree5aae84c28a7ec4098f6b7d6bf773ae4d570fdfca /sys/arch/sparc64
parent288024c2adc91e0e4cbbcbe1f25017f96f2e4382 (diff)
don't do a linear mapping (prevents warnings on the leopard)
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/dev/lpt_ebus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/lpt_ebus.c b/sys/arch/sparc64/dev/lpt_ebus.c
index 15d7f500c3e..739b81ce769 100644
--- a/sys/arch/sparc64/dev/lpt_ebus.c
+++ b/sys/arch/sparc64/dev/lpt_ebus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lpt_ebus.c,v 1.7 2003/02/17 01:29:20 henric Exp $ */
+/* $OpenBSD: lpt_ebus.c,v 1.8 2003/12/16 15:04:56 jason Exp $ */
/* $NetBSD: lpt_ebus.c,v 1.8 2002/03/01 11:51:00 martin Exp $ */
/*
@@ -95,8 +95,8 @@ lpt_ebus_attach(parent, self, aux)
}
if (ebus_bus_map(sc->sc_lpt.sc_iot, 0,
- EBUS_PADDR_FROM_REG(&ea->ea_regs[1]), ea->ea_regs[1].size,
- BUS_SPACE_MAP_LINEAR, 0, &sc->sc_ctrl) != 0) {
+ EBUS_PADDR_FROM_REG(&ea->ea_regs[1]), ea->ea_regs[1].size, 0, 0,
+ &sc->sc_ctrl) != 0) {
printf(": can't map control space\n");
bus_space_unmap(sc->sc_lpt.sc_iot, sc->sc_lpt.sc_ioh,
ea->ea_regs[0].size);