summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-05-17 19:44:16 +0000
committermsmith <msmith@FreeBSD.org>2000-05-17 19:44:16 +0000
commit8fcf5c1468c429d485219b4ef7069f6cf1a94dcb (patch)
tree6caa1adf6f7ca54ccaa698095feff32f11387660 /sys/dev/sio/sio.c
parent52d65dc564ba4daf9cd90f1b2696779c84c89ecb (diff)
downloadFreeBSD-src-8fcf5c1468c429d485219b4ef7069f6cf1a94dcb.zip
FreeBSD-src-8fcf5c1468c429d485219b4ef7069f6cf1a94dcb.tar.gz
If we are running in APIC_IO mode, pretend that we didn't see the BIOS
reporting an AT PIC. We do this because otherwise the PIC will claim IRQ 2 in an unshareable mode, preventing other devices from legitimately using it. For symmetry, in !APIC_IO mode, ignore the APIC if it's reported. This is a hack; a better solution would have the PIC's driver release the IRQ if it was not going to be active.
Diffstat (limited to 'sys/dev/sio/sio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud