ACPI: PCI: use 1-based encoding for _PRT quirks
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 9 Dec 2008 04:30:46 +0000 (21:30 -0700)
committerLen Brown <len.brown@intel.com>
Wed, 31 Dec 2008 02:26:07 +0000 (21:26 -0500)
commitc458033c9b72a81b890d97ec6339694bab252383
treeafd8934ce76eddc4e3a355058d878f9c31a29954
parente64e9db53ab78d20dff4cc1aec8a6b0e4e70ce8c
ACPI: PCI: use 1-based encoding for _PRT quirks

Use the PCI INTx pin encoding (1=INTA, 2=INTB, etc) for _PRT quirks.
Then we can simply compare "entry->pin == quirk->pin".

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