Commit debb1dec authored by Deepak Saxena's avatar Deepak Saxena Committed by Russell King

[ARM PATCH] 2348/1: Fix IXDP2800 PCI irq mapping

Patch from Deepak Saxena

Our case statments are looking at the devfn, but the existing code
does a switch(PCI_SLOT(dev->devfn)). This causes all PCI devices 
behind the first bridge to be configured with IRQ 0. Bad.

Signed-off-by: Deepak Saxena
Signed-off-by: Russell King
parent 1db608d1
......@@ -113,7 +113,7 @@ static int __init ixdp2800_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
* Device behind the first bridge
*/
if(dev->bus->self->devfn == IXDP2X00_P2P_DEVFN) {
switch(PCI_SLOT(dev->devfn)) {
switch(dev->devfn) {
case IXDP2X00_PMC_DEVFN:
return IRQ_IXDP2800_PMC;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment