OpenWrt – Blame information for rev 4

Subversion Repositories:
Rev:
Rev Author Line No. Line
4 office 1 --- a/arch/arm/mach-ixp4xx/ixdp425-pci.c
2 +++ b/arch/arm/mach-ixp4xx/ixdp425-pci.c
3 @@ -53,7 +53,7 @@ static int __init ixdp425_map_irq(const
4 };
5  
6 if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES)
7 - return pci_irq_table[(slot + pin - 2) % 4];
8 + return pci_irq_table[(slot + pin - 2) % IRQ_LINES];
9  
10 return -1;
11 }
12 --- a/arch/arm/mach-ixp4xx/miccpt-pci.c
13 +++ b/arch/arm/mach-ixp4xx/miccpt-pci.c
14 @@ -54,7 +54,7 @@ static int __init miccpt_map_irq(const s
15 };
16  
17 if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES)
18 - return pci_irq_table[(slot + pin - 2) % 4];
19 + return pci_irq_table[(slot + pin - 2) % IRQ_LINES];
20  
21 return -1;
22 }