summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2017-04-21 02:47:44 +0200
committerDaniel Golle <daniel@makrotopia.org>2017-04-21 02:55:36 +0200
commitc6fe325587b1955f84c339a2ae17da28dc4e6bec (patch)
tree88059beb3757ef80b2e4c9002c8e468feb1a9fc7 /target/linux/ramips/base-files/etc
parentc5a7dc49d11810838af9eafdddadf92a3b8218aa (diff)
downloadmtk-20170518-c6fe325587b1955f84c339a2ae17da28dc4e6bec.zip
mtk-20170518-c6fe325587b1955f84c339a2ae17da28dc4e6bec.tar.gz
mtk-20170518-c6fe325587b1955f84c339a2ae17da28dc4e6bec.tar.bz2
ramips: rename PSG1218 to match label
Fix previous commit to be less ambigous: PSG1218 rev.A = 5 ports, external PA, heatsinks PSG1218 rev.B = 4 ports, internal PA, no heatsinks Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network4
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh4
3 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 2c44a83..3ca390f 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -287,8 +287,8 @@ pbr-m1)
psg1208)
set_wifi_led "$board:white:wlan2g"
;;
-psg1218\|
-psg1218k2c)
+psg1218a\|
+psg1218b)
ucidef_set_led_netdev "Network" "Network" "$board:blue:status" "eth0"
ucidef_set_led_default "status" "STATUS" "$board:yellow:status" "0"
;;
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index b2966c2..a4da5ee 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -95,7 +95,7 @@ ramips_setup_interfaces()
oy-0001|\
pbr-m1|\
psg1208|\
- psg1218k2c|\
+ psg1218a|\
r6220|\
sap-g3200u3|\
sk-wb8|\
@@ -115,7 +115,7 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
;;
- psg1218)
+ psg1218b)
ucidef_add_switch "switch0" \
"0:lan:3" "1:lan:2" "2:lan:1" "3:wan" "6@eth0"
;;
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index af18264..3624efd 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -104,8 +104,8 @@ get_status_led() {
psg1208)
status_led="$board:white:wps"
;;
- psg1218|\
- psg1218k2c)
+ psg1218a|\
+ psg1218b)
status_led="$board:yellow:status"
;;
cy-swr1100|\