summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sio/sio.c5
-rw-r--r--sys/i386/isa/sio.c5
-rw-r--r--sys/isa/sio.c5
3 files changed, 9 insertions, 6 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 0a9ce1b..55944b2 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.172 1997/07/17 06:01:15 dyson Exp $
+ * $Id: sio.c,v 1.1 1997/08/04 17:58:18 smp Exp smp $
*/
#include "opt_comconsole.h"
@@ -82,13 +82,14 @@
#include <pccard/slot.h>
#endif
-#if defined(APIC_IO)
+#ifdef APIC_IO
/*
* 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???
*/
+#include <i386/isa/intr_machdep.h>
#define isa_irq_pending icu_irq_pending
#endif /* APIC_IO */
diff --git a/sys/i386/isa/sio.c b/sys/i386/isa/sio.c
index 0a9ce1b..55944b2 100644
--- a/sys/i386/isa/sio.c
+++ b/sys/i386/isa/sio.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
- * $Id: sio.c,v 1.172 1997/07/17 06:01:15 dyson Exp $
+ * $Id: sio.c,v 1.1 1997/08/04 17:58:18 smp Exp smp $
*/
#include "opt_comconsole.h"
@@ -82,13 +82,14 @@
#include <pccard/slot.h>
#endif
-#if defined(APIC_IO)
+#ifdef APIC_IO
/*
* 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???
*/
+#include <i386/isa/intr_machdep.h>
#define isa_irq_pending icu_irq_pending
#endif /* APIC_IO */
diff --git a/sys/isa/sio.c b/sys/isa/sio.c
index 0a9ce1b..55944b2 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.172 1997/07/17 06:01:15 dyson Exp $
+ * $Id: sio.c,v 1.1 1997/08/04 17:58:18 smp Exp smp $
*/
#include "opt_comconsole.h"
@@ -82,13 +82,14 @@
#include <pccard/slot.h>
#endif
-#if defined(APIC_IO)
+#ifdef APIC_IO
/*
* 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???
*/
+#include <i386/isa/intr_machdep.h>
#define isa_irq_pending icu_irq_pending
#endif /* APIC_IO */
OpenPOWER on IntegriCloud