Files
linux-legacy/include/linux
Bjorn Helgaas 57c2cf71c1 PCI: add pci_swizzle_interrupt_pin()
This patch adds pci_swizzle_interrupt_pin(), which implements the
INTx swizzling algorithm specified in Table 9-1 of the "PCI-to-PCI
Bridge Architecture Specification," revision 1.2.

There are many architecture-specific implementations of this
swizzle that can be replaced by this common one.

Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-01-07 11:12:50 -08:00
..
…
…
…
…
2009-01-04 12:17:42 +01:00
…
…
…
…
…
2009-01-06 15:59:19 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-01-06 15:59:29 -08:00
…
…
2009-01-01 10:12:19 +10:30
…
…
…
2009-01-04 13:33:20 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
2009-01-06 15:59:01 -08:00
…
…
…
…
…
…
2009-01-02 12:19:34 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-01-04 13:33:20 -08:00
…
2009-01-04 13:33:20 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-01-06 15:59:09 -08:00
…
…
…
…
…
2009-01-06 15:59:01 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-01-05 08:40:30 -08:00
…
…
…
…
2009-01-05 08:40:30 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-01-03 14:11:07 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-01-06 15:58:58 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-01-04 16:13:40 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-01-07 11:12:50 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
2009-01-06 10:44:30 -08:00
…
…
…
2009-01-06 15:59:12 -08:00
…
…
…
…
…
…
…
…
2009-01-05 18:31:12 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-01-04 13:33:20 -08:00
…
…
…
…
…
…
…
…
…
2009-01-07 09:58:22 +11:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-01-01 10:12:25 +10:30
…
…
…
…
…
…
…
…
…
2009-01-02 10:19:36 -08:00
2009-01-06 15:59:10 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-01-06 15:59:09 -08:00
…
…
…
…
…
…
…
…