summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-06-24 22:54:55 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-06-24 22:54:55 +0000
commitb085335098212505dad16a6ec6f325053938e057 (patch)
treee023b266683ab6f25eb7761da7a187e91e4a2081 /sys/arch/sparc/dev
parentdd8eccf37911c51bb235e0ad7d25c02751b60d48 (diff)
io_alloc must provide working bus_space tag and handles...
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r--sys/arch/sparc/dev/ts102.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/ts102.c b/sys/arch/sparc/dev/ts102.c
index dfddc79ef96..e772c12ac42 100644
--- a/sys/arch/sparc/dev/ts102.c
+++ b/sys/arch/sparc/dev/ts102.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ts102.c,v 1.1 2003/06/23 09:29:55 miod Exp $ */
+/* $OpenBSD: ts102.c,v 1.2 2003/06/24 22:54:54 miod Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
*
@@ -379,7 +379,7 @@ tslot_io_alloc(pcmcia_chipset_handle_t pch, bus_addr_t start, bus_size_t size,
#endif
pih->iot = 0;
- pih->ioh = 0;
+ pih->ioh = (bus_space_handle_t)(td->td_space[TS102_RANGE_IO]);
pih->addr = start;
pih->size = size;
pih->flags = 0;