x86: Add support for Sophos XG 85 and XG 86 devices
authorRaylynn Knight <rayknight@me.com>
Mon, 21 Mar 2022 03:53:38 +0000 (23:53 -0400)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 26 Mar 2022 01:02:45 +0000 (02:02 +0100)
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>
target/linux/x86/base-files/etc/board.d/02_network
target/linux/x86/base-files/lib/preinit/01_sysinfo

index 97f002ba082981313a54ec9cd287134116b4879e..e4451461dbb34878b0a9bf09944dad1031ac33a8 100644 (file)
@@ -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| \
index 97e8e003f344c1216257ec164c9a1d6d9124cbdc..0714a9a39f6de942108238eb530af3a71ab1a113 100644 (file)
@@ -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
                                ;;