octeon: Introduce 5.15 testing kernel
[openwrt/staging/dedeckeh.git] / target / linux / octeon / patches-5.15 / 100-ubnt_edgerouter2_support.patch
diff --git a/target/linux/octeon/patches-5.15/100-ubnt_edgerouter2_support.patch b/target/linux/octeon/patches-5.15/100-ubnt_edgerouter2_support.patch
new file mode 100644 (file)
index 0000000..606debd
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
++++ b/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
+@@ -174,6 +174,8 @@ int cvmx_helper_board_get_mii_address(in
+                       return 7 - ipd_port;
+               else
+                       return -1;
++      case CVMX_BOARD_TYPE_UBNT_E200:
++              return -1;
+       case CVMX_BOARD_TYPE_KONTRON_S1901:
+               if (ipd_port == CVMX_HELPER_BOARD_MGMT_IPD_PORT)
+                       return 1;