summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2013-07-17 13:57:25 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2013-07-17 13:57:25 +0000
commite66378662959143151657946438443614b84e2d1 (patch)
tree40a972187a85b03508fb55f83c6b4f147eee3a26
parentafd007e55414e096aa35438fcba1ad69b3e73581 (diff)
don't forget to insert the io to the list on the Jensen
found my Maxime Villard, diff from NetBSD ok miod
-rw-r--r--sys/arch/alpha/eisa/eisa_machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/alpha/eisa/eisa_machdep.c b/sys/arch/alpha/eisa/eisa_machdep.c
index 598d3d0eeff..40058e7738b 100644
--- a/sys/arch/alpha/eisa/eisa_machdep.c
+++ b/sys/arch/alpha/eisa/eisa_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eisa_machdep.c,v 1.3 2011/06/17 07:06:46 mk Exp $ */
+/* $OpenBSD: eisa_machdep.c,v 1.4 2013/07/17 13:57:24 martin Exp $ */
/* $NetBSD: eisa_machdep.c,v 1.1 2000/07/29 23:18:47 thorpej Exp $ */
/*-
@@ -264,6 +264,7 @@ eisa_parse_io(struct ecu_func *ecuf, u_int8_t *dp)
ecuio->ecuio_addr = dp[1] | (dp[2] << 8);
ecuio->ecuio_size = (dp[0] & 0x1f) + 1;
ecuio->ecuio_shared = (dp[0] & 0x40) ? 1 : 0;
+ SIMPLEQ_INSERT_TAIL(&ecuf->ecuf_io, ecuio, ecuio_list);
#ifdef EISA_DEBUG
printf("IO 0x%lx 0x%lx%s\n", ecuio->ecuio_addr,