projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: Octeon: Fix management port MII address on Kontron S1901
[linux-drm-fsl-dcu.git]
/
arch
/
mips
/
cavium-octeon
/
executive
/
cvmx-helper-board.c
diff --git
a/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
b/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
index 9eb0feef441721362ee5e699e2788c1ffaf3b391..36e30d65ba05bc4237a656670c18eea447f1232a 100644
(file)
--- a/
arch/mips/cavium-octeon/executive/cvmx-helper-board.c
+++ b/
arch/mips/cavium-octeon/executive/cvmx-helper-board.c
@@
-195,6
+195,12
@@
int cvmx_helper_board_get_mii_address(int ipd_port)
return 8;
else
return -1;
+ case CVMX_BOARD_TYPE_KONTRON_S1901:
+ if (ipd_port == CVMX_HELPER_BOARD_MGMT_IPD_PORT)
+ return 1;
+ else
+ return -1;
+
}
/* Some unknown board. Somebody forgot to update this function... */