summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-08-21 06:16:12 +0000
committerfsmp <fsmp@FreeBSD.org>1997-08-21 06:16:12 +0000
commit7511b8f464a83d4d3fcab8607f7c224a08b65a74 (patch)
tree00f1e8cf6e02eb863fe47093660dfd93c01ebccd /sys/isa
parent9f76c14f850254bb5f2c99276b0938d9288fa26a (diff)
downloadFreeBSD-src-7511b8f464a83d4d3fcab8607f7c224a08b65a74.zip
FreeBSD-src-7511b8f464a83d4d3fcab8607f7c224a08b65a74.tar.gz
Fixed a warning about undefined isa_irq_pending(). (UP kernel only)
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/sio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/isa/sio.c b/sys/isa/sio.c
index b647051..62300b6 100644
--- a/sys/isa/sio.c
+++ b/sys/isa/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 */
OpenPOWER on IntegriCloud