aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaylynn Knight <rayknight@me.com>2021-12-27 00:12:03 -0500
committerChristian Lamparter <chunkeey@gmail.com>2021-12-29 22:55:16 +0100
commit2e1206ad236c16096ce39a3b494d55dc11b6ead1 (patch)
treec973d96f9bc5f1632956d0b809071d352a084640
parent3928f6ae5c79e818dbd3018cb29dd9a02212153b (diff)
downloadupstream-2e1206ad236c16096ce39a3b494d55dc11b6ead1.tar.gz
upstream-2e1206ad236c16096ce39a3b494d55dc11b6ead1.tar.bz2
upstream-2e1206ad236c16096ce39a3b494d55dc11b6ead1.zip
x86: add/improve support for Sophos SG/XG products
* Add support for Sophos SG/XG-115 r1, r2 with/without wireless * Add support for Sophos SG/XG-125 r1, r2 with/without wireless * Add wireless support for SG/XG-105 Signed-off-by: Raylynn Knight <rayknight@me.com>
-rw-r--r--target/linux/x86/base-files/etc/board.d/02_network12
-rw-r--r--target/linux/x86/base-files/lib/preinit/01_sysinfo2
2 files changed, 12 insertions, 2 deletions
diff --git a/target/linux/x86/base-files/etc/board.d/02_network b/target/linux/x86/base-files/etc/board.d/02_network
index 21238a5df1..3226967b57 100644
--- a/target/linux/x86/base-files/etc/board.d/02_network
+++ b/target/linux/x86/base-files/etc/board.d/02_network
@@ -18,9 +18,19 @@ roqos-roqos-core-rc10)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
sophos-sg-105r1|sophos-xg-105r1| \
-sophos-sg-105r2|sophos-xg-105r2)
+sophos-sg-105Wr1|sophos-xg-105Wr1| \
+sophos-sg-105r2|sophos-xg-105r2| \
+sophos-sg-105Wr2|sophos-xg-105Wr2| \
+sophos-sg-115r1|sophos-xg-115r1| \
+sophos-sg-115Wr1|sophos-xg-115Wr1| \
+sophos-sg-115r2|sophos-xg-115r2| \
+sophos-sg-115Wr2|sophos-xg-115Wr2)
ucidef_set_interfaces_lan_wan "eth0 eth2 eth3" "eth1"
;;
+sophos-sg-125r1|sophos-xg-125r1| \
+sophos-sg-125Wr1|sophos-xg-125Wr1| \
+sophos-sg-125r2|sophos-xg-125r2| \
+sophos-sg-125Wr2|sophos-xg-125Wr2| \
sophos-sg-135r1|sophos-xg-135r1| \
sophos-sg-135Wr1|sophos-xg-135Wr1| \
sophos-sg-135r2|sophos-xg-135r2| \
diff --git a/target/linux/x86/base-files/lib/preinit/01_sysinfo b/target/linux/x86/base-files/lib/preinit/01_sysinfo
index 0687f4ca13..498b076998 100644
--- a/target/linux/x86/base-files/lib/preinit/01_sysinfo
+++ b/target/linux/x86/base-files/lib/preinit/01_sysinfo
@@ -26,7 +26,7 @@ do_sysinfo_x86() {
local product_version
product_version="$(cat /sys/devices/virtual/dmi/id/product_version 2>/dev/null)"
case "$product_version" in
- 105*|135*)
+ 105*|115*|125*|135*)
product="${product}-${product_version}"
break
;;