Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190511
b: refs/heads/master
c: 9dd1474
h: refs/heads/master
i:
  190509: f7fe18e
  190507: cd36f4f
  190503: f1e5214
  190495: 33b36c9
v: v3
  • Loading branch information
David Daney authored and Ralf Baechle committed Apr 30, 2010
1 parent f623add commit 050f416
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6c17812d622a74950e2cd65f368f0518491cca61
refs/heads/master: 9dd147467790932e2f630b67eec925745463ee11
8 changes: 8 additions & 0 deletions trunk/drivers/staging/octeon/cvmx-helper-board.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,14 @@ int cvmx_helper_board_get_mii_address(int ipd_port)
* through switch.
*/
return -1;

case CVMX_BOARD_TYPE_CUST_WSX16:
if (ipd_port >= 0 && ipd_port <= 3)
return ipd_port;
else if (ipd_port >= 16 && ipd_port <= 19)
return ipd_port - 16 + 4;
else
return -1;
}

/* Some unknown board. Somebody forgot to update this function... */
Expand Down

0 comments on commit 050f416

Please sign in to comment.