diff options
author | Steve Passe <fsmp@FreeBSD.org> | 1997-08-21 06:16:12 +0000 |
---|---|---|
committer | Steve Passe <fsmp@FreeBSD.org> | 1997-08-21 06:16:12 +0000 |
commit | f2cf811ca61e21d71bdd95f322af88008f1925ef (patch) | |
tree | c2b156faaaa55245fcb5bc774dd6146ccbb43f46 /sys/dev/sio | |
parent | 0ee7623d10a2421fc2009ce9cbdbe8973716e5bd (diff) | |
download | src-f2cf811ca61e21d71bdd95f322af88008f1925ef.tar.gz src-f2cf811ca61e21d71bdd95f322af88008f1925ef.zip |
Fixed a warning about undefined isa_irq_pending(). (UP kernel only)
Notes
Notes:
svn path=/head/; revision=28495
Diffstat (limited to 'sys/dev/sio')
-rw-r--r-- | sys/dev/sio/sio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index b64705129f9a..62300b6972e4 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.175 1997/08/20 05:25:16 fsmp Exp $ + * $Id: sio.c,v 1.5 1997/08/21 06:08:45 smp Exp smp $ */ #include "opt_comconsole.h" @@ -69,6 +69,7 @@ #include <i386/isa/isa.h> #include <i386/isa/isa_device.h> #include <i386/isa/sioreg.h> +#include <i386/isa/intr_machdep.h> #ifdef COM_ESP #include <i386/isa/ic/esp.h> @@ -86,10 +87,9 @@ /* * INTs are masked in the (global) IO APIC, * but the IRR register is in each LOCAL APIC, - * so we HAVE to unmask the INT to be able to "see INT pending" - * BUT how do we clear them??? + * so we would have to unmask the INT to be able to "see INT pending". + * So instead we just look in the 8259 ICU. */ -#include <i386/isa/intr_machdep.h> #define isa_irq_pending icu_irq_pending #endif /* APIC_IO */ |