]> err.no Git - linux-2.6/commit
[POWERPC] Fix Maple secondary IDE interrupt
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 9 Oct 2006 03:27:28 +0000 (13:27 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Oct 2006 01:54:26 +0000 (11:54 +1000)
commit1e1b20a119ac45a290bbc6261f69a2a6a2cc064a
tree22cdf1c819a7b7fb2e475166b83682d9853a054d
parentc10af8c38da7a0bc9010d6609237c1ab6d2da12c
[POWERPC] Fix Maple secondary IDE interrupt

The IDE driver will pick up the PCI IRQ for both channels on Maple
despite the fact that it's in legacy mode. This works around it by
"hiding" the PCI IRQ of the AMD8111 IDE controller when it's configured
in legacy mode on the Maple platform, thus causing the driver to call
pci_get_legacy_ide_irq() which will return the correct interrupts for
both channels.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/maple/pci.c