[PATCH] MIPS: octeon: add explicit interface setup on E200

From
Adrian Schmutzler <hidden>
Date
2021-02-25 16:57:26
Define the device explicitly instead of having it fall into the
"unknown board" default.

The board is already present in cvmx-bootinfo.h.

Signed-off-by: Adrian Schmutzler <redacted>
---
 arch/mips/cavium-octeon/executive/cvmx-helper-board.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/arch/mips/cavium-octeon/executive/cvmx-helper-board.c b/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
index abd11b7af22f..ce9d2553537e 100644
--- 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(int ipd_port)
 			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;
-- 
2.20.1
Thread (2 messages) 2 messages, 2 authors, last reply 2021-03-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help