Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/eisa don't forget to insert the io to the list



details:   https://anonhg.NetBSD.org/src/rev/055451ecc04b
branches:  trunk
changeset: 787657:055451ecc04b
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jun 27 21:21:05 2013 +0000

description:
don't forget to insert the io to the list
http://M00nBSD.net/ae123a9bae03f7dde5c6d654412daf5a.html

diffstat:

 sys/arch/alpha/eisa/eisa_machdep.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r dffcfc0bd89a -r 055451ecc04b sys/arch/alpha/eisa/eisa_machdep.c
--- a/sys/arch/alpha/eisa/eisa_machdep.c        Thu Jun 27 21:16:20 2013 +0000
+++ b/sys/arch/alpha/eisa/eisa_machdep.c        Thu Jun 27 21:21:05 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: eisa_machdep.c,v 1.9 2012/02/06 02:14:13 matt Exp $ */
+/* $NetBSD: eisa_machdep.c,v 1.10 2013/06/27 21:21:05 christos Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: eisa_machdep.c,v 1.9 2012/02/06 02:14:13 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: eisa_machdep.c,v 1.10 2013/06/27 21:21:05 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -255,6 +255,7 @@
                ecuio->ecuio_io.ecio_addr = dp[1] | (dp[2] << 8);
                ecuio->ecuio_io.ecio_size = (dp[0] & 0x1f) + 1;
                ecuio->ecuio_io.ecio_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_io.ecio_addr,



Home | Main Index | Thread Index | Old Index