cvs commit: src/sys/dev/acpica acpi_pci_link.c acpi_pcib.c

Nate Lawson nate at root.org
Wed Aug 11 19:15:45 PDT 2004


Nate Lawson wrote:
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/acpica       acpi_pci_link.c acpi_pcib.c 
>   Log:
>   Fix the PRT entry code in acpi_pci_link to always add the entry, even if
>   there is no irq link.  Since we now use the stored copy of PRT, not the
>   one that used to be passed into acpi_pcib_route_interrupt(), we need it in
>   the list. [1]
>   
>   Fix a bug in acpi_pci_find_prt() where we weren't checking the bus, thus
>   choosing the wrong PRT entry to use for routing the link.  Also, add a
>   printf for the case where the PRT entry is not found as this should not
>   happen.
>   
>   Tested by:      marcel [1]
>   
>   Revision  Changes    Path
>   1.21      +40 -41    src/sys/dev/acpica/acpi_pci_link.c
>   1.48      +4 -1      src/sys/dev/acpica/acpi_pcib.c

These bugs were most apparent on APIC machines, especially those with 
lots of PCI busses.  Hardcoded IRQs should now work correctly.

-- 
Nate


More information about the cvs-all mailing list