Skip to content

Commit

Permalink
ACPI: PCI: ignore _PRT function information
Browse files Browse the repository at this point in the history
_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>
  • Loading branch information
Bjorn Helgaas authored and Len Brown committed Dec 31, 2008
1 parent 2320ac6 commit b52b3f4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/acpi/pci_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b52b3f4

Please sign in to comment.