aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorRaylynn Knight <rayknight@me.com>2022-03-20 23:53:38 -0400
committerDaniel Golle <daniel@makrotopia.org>2022-03-27 16:14:00 +0100
commit0c49efd210a8a2502db76e4a884eedc8342a4442 (patch)
tree55c41a835c4c478dc2298627e014cf8aa6431a2e /target
parent52e0ce23278e6c0228527a27c0f32bb2095769e1 (diff)
downloadupstream-0c49efd210a8a2502db76e4a884eedc8342a4442.tar.gz
upstream-0c49efd210a8a2502db76e4a884eedc8342a4442.tar.bz2
upstream-0c49efd210a8a2502db76e4a884eedc8342a4442.zip
x86: Add support for Sophos XG 85 and XG 86 devices
This commit builds on previous efforts to add support for Sophos devices. * Add support for Sophos XG 85 with/without wireless * Add support for Sophos XG 86 with/without wireless Tested on Sophos XG 85w rev1 and XG 86 rev 1 Signed-off-by: Raylynn Knight <rayknight@me.com> (cherry picked from commit c7bcbcd49280a79b287cc072cd0ca7de777a7ac4)
Diffstat (limited to 'target')
-rw-r--r--target/linux/x86/base-files/etc/board.d/02_network3
-rw-r--r--target/linux/x86/base-files/lib/preinit/01_sysinfo2
2 files changed, 3 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 97f002ba08..e4451461db 100644
--- a/target/linux/x86/base-files/etc/board.d/02_network
+++ b/target/linux/x86/base-files/etc/board.d/02_network
@@ -24,7 +24,8 @@ 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)
+sophos-sg-115wr2|sophos-xg-115wr2| \
+sophos-xg-85*|sophos-xg-86*)
ucidef_set_interfaces_lan_wan "eth0 eth2 eth3" "eth1"
;;
sophos-sg-125r1|sophos-xg-125r1| \
diff --git a/target/linux/x86/base-files/lib/preinit/01_sysinfo b/target/linux/x86/base-files/lib/preinit/01_sysinfo
index 97e8e003f3..0714a9a39f 100644
--- a/target/linux/x86/base-files/lib/preinit/01_sysinfo
+++ b/target/linux/x86/base-files/lib/preinit/01_sysinfo
@@ -38,7 +38,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*|115*|125*|135*)
+ 105*|115*|125*|135*|85*|86*)
product="${product}-${product_version}"
break
;;