diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-03-13 03:01:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-03-13 03:01:42 +0000 |
commit | 1b5b20e51e290e58cc28a9a7cfb72178c0c10614 (patch) | |
tree | c1d2f7bb8aef9a275057b2a77d5a8aa2351e9314 /target/linux/atheros/patches-3.18/105-ar2315_pci.patch | |
parent | 6d29a8bc64830d3f0c26eafe47880f84aeb425e8 (diff) | |
download | mtk-20170518-1b5b20e51e290e58cc28a9a7cfb72178c0c10614.zip mtk-20170518-1b5b20e51e290e58cc28a9a7cfb72178c0c10614.tar.gz mtk-20170518-1b5b20e51e290e58cc28a9a7cfb72178c0c10614.tar.bz2 |
atheros: v3.18: rearrange code between patches
Cleanup board patch by moving code to specific patches, and factor out
leds to separate patch. No functional changes.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 44729
Diffstat (limited to 'target/linux/atheros/patches-3.18/105-ar2315_pci.patch')
-rw-r--r-- | target/linux/atheros/patches-3.18/105-ar2315_pci.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/atheros/patches-3.18/105-ar2315_pci.patch b/target/linux/atheros/patches-3.18/105-ar2315_pci.patch index 8e3dfa1..80256d4 100644 --- a/target/linux/atheros/patches-3.18/105-ar2315_pci.patch +++ b/target/linux/atheros/patches-3.18/105-ar2315_pci.patch @@ -537,10 +537,10 @@ + default y --- a/arch/mips/ath25/ar2315.c +++ b/arch/mips/ath25/ar2315.c -@@ -144,6 +144,10 @@ static void ar2315_irq_dispatch(void) +@@ -139,6 +139,10 @@ static void ar2315_irq_dispatch(void) + + if (pending & CAUSEF_IP3) do_IRQ(AR2315_IRQ_WLAN0); - else if (pending & CAUSEF_IP4) - do_IRQ(AR2315_IRQ_ENET0); +#ifdef CONFIG_PCI_AR2315 + else if (pending & CAUSEF_IP5) + do_IRQ(AR2315_IRQ_LCBUS_PCI); @@ -548,7 +548,7 @@ else if (pending & CAUSEF_IP2) do_IRQ(AR2315_IRQ_MISC); else if (pending & CAUSEF_IP7) -@@ -429,10 +433,62 @@ void __init ar2315_plat_mem_setup(void) +@@ -303,10 +307,62 @@ void __init ar2315_plat_mem_setup(void) _machine_restart = ar2315_restart; } |