summaryrefslogtreecommitdiffstats
path: root/crypto/internal.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-12-08 21:30:41 -0700
committerLen Brown <len.brown@intel.com>2008-12-30 21:24:29 -0500
commite64e9db53ab78d20dff4cc1aec8a6b0e4e70ce8c (patch)
tree0679a6b79d5f0cd5dd5ef2dff1d8aabb92a8efa7 /crypto/internal.h
parentcf68b80b0e0cbc6a0d7bbb36b07ce94779ef5f1f (diff)
downloadblackbird-op-linux-e64e9db53ab78d20dff4cc1aec8a6b0e4e70ce8c.tar.gz
blackbird-op-linux-e64e9db53ab78d20dff4cc1aec8a6b0e4e70ce8c.zip
ACPI: PCI: always use the PCI INTx pin values, not the _PRT ones
This patch changes pci_irq.c to always use PCI INTx pin encodings instead of a mix of PCI and _PRT encodings. The PCI INTx pin numbers from the PCI_INTERRUPT_PIN config register are 0=device doesn't use interrupts, 1=INTA, ..., 4=INTD. But the _PRT table uses 0=INTA, ..., 3=INTD. This patch converts the _PRT encoding to the PCI encoding immediately when we add a _PRT entry to the global list. All the rest of the code can then use the PCI encoding consistently. The point of this is to make the interrupt swizzling look the same as on other architectures, so someday we can unify them. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'crypto/internal.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud