MIPS: ath79: add common WMAC device for AR913X based boards
authorGabor Juhos <juhosg@openwrt.org>
Tue, 4 Jan 2011 20:28:29 +0000 (21:28 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 18 Jan 2011 18:30:28 +0000 (19:30 +0100)
commitf5b35d0b16a08e6c1e7c8a41fa87ad10cf9aefa4
treefd4991f97b52aa714f5aebe955a2b897dbca0ecc
parentaa6695ec8b51da7aaa245310073ddd39a306a77f
MIPS: ath79: add common WMAC device for AR913X based boards

Add common platform_device and helper code to make the registration
of the built-in wireless MAC easier on the Atheros AR9130/AR9132
based boards. Also register the WMAC device on the AR81 board.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: Imre Kaloz <kaloz@openwrt.org>,
Cc: Luis R. Rodriguez <lrodriguez@atheros.com>
Cc: Cliff Holden <Cliff.Holden@Atheros.com>
Cc: Kathy Giori <Kathy.Giori@Atheros.com>
Patchwork: https://patchwork.linux-mips.org/patch/1962/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath79/Kconfig
arch/mips/ath79/Makefile
arch/mips/ath79/dev-ar913x-wmac.c [new file with mode: 0644]
arch/mips/ath79/dev-ar913x-wmac.h [new file with mode: 0644]
arch/mips/ath79/mach-ap81.c
arch/mips/include/asm/mach-ath79/ar71xx_regs.h