diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-06-23 00:13:52 +0200 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2016-06-23 00:13:52 +0200 |
commit | 5ce87f5de3cdbd58ddb7de44717cebb7f371d277 (patch) | |
tree | 5881d0c5ff74020a13136cf3ef8066c8775f4a72 /target/linux/ixp4xx/patches-4.4/910-ixp4xx-nr_irq_lines.patch | |
parent | 07796c512fc492dc66e482a6454331b6cece47b0 (diff) | |
download | master-187ad058-5ce87f5de3cdbd58ddb7de44717cebb7f371d277.tar.gz master-187ad058-5ce87f5de3cdbd58ddb7de44717cebb7f371d277.tar.bz2 master-187ad058-5ce87f5de3cdbd58ddb7de44717cebb7f371d277.zip |
ixp4xx: Add support for 4.4 kernel, refresh patches
Signed-off-by: Ted Hess <thess@kitschensync.net>
Diffstat (limited to 'target/linux/ixp4xx/patches-4.4/910-ixp4xx-nr_irq_lines.patch')
-rw-r--r-- | target/linux/ixp4xx/patches-4.4/910-ixp4xx-nr_irq_lines.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/ixp4xx/patches-4.4/910-ixp4xx-nr_irq_lines.patch b/target/linux/ixp4xx/patches-4.4/910-ixp4xx-nr_irq_lines.patch new file mode 100644 index 0000000000..06e09f469d --- /dev/null +++ b/target/linux/ixp4xx/patches-4.4/910-ixp4xx-nr_irq_lines.patch @@ -0,0 +1,22 @@ +--- a/arch/arm/mach-ixp4xx/ixdp425-pci.c ++++ b/arch/arm/mach-ixp4xx/ixdp425-pci.c +@@ -53,7 +53,7 @@ static int __init ixdp425_map_irq(const + }; + + if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES) +- return pci_irq_table[(slot + pin - 2) % 4]; ++ return pci_irq_table[(slot + pin - 2) % IRQ_LINES]; + + return -1; + } +--- a/arch/arm/mach-ixp4xx/miccpt-pci.c ++++ b/arch/arm/mach-ixp4xx/miccpt-pci.c +@@ -54,7 +54,7 @@ static int __init miccpt_map_irq(const s + }; + + if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES) +- return pci_irq_table[(slot + pin - 2) % 4]; ++ return pci_irq_table[(slot + pin - 2) % IRQ_LINES]; + + return -1; + } |