X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fatheros%2Fpatches-2.6.28%2F100-board.patch;h=8b76d07c38d2f64f22f225d161248b8a22cddf82;hb=c6de2c0d2fb3c94abc129f9343d6f94257235c6d;hp=6f27d1ace81e39f4c361380eb24de4257a640778;hpb=5f3129e030cef77072c110c8fcbdcf5509ce03cb;p=openwrt-10.03%2F.git diff --git a/target/linux/atheros/patches-2.6.28/100-board.patch b/target/linux/atheros/patches-2.6.28/100-board.patch index 6f27d1ace..8b76d07c3 100644 --- a/target/linux/atheros/patches-2.6.28/100-board.patch +++ b/target/linux/atheros/patches-2.6.28/100-board.patch @@ -1924,7 +1924,7 @@ + if (!ar231x_board.radio) + return 0; + -+ if (*((u32 *) ar231x_board.radio) & AR531X_RADIO0_MASK) ++ if (*((u32 *) radio) & AR531X_RADIO0_MASK) + ar231x_add_wmac(0, AR531X_WLAN0, + AR5312_IRQ_WLAN0_INTRS); + @@ -1948,7 +1948,7 @@ + break; + } + -+ if (*((u32 *) ar231x_board.radio) & AR531X_RADIO1_MASK) ++ if (*((u32 *) radio) & AR531X_RADIO1_MASK) + ar231x_add_wmac(1, AR531X_WLAN1, + AR5312_IRQ_WLAN1_INTRS); + @@ -2096,7 +2096,7 @@ + --- /dev/null +++ b/arch/mips/ar231x/ar2315.c -@@ -0,0 +1,679 @@ +@@ -0,0 +1,677 @@ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive @@ -2149,10 +2149,8 @@ + + if (pend) { + bit = fls(pend) - 1; -+ printk("GPIO IRQ: pend=0x%08x, val=%08x, bit=%d\n", pend, gpiointval, bit); + pend &= ~(1 << bit); + gpiointval ^= (1 << bit); -+ printk("AFTER IRQ: pend=0x%08x, val=%08x, bit=%d\n", pend, gpiointval, bit); + } + + if (!pend)