From c5a7dc49d11810838af9eafdddadf92a3b8218aa Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 21 Apr 2017 00:53:03 +0200 Subject: ramips: split Phicomm PSG1218 and PSG1218K2C PSG1218 got only 4 Ethernet ports and WAN on port 3 while PSG1218K2C got 5 Ethernet ports and WAN on port 4 Switch to use kmod-kt76x2 instead of kmod-mt76 for both devices while at it. Signed-off-by: Daniel Golle --- target/linux/ramips/base-files/lib/ramips.sh | 3 +++ target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 + 2 files changed, 4 insertions(+) (limited to 'target/linux/ramips/base-files/lib') diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 786aecb99b..a75f5208a3 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -400,6 +400,9 @@ ramips_board_detect() { *"PSG1218") name="psg1218" ;; + *"PSG1218K2C") + name="psg1218k2c" + ;; *"PSR-680W"*) name="psr-680w" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 08fa45ad98..827109b59e 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -113,6 +113,7 @@ platform_check_image() { pbr-m1|\ psg1208|\ psg1218|\ + psg1218k2c|\ psr-680w|\ px-4885|\ rb750gr3|\ -- cgit v1.2.3