Changeset 42549
- Timestamp:
- 2014-09-15T12:19:14+02:00 (3 years ago)
- Location:
- trunk/target/linux/ar71xx
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/target/linux/ar71xx/base-files/etc/diag.sh
r42130 r42549 35 35 status_led="aw-nr580:green:ready" 36 36 ;; 37 bullet-m | rocket-m | nano-m | nanostation-m | nanostation-m-xw )37 bullet-m | rocket-m | nano-m | nanostation-m | nanostation-m-xw | loco-m-xw) 38 38 status_led="ubnt:green:link4" 39 39 ;; -
trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
r42317 r42549 39 39 nanostation-m | \ 40 40 rocket-m | \ 41 nanostation-m-xw) 41 nanostation-m-xw | \ 42 loco-m-xw) 42 43 ucidef_set_led_rssi "rssilow" "RSSILOW" "ubnt:red:link1" "wlan0" "1" "100" "0" "13" 43 44 ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "ubnt:orange:link2" "wlan0" "26" "100" "-25" "13" -
trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
r42317 r42549 287 287 eap300v2 |\ 288 288 eap7660d |\ 289 loco-m-xw |\ 289 290 mr600 |\ 290 291 mr600v2 |\ -
trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh
r42317 r42549 353 353 name="bullet-m" 354 354 ;; 355 *"Loco M XW") 356 name="loco-m-xw" 357 ;; 355 358 *"Nanostation M") 356 359 name="nanostation-m" -
trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
r42279 r42549 191 191 airrouter | \ 192 192 bullet-m | \ 193 loco-m-xw | \ 193 194 nanostation-m | \ 194 195 rocket-m | \ -
trunk/target/linux/ar71xx/image/Makefile
r42189 r42549 1247 1247 $(eval $(call SingleProfile,UBNTXM,64kraw,UBNTUNIFIOUTDOOR,ubnt-unifi-outdoor,UBNT-U20,ttyS0,115200,XM,BZ,ar7240)) 1248 1248 $(eval $(call SingleProfile,UBNTXM,64kraw,UBNTNANOMXW,ubnt-nano-m-xw,UBNT-NM-XW,ttyS0,115200,XM,XW,ar934x)) 1249 $(eval $(call SingleProfile,UBNTXM,64kraw,UBNTLOCOXW,ubnt-loco-m-xw,UBNT-LOCO-XW,ttyS0,115200,XM,XW,ar934x)) 1249 1250 $(eval $(call SingleProfile,UBNTXM,64kraw,UBNTAIRGW,ubnt-air-gateway,UBNT-AGW,ttyATH0,115200,XM,AirGW,ar933x)) 1250 1251 … … 1292 1293 $(eval $(call MultiProfile,TLWDR4300,TLWDR3500V1 TLWDR3600V1 TLWDR4300V1 TLWDR4300V1IL TLWDR4310V1 MW4530RV1)) 1293 1294 $(eval $(call MultiProfile,TUBE2H,TUBE2H8M TUBE2H16M)) 1294 $(eval $(call MultiProfile,UBNT,UBNTAIRROUTER UBNTRS UBNTRSPRO UBNTLSSR71 UBNTBULLETM UBNTROCKETM UBNTNANOM UBNTNANOMXW UBNT UNIFI UBNTUNIFIOUTDOOR UAPPRO UBNTAIRGW))1295 $(eval $(call MultiProfile,UBNT,UBNTAIRROUTER UBNTRS UBNTRSPRO UBNTLSSR71 UBNTBULLETM UBNTROCKETM UBNTNANOM UBNTNANOMXW UBNTLOCOXW UBNTUNIFI UBNTUNIFIOUTDOOR UAPPRO UBNTAIRGW)) 1295 1296 $(eval $(call MultiProfile,WNDR3700,WNDR3700V1 WNDR3700V2 WNDR3800 WNDR3800CH WNDRMAC WNDRMACV2)) 1296 1297 $(eval $(call MultiProfile,WNR612V2,REALWNR612V2 N150R)) -
trunk/target/linux/ar71xx/patches-3.10/616-MIPS-ath79-ubnt-xw.patch
r42548 r42549 1 Index: linux-3.10.49/arch/mips/ath79/mach-ubnt-xm.c 2 =================================================================== 3 --- linux-3.10.49.orig/arch/mips/ath79/mach-ubnt-xm.c 2014-08-15 22:55:37.890080659 +0200 4 +++ linux-3.10.49/arch/mips/ath79/mach-ubnt-xm.c 2014-08-15 22:58:31.061570912 +0200 5 @@ -332,3 +332,67 @@ 1 --- a/arch/mips/ath79/mach-ubnt-xm.c 2 +++ b/arch/mips/ath79/mach-ubnt-xm.c 3 @@ -332,3 +332,78 @@ static void __init ubnt_uap_pro_setup(vo 6 4 MIPS_MACHINE(ATH79_MACH_UBNT_UAP_PRO, "UAP-PRO", "Ubiquiti UniFi AP Pro", 7 5 ubnt_uap_pro_setup); … … 68 66 +} 69 67 + 68 +static void __init ubnt_loco_m_xw_setup(void) 69 +{ 70 + ubnt_xw_init(); 71 + 72 + ath79_register_mdio(0, ~BIT(1)); 73 + ath79_eth0_data.phy_mask = BIT(1); 74 + ath79_register_eth(0); 75 +} 76 + 70 77 +MIPS_MACHINE(ATH79_MACH_UBNT_NANO_M_XW, "UBNT-NM-XW", "Ubiquiti Nanostation M XW", 71 78 + ubnt_nano_m_xw_setup); 72 79 + 80 +MIPS_MACHINE(ATH79_MACH_UBNT_LOCO_M_XW, "UBNT-LOCO-XW", "Ubiquiti Loco M XW", 81 + ubnt_loco_m_xw_setup); 73 82 --- a/arch/mips/ath79/machtypes.h 74 83 +++ b/arch/mips/ath79/machtypes.h 75 @@ -121,9 +121,1 0@@ enum ath79_mach_type {84 @@ -121,9 +121,11 @@ enum ath79_mach_type { 76 85 ATH79_MACH_TL_WR941ND, /* TP-LINK TL-WR941ND */ 77 86 ATH79_MACH_UBNT_AIRROUTER, /* Ubiquiti AirRouter */ 78 87 ATH79_MACH_UBNT_BULLET_M, /* Ubiquiti Bullet M */ 88 + ATH79_MACH_UBNT_LOCO_M_XW, /* Ubiquiti Loco M XW */ 79 89 ATH79_MACH_UBNT_LSSR71, /* Ubiquiti LS-SR71 */ 80 90 ATH79_MACH_UBNT_LSX, /* Ubiquiti LSX */ -
trunk/target/linux/ar71xx/patches-3.10/722-MIPS-ath79-add-airGateway-support.patch
r41794 r42549 13 13 #include "dev-eth.h" 14 14 #include "dev-gpio-buttons.h" 15 @@ - 389,3 +391,65 @@ static void __init ubnt_nano_m_xw_setup(15 @@ -406,3 +408,65 @@ MIPS_MACHINE(ATH79_MACH_UBNT_NANO_M_XW, 16 16 17 MIPS_MACHINE(ATH79_MACH_UBNT_ NANO_M_XW, "UBNT-NM-XW", "Ubiquiti NanostationM XW",18 ubnt_ nano_m_xw_setup);17 MIPS_MACHINE(ATH79_MACH_UBNT_LOCO_M_XW, "UBNT-LOCO-XW", "Ubiquiti Loco M XW", 18 ubnt_loco_m_xw_setup); 19 19 + 20 20 +static struct gpio_led ubnt_airgateway_gpio_leds[] __initdata = { … … 88 88 ATH79_MACH_UBNT_AIRROUTER, /* Ubiquiti AirRouter */ 89 89 ATH79_MACH_UBNT_BULLET_M, /* Ubiquiti Bullet M */ 90 ATH79_MACH_UBNT_L SSR71, /* Ubiquiti LS-SR71*/90 ATH79_MACH_UBNT_LOCO_M_XW, /* Ubiquiti Loco M XW */
Note: See TracChangeset
for help on using the changeset viewer.