summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/sgi/dev/lpt_lbus.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sgi/dev/lpt_lbus.c b/sys/arch/sgi/dev/lpt_lbus.c
index 8ad2d573e3a..4e52108f604 100644
--- a/sys/arch/sgi/dev/lpt_lbus.c
+++ b/sys/arch/sgi/dev/lpt_lbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lpt_lbus.c,v 1.1 2004/08/06 21:12:18 pefo Exp $ */
+/* $OpenBSD: lpt_lbus.c,v 1.2 2004/08/07 10:30:01 pefo Exp $ */
/*
* Copyright (c) 1993, 1994 Charles Hannum.
@@ -101,7 +101,8 @@ lpt_localbus_probe(parent, match, aux)
if(!BUS_MATCHNAME(ca, "lpt"))
return(0);
- iot = &pmonmips_bus_io;
+/*XXX need to check where to pick up iotag when porting this */
+ iot = sys_config.localbus_iot;
base = (bus_addr_t)BUS_CVTADDR(ca);
if (bus_space_map(iot, base, LPT_NPORTS, 0, &ioh)) {
return 0;