diff options
author | jhb <jhb@FreeBSD.org> | 2007-12-21 16:53:27 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-12-21 16:53:27 +0000 |
commit | ca176184207c9b8a9cbb9cd35b05bba195bdaf45 (patch) | |
tree | 3c39add769ca11fd6ddc5c952800aafd00b360ef /sys/kern/sysv_ipc.c | |
parent | 6f627a80edd408edbcc4ee4b3f15e7759eae45d8 (diff) | |
download | FreeBSD-src-ca176184207c9b8a9cbb9cd35b05bba195bdaf45.zip FreeBSD-src-ca176184207c9b8a9cbb9cd35b05bba195bdaf45.tar.gz |
More properly handle links who only have 1 valid IRQ in their bitmask. The
old code special cased them too early which caused a few differences for
these sort of links relative to other PCI links:
- They were always re-routed via the BIOS call instead of assuming that
they were already routed if the BIOS had programmed the IRQ into a
matching device during POST.
- If the BIOS did route that link to a different IRQ that was marked as
invalid, we trusted the $PIR table rather than the BIOS IRQ.
This change moves the special casing for "unique IRQ" links to only take
that into account when picking an IRQ for an unrouted link so that these
links will now not be routed if the BIOS appears to have routed it already
(some BIOSen have problems with that) and so that if the BIOS uses a
different IRQ than the $PIR, we trust the BIOS routing instead (this is
what we do for all other links as well).
Reported by: Bruce Walter walter of fortean com
MFC after: 1 week
Diffstat (limited to 'sys/kern/sysv_ipc.c')
0 files changed, 0 insertions, 0 deletions