Deleted Added
full compact
cvmx-helper-board.c (216476) cvmx-helper-board.c (217214)
1/***********************license start***************
2 * Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights
3 * reserved.
4 *
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met:

--- 258 unchanged lines hidden (view full) ---

267 /* Private vendor-defined boards. */
268#if defined(OCTEON_VENDOR_LANNER)
269 case CVMX_BOARD_TYPE_CUST_LANNER_MR955:
270 /* Interface 1 is 12 BCM5482S PHYs. */
271 if ((ipd_port >= 16) && (ipd_port < 28))
272 return ipd_port - 16;
273 return -1;
274 case CVMX_BOARD_TYPE_CUST_LANNER_MR730:
1/***********************license start***************
2 * Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights
3 * reserved.
4 *
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met:

--- 258 unchanged lines hidden (view full) ---

267 /* Private vendor-defined boards. */
268#if defined(OCTEON_VENDOR_LANNER)
269 case CVMX_BOARD_TYPE_CUST_LANNER_MR955:
270 /* Interface 1 is 12 BCM5482S PHYs. */
271 if ((ipd_port >= 16) && (ipd_port < 28))
272 return ipd_port - 16;
273 return -1;
274 case CVMX_BOARD_TYPE_CUST_LANNER_MR730:
275 if ((ipd_port >= CVMX_HELPER_BOARD_MGMT_IPD_PORT) && (ipd_port < (CVMX_HELPER_BOARD_MGMT_IPD_PORT + 2)))
276 return (ipd_port - CVMX_HELPER_BOARD_MGMT_IPD_PORT) + 0x81;
275 if ((ipd_port >= 0) && (ipd_port < 4))
276 return ipd_port;
277 return -1;
278 case CVMX_BOARD_TYPE_CUST_LANNER_MR320:
279 case CVMX_BOARD_TYPE_CUST_LANNER_MR321X:
280 /* Port 0 is a Marvell 88E6161 switch, ports 1 and 2 are Marvell
281 88E1111 interfaces. */
282 switch (ipd_port) {

--- 614 unchanged lines hidden ---
277 if ((ipd_port >= 0) && (ipd_port < 4))
278 return ipd_port;
279 return -1;
280 case CVMX_BOARD_TYPE_CUST_LANNER_MR320:
281 case CVMX_BOARD_TYPE_CUST_LANNER_MR321X:
282 /* Port 0 is a Marvell 88E6161 switch, ports 1 and 2 are Marvell
283 88E1111 interfaces. */
284 switch (ipd_port) {

--- 614 unchanged lines hidden ---