]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ACPI: PCI: ignore _PRT function information
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 9 Dec 2008 04:30:20 +0000 (21:30 -0700)
committerLen Brown <len.brown@intel.com>
Wed, 31 Dec 2008 02:17:48 +0000 (21:17 -0500)
_PRT entries don't contain any useful PCI function information (the
function part of the PCI address is supposed to be 0xffff), and we
don't ever look at it, so this patch just removes the reference to
it.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/pci_irq.c

index 6a9f3ddb322e2f11a23a0958b634989d8f699c56..c6a0364715ced0d6c77a6f6c06011e3f666d4750 100644 (file)
@@ -185,7 +185,6 @@ acpi_pci_irq_add_entry(acpi_handle handle,
        entry->id.segment = segment;
        entry->id.bus = bus;
        entry->id.device = (prt->address >> 16) & 0xFFFF;
-       entry->id.function = prt->address & 0xFFFF;
        entry->pin = prt->pin;
 
        do_prt_fixups(entry, prt);