x86: add/improve support for Sophos SG/XG products
authorRaylynn Knight <rayknight@me.com>
Mon, 27 Dec 2021 05:12:03 +0000 (00:12 -0500)
committerChristian Lamparter <chunkeey@gmail.com>
Wed, 29 Dec 2021 21:55:16 +0000 (22:55 +0100)
* 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>
target/linux/x86/base-files/etc/board.d/02_network
target/linux/x86/base-files/lib/preinit/01_sysinfo

index 21238a5df1cad1cb0134094472b7dae61225f121..3226967b57b8fe848713dbc55c00d6b1a312a8b7 100644 (file)
@@ -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| \
index 0687f4ca13817a5c8e5c404ad1dfae3a0938b499..498b0769988d3247a35d9c87e40f79cdf06544e8 100644 (file)
@@ -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
                                ;;