]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
It turns out that while Toshiba laptops don't want to route interrupts
authorWarner Losh <imp@FreeBSD.org>
Tue, 28 Aug 2001 16:35:01 +0000 (16:35 +0000)
committerWarner Losh <imp@FreeBSD.org>
Tue, 28 Aug 2001 16:35:01 +0000 (16:35 +0000)
commitd3b6477a196fea210e775b1637a2ded639f3e520
treecdb6e5649e73c2442f89954a76c956d0f332bc76
parenta8ae536239aaf9d6b2f690d8780f54bcce71adc4
It turns out that while Toshiba laptops don't want to route interrupts
multiple times, others do.  The last strategy, which was to assume
that already routed interrupts were good and just return them doesn't
work for some laptops.  So, instead, we have a new strategy: we notice
that we have an interrupt that's already routed.  We go ahead and try
to route it, none the less.  We will assume that it is correctly
routed, even if the route fails.  We still assume that other failures
in the bios32 call are because the interrupt is NOT routed.

Note: some laptops do not support the bios32 interface to PCI BIOS and
we need to call it via the INT 2A interface.  That is another windmill
to till at later.

Also correct a minor typo and minor whitespace nits.

Strong MFC candidate.
sys/amd64/pci/pci_cfgreg.c
sys/i386/pci/pci_cfgreg.c
sys/i386/pci/pci_pir.c