aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-06-04 12:30:09 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-06-04 12:30:09 +0000
commite21993eca66be02cda7ad5086c806ff562453726 (patch)
treea1b73d3c5cfb5dceba12ffc18f58a38b8200fb93 /target
parentd7d2280fd79442cae09e6e76164f0a0b41529536 (diff)
downloadupstream-e21993eca66be02cda7ad5086c806ff562453726.tar.gz
upstream-e21993eca66be02cda7ad5086c806ff562453726.tar.bz2
upstream-e21993eca66be02cda7ad5086c806ff562453726.zip
ar71xx: select the internal antenna by default on the ZCN-1523H boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27101 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-zcn-1523h.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-zcn-1523h.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-zcn-1523h.c
index bfbb72621f..915340bf5c 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-zcn-1523h.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-zcn-1523h.c
@@ -191,6 +191,7 @@ static void __init zcn_1523h_generic_setup(void)
static void __init zcn_1523h_2_setup(void)
{
zcn_1523h_generic_setup();
+ ap91_pci_setup_wmac_gpio(BIT(9), 0);
ar71xx_add_device_leds_gpio(1, ARRAY_SIZE(zcn_1523h_2_leds_gpio),
zcn_1523h_2_leds_gpio);
@@ -202,6 +203,7 @@ MIPS_MACHINE(AR71XX_MACH_ZCN_1523H_2, "ZCN-1523H-2", "Zcomax ZCN-1523H-2",
static void __init zcn_1523h_5_setup(void)
{
zcn_1523h_generic_setup();
+ ap91_pci_setup_wmac_gpio(BIT(8), 0);
ar71xx_add_device_leds_gpio(1, ARRAY_SIZE(zcn_1523h_5_leds_gpio),
zcn_1523h_5_leds_gpio);