atheros: simplify AR2315 misc IRQ (un)masking
authorFelix Fietkau <nbd@openwrt.org>
Thu, 17 Jul 2014 16:36:33 +0000 (16:36 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 17 Jul 2014 16:36:33 +0000 (16:36 +0000)
commita2c7b566b05732d1fb50f77c5139b2c05077d68f
tree3b89bafc51ee6d41443d035d81e09916aaffb4cf
parent65e8528b1765c2f3828b4ace45209d2a0d864ab1
atheros: simplify AR2315 misc IRQ (un)masking

Currently AR5312 misc IRQ numbers are used for AR2315+ chips, what cause
us to use switch-case to map IRQ number to ISR bit. Introduce AR2315
specific misc IRQs set and simplify interrupt (un)mask operation.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41694
target/linux/atheros/patches-3.10/100-board.patch
target/linux/atheros/patches-3.10/105-ar2315_pci.patch