diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-08-21 06:16:12 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-08-21 06:16:12 +0000 |
commit | 7511b8f464a83d4d3fcab8607f7c224a08b65a74 (patch) | |
tree | 00f1e8cf6e02eb863fe47093660dfd93c01ebccd /sys | |
parent | 9f76c14f850254bb5f2c99276b0938d9288fa26a (diff) | |
download | FreeBSD-src-7511b8f464a83d4d3fcab8607f7c224a08b65a74.zip FreeBSD-src-7511b8f464a83d4d3fcab8607f7c224a08b65a74.tar.gz |
Fixed a warning about undefined isa_irq_pending(). (UP kernel only)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sio/sio.c | 8 | ||||
-rw-r--r-- | sys/i386/isa/sio.c | 8 | ||||
-rw-r--r-- | sys/isa/sio.c | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index b647051..62300b6 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 */ diff --git a/sys/i386/isa/sio.c b/sys/i386/isa/sio.c index b647051..62300b6 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.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 */ 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 */ |