diff options
author | jhb <jhb@FreeBSD.org> | 2004-05-04 20:07:46 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-05-04 20:07:46 +0000 |
commit | 9f40cdcc06c7f78ceca9eb169b02429fde9d7354 (patch) | |
tree | 67edc778374e48c5791b24e8e4456ccda702d3f7 /sys/conf | |
parent | 4784e0360d2e3464543727002f2dba185b9ff1f9 (diff) | |
download | FreeBSD-src-9f40cdcc06c7f78ceca9eb169b02429fde9d7354.zip FreeBSD-src-9f40cdcc06c7f78ceca9eb169b02429fde9d7354.tar.gz |
Add a simple mini-driver for the ELCR register. Originally, the ELCR
register controlled the trigger mode and polarity of EISA interrupts.
However, it appears that most (all?) PCI systems use the ELCR to manage
the trigger mode and polarity of ISA interrupts as well since ISA IRQs used
to route PCI interrupts need to be level triggered with active low
polarity. We check to see if the ELCR exists by sanity checking the value
we get back ensuring that IRQS 0 (8254), 1 (atkbd), 2 (the link from the
slave PIC), and 8 (RTC) are all clear indicating edge trigger and active
high polarity.
This mini-driver will be used by the atpic driver to manage the trigger and
polarity of ISA IRQs. Also, the mptable parsing code will use this mini
driver rather than examining the ELCR directly.
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files.i386 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386 index 9ca2a1d..09e2380 100644 --- a/sys/conf/files.i386 +++ b/sys/conf/files.i386 @@ -267,6 +267,7 @@ i386/ibcs2/imgact_coff.c optional ibcs2 i386/isa/atpic.c standard i386/isa/atpic_vector.s standard i386/isa/clock.c standard +i386/isa/elcr.c standard i386/isa/elink.c optional ep i386/isa/elink.c optional ie i386/isa/if_el.c count el |