summaryrefslogtreecommitdiffstats
path: root/sys/contrib/octeon-sdk
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2012-10-26 02:09:55 +0000
committerjmallett <jmallett@FreeBSD.org>2012-10-26 02:09:55 +0000
commit3dbd508854c896164a003a274bed905f78ab9968 (patch)
tree728bfab658a5b49bd0dce9884401478787bf0bd2 /sys/contrib/octeon-sdk
parent5bb808b28d7c6b65609709f5df3cfa6f2fe7c3e9 (diff)
downloadFreeBSD-src-3dbd508854c896164a003a274bed905f78ab9968.zip
FreeBSD-src-3dbd508854c896164a003a274bed905f78ab9968.tar.gz
No MII on the RSYS4GBE (AMC-7211/ATCA-7220).
Diffstat (limited to 'sys/contrib/octeon-sdk')
-rw-r--r--sys/contrib/octeon-sdk/cvmx-helper-board.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/contrib/octeon-sdk/cvmx-helper-board.c b/sys/contrib/octeon-sdk/cvmx-helper-board.c
index 06c17b5..a8cac96 100644
--- a/sys/contrib/octeon-sdk/cvmx-helper-board.c
+++ b/sys/contrib/octeon-sdk/cvmx-helper-board.c
@@ -586,6 +586,11 @@ int cvmx_helper_board_get_mii_address(int ipd_port)
return -1;
}
#endif
+#if defined(OCTEON_VENDOR_RADISYS)
+ case CVMX_BOARD_TYPE_CUST_RADISYS_RSYS4GBE:
+ /* No MII. */
+ return -1;
+#endif
}
/* Some unknown board. Somebody forgot to update this function... */
OpenPOWER on IntegriCloud