summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/uperf_sbus.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-03-27 17:41:44 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-03-27 17:41:44 +0000
commite6cb92620085932887040676121e27c75ec08f7e (patch)
tree739c6d5b44dcfb055153a8de10789ad1beda901b /sys/dev/sbus/uperf_sbus.c
parent0c8568f059cdfb09712c3e94d9baaff98d93b9bd (diff)
don't need linear maps here either
Diffstat (limited to 'sys/dev/sbus/uperf_sbus.c')
-rw-r--r--sys/dev/sbus/uperf_sbus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sbus/uperf_sbus.c b/sys/dev/sbus/uperf_sbus.c
index 54c803d0bf2..d144069007e 100644
--- a/sys/dev/sbus/uperf_sbus.c
+++ b/sys/dev/sbus/uperf_sbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uperf_sbus.c,v 1.4 2002/04/08 17:49:42 jason Exp $ */
+/* $OpenBSD: uperf_sbus.c,v 1.5 2003/03/27 17:41:43 jason Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -136,8 +136,8 @@ uperf_sbus_attach(parent, self, aux)
}
if (sbus_bus_map(sc->sc_bus_t, sa->sa_reg[0].sbr_slot,
- sa->sa_reg[0].sbr_offset, sa->sa_reg[0].sbr_size,
- BUS_SPACE_MAP_LINEAR, 0, &sc->sc_bus_h) != 0) {
+ sa->sa_reg[0].sbr_offset, sa->sa_reg[0].sbr_size, 0, 0,
+ &sc->sc_bus_h) != 0) {
printf(": couldn't map registers\n");
return;
}