]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: PCI: versatile: fix PCI interrupt setup
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 10 Mar 2012 11:32:34 +0000 (11:32 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 13 May 2012 16:12:16 +0000 (17:12 +0100)
commitc7fa4762953e0a067c1250b01337b54c758d4534
tree03cd4a54b1a44d7f2b346536e6be6fc9e8b9d7cd
parent354ba54c2988037f728cc8747999cbd23a794129
ARM: PCI: versatile: fix PCI interrupt setup

This is at odds with the documentation in the file; it says pin 1 on
slots 24,25,26,27 map to IRQs 27,28,29,30, but the function will always
be entered with slot=0 due to the lack of swizzle function.  Fix this
function to behave as the comments say, and use the standard PCI
swizzle.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-versatile/pci.c