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)
commit0a785ebb7d6e86c0d91c5baff1b021294004bd8d
tree86208c0b85944253d5dcfa242a8f050597d254e9
parentd29b61b5f03a2ddb997f0bc4e1b99951c4897ba7
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