aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-12-23 14:43:35 +0000
committerJohn Crispin <john@openwrt.org>2015-12-23 14:43:35 +0000
commit772f9d4e32f326d94050da157d108f7f97961c5f (patch)
treee85085e84a6f0945c6da35162b88cdfbad804482 /target/linux/ar71xx/base-files/etc
parent4ea610da74fd384faeb6313c783f16451872734b (diff)
downloadupstream-772f9d4e32f326d94050da157d108f7f97961c5f.tar.gz
upstream-772f9d4e32f326d94050da157d108f7f97961c5f.tar.bz2
upstream-772f9d4e32f326d94050da157d108f7f97961c5f.zip
ar71xx: Add support for AirTight Networks C-55
This patch is to add support for the AirTight Networks C-55 Access Point Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> SVN-Revision: 47973
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds6
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
-rw-r--r--target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom8
4 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index 16053443b4..576d45b64d 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -98,6 +98,12 @@ cap324)
ucidef_set_led_wlan "wlan_green" "WLAN_GREEN" "pcs:green:wlan" "phy1tpt"
;;
+c-55)
+ ucidef_set_led_netdev "lan_green" "LAN_GREEN" "c-55:green:lan" "eth0"
+ ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "c-55:amber:wlan" "phy0tpt"
+ ucidef_set_led_wlan "wlan_green" "WLAN_GREEN" "c-55:green:wlan" "phy1tpt"
+ ;;
+
cap4200ag)
ucidef_set_led_default "lan_green" "LAN_GREEN" "senao:green:lan" "1"
ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "senao:amber:wlan" "phy0tpt"
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index bbc93fff5b..8c57f2b59c 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -319,6 +319,7 @@ antminer-s1 |\
antminer-s3 |\
aw-nr580 |\
bullet-m |\
+c-55 |\
cap4200ag |\
eap300v2 |\
eap7660d |\
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index eaf410b8b8..7e2dac8035 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -58,6 +58,9 @@ get_status_led() {
cap324)
status_led="pcs:green:power"
;;
+ c-55)
+ status_led="c-55:green:pwr"
+ ;;
cap4200ag)
status_led="senao:green:pwr"
;;
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index 9d3356447a..3b0229d3d5 100644
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -53,6 +53,10 @@ board=$(ar71xx_board_name)
case "$FIRMWARE" in
"soc_wmac.eeprom")
case $board in
+ c-55)
+ ath9k_eeprom_extract "art" 4096 2048
+ ath9k_patch_firmware_mac $(macaddr_add $(mtd_get_mac_binary art 0) +1)
+ ;;
mr18)
. /lib/upgrade/nand.sh
@@ -77,6 +81,10 @@ case "$FIRMWARE" in
"pci_wmac0.eeprom")
case $board in
+ c-55)
+ ath9k_eeprom_extract "art" 20480 2048
+ ath9k_patch_firmware_mac $(macaddr_add $(mtd_get_mac_binary art 0) +2)
+ ;;
mr18)
. /lib/upgrade/nand.sh