Deleted Added
full compact
cvmx-helper-board.c (212844) cvmx-helper-board.c (213346)
1/***********************license start***************
2 * Copyright (c) 2003-2008 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:

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

176 else
177 return -1;
178 case CVMX_BOARD_TYPE_BBGW_REF:
179 return -1; /* No PHYs are connected to Octeon, everything is through switch */
180
181 /* Private vendor-defined boards. */
182#if defined(OCTEON_VENDOR_LANNER)
183 case CVMX_BOARD_TYPE_CUST_LANNER_MR320:
1/***********************license start***************
2 * Copyright (c) 2003-2008 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:

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

176 else
177 return -1;
178 case CVMX_BOARD_TYPE_BBGW_REF:
179 return -1; /* No PHYs are connected to Octeon, everything is through switch */
180
181 /* Private vendor-defined boards. */
182#if defined(OCTEON_VENDOR_LANNER)
183 case CVMX_BOARD_TYPE_CUST_LANNER_MR320:
184 /* Port 0 is a Marvell 88E6161 switch, ports 1 and 2 are Marvell
185 88E1111 interfaces. */
184 switch (ipd_port) {
185 case 0:
186 switch (ipd_port) {
187 case 0:
186 /* XXX Switch PHY? */
187 return -1;
188 return 16;
188 case 1:
189 return 1;
190 case 2:
191 return 2;
192 default:
193 return -1;
194 }
195#endif

--- 525 unchanged lines hidden ---
189 case 1:
190 return 1;
191 case 2:
192 return 2;
193 default:
194 return -1;
195 }
196#endif

--- 525 unchanged lines hidden ---