summaryrefslogtreecommitdiffstats
path: root/sys/contrib/octeon-sdk/cvmx-helper-board.c
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2012-11-19 08:35:58 +0000
committerjmallett <jmallett@FreeBSD.org>2012-11-19 08:35:58 +0000
commit6a42ee320e66f21d8ce7b3e241cabd680112b99e (patch)
treeaae3bb9550ff1a2a7ef75e255454553929dba0bc /sys/contrib/octeon-sdk/cvmx-helper-board.c
parentc8afd72cc1caa07d4f9777bb2d096bebfc3411b4 (diff)
downloadFreeBSD-src-6a42ee320e66f21d8ce7b3e241cabd680112b99e.zip
FreeBSD-src-6a42ee320e66f21d8ce7b3e241cabd680112b99e.tar.gz
Return port numbers for ATCA-7220 SPI interfaces in a different place for
consistency reasons, and to ensure that CRC addition is disabled on output. With this, transmit seems to be working properly on the ATCA-7220.
Diffstat (limited to 'sys/contrib/octeon-sdk/cvmx-helper-board.c')
-rw-r--r--sys/contrib/octeon-sdk/cvmx-helper-board.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/contrib/octeon-sdk/cvmx-helper-board.c b/sys/contrib/octeon-sdk/cvmx-helper-board.c
index 2582dae..deb6018 100644
--- a/sys/contrib/octeon-sdk/cvmx-helper-board.c
+++ b/sys/contrib/octeon-sdk/cvmx-helper-board.c
@@ -1313,14 +1313,6 @@ int __cvmx_helper_board_interface_probe(int interface, int supported_ports)
return 12;
break;
#endif
-#if defined(OCTEON_VENDOR_RADISYS)
- case CVMX_BOARD_TYPE_CUST_RADISYS_RSYS4GBE:
- if (interface == 0)
- return 13;
- if (interface == 1)
- return 8;
- return 0;
-#endif
}
#ifdef CVMX_BUILD_FOR_UBOOT
if (CVMX_HELPER_INTERFACE_MODE_SPI == cvmx_helper_interface_get_mode(interface) && getenv("disable_spi"))
OpenPOWER on IntegriCloud