summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_irq.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-12-09 05:30:20 +0100
committerLen Brown <len.brown@intel.com>2008-12-31 03:17:48 +0100
commitb52b3f4af83571e86f910b07a61b177e2b7d8409 (patch)
tree23e8f0ff052bd020d6cdf89536edeff385b8162c /drivers/acpi/pci_irq.c
parentACPI: PCI: simplify buffer management for evaluating _PRT (diff)
downloadlinux-b52b3f4af83571e86f910b07a61b177e2b7d8409.tar.xz
linux-b52b3f4af83571e86f910b07a61b177e2b7d8409.zip
ACPI: PCI: ignore _PRT function information
_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>
Diffstat (limited to 'drivers/acpi/pci_irq.c')
-rw-r--r--drivers/acpi/pci_irq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c
index 6a9f3ddb322e..c6a0364715ce 100644
--- a/drivers/acpi/pci_irq.c
+++ b/drivers/acpi/pci_irq.c
@@ -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);