summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2003-06-24 22:54:54 +0000
committermiod <miod@openbsd.org>2003-06-24 22:54:54 +0000
commit1f9a34c775b39cee36a99668a7c108a0a6043af0 (patch)
tree1cfefe57e3d38036ef7f84b58625a6075467bfee
parenta.out emulation for dynamic binaries: intercept the right system calls (diff)
downloadwireguard-openbsd-1f9a34c775b39cee36a99668a7c108a0a6043af0.tar.xz
wireguard-openbsd-1f9a34c775b39cee36a99668a7c108a0a6043af0.zip
io_alloc must provide working bus_space tag and handles...
-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;