diff options
author | Sergey Ryazanov <ryazanov.s.a@gmail.com> | 2014-10-29 02:18:50 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 09:45:29 +0300 |
commit | d6a4c72ae4dcf5e6824638e57a8088bd1313a744 (patch) | |
tree | 0816ada60e7e6138276a5c6c451201cf52feaa49 /arch/mips/ath25/ar2315.c | |
parent | 164a974889c03cbc6559923b8c1da8762904c560 (diff) | |
download | linux-d6a4c72ae4dcf5e6824638e57a8088bd1313a744.tar.xz |
MIPS: ath25: add Wireless device support
Atheros AR5312 and AR2315 both have a builtin wireless device, this
patch add helper code and register platform device for all supported
WiSoCs.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Cc: Linux MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/8249/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ath25/ar2315.c')
-rw-r--r-- | arch/mips/ath25/ar2315.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/ath25/ar2315.c b/arch/mips/ath25/ar2315.c index f02478915afd..2befa7d766a6 100644 --- a/arch/mips/ath25/ar2315.c +++ b/arch/mips/ath25/ar2315.c @@ -171,6 +171,8 @@ void __init ar2315_init_devices(void) { /* Find board configuration */ ath25_find_config(AR2315_SPI_READ_BASE, AR2315_SPI_READ_SIZE); + + ath25_add_wmac(0, AR2315_WLAN0_BASE, AR2315_IRQ_WLAN0); } static void ar2315_restart(char *command) |