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>
Showing
- arch/mips/ath79/Kconfig 5 additions, 0 deletionsarch/mips/ath79/Kconfig
- arch/mips/ath79/Makefile 1 addition, 0 deletionsarch/mips/ath79/Makefile
- arch/mips/ath79/dev-ar913x-wmac.c 60 additions, 0 deletionsarch/mips/ath79/dev-ar913x-wmac.c
- arch/mips/ath79/dev-ar913x-wmac.h 17 additions, 0 deletionsarch/mips/ath79/dev-ar913x-wmac.h
- arch/mips/ath79/mach-ap81.c 6 additions, 0 deletionsarch/mips/ath79/mach-ap81.c
- arch/mips/include/asm/mach-ath79/ar71xx_regs.h 3 additions, 0 deletionsarch/mips/include/asm/mach-ath79/ar71xx_regs.h
arch/mips/ath79/dev-ar913x-wmac.c
0 → 100644
arch/mips/ath79/dev-ar913x-wmac.h
0 → 100644
Please register or sign in to comment