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. */ |
186 switch (ipd_port) { 187 case 0: |
188 return 16; |
189 case 1: 190 return 1; 191 case 2: 192 return 2; 193 default: 194 return -1; 195 } 196#endif --- 525 unchanged lines hidden --- |