Browse Source

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>
Bjorn Helgaas 16 năm trước cách đây
mục cha
commit
b52b3f4af8
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      drivers/acpi/pci_irq.c

+ 0 - 1
drivers/acpi/pci_irq.c

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