summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
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);