cvmx-helper.c (232816) | cvmx-helper.c (242104) |
---|---|
1/***********************license start*************** 2 * Copyright (c) 2003-2010 Cavium Inc. (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: --- 132 unchanged lines hidden (view full) --- 141{ 142 switch (cvmx_sysinfo_get()->board_type) { 143#if defined(OCTEON_VENDOR_LANNER) 144 case CVMX_BOARD_TYPE_CUST_LANNER_MR955: 145 return 2; 146 case CVMX_BOARD_TYPE_CUST_LANNER_MR730: 147 return 1; 148#endif | 1/***********************license start*************** 2 * Copyright (c) 2003-2010 Cavium Inc. (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: --- 132 unchanged lines hidden (view full) --- 141{ 142 switch (cvmx_sysinfo_get()->board_type) { 143#if defined(OCTEON_VENDOR_LANNER) 144 case CVMX_BOARD_TYPE_CUST_LANNER_MR955: 145 return 2; 146 case CVMX_BOARD_TYPE_CUST_LANNER_MR730: 147 return 1; 148#endif |
149#if defined(OCTEON_VENDOR_RADISYS) 150 case CVMX_BOARD_TYPE_CUST_RADISYS_RSYS4GBE: 151 return 2; 152#endif |
|
149 default: 150 break; 151 } 152 153 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) 154 return 9; 155 else if (OCTEON_IS_MODEL(OCTEON_CN66XX)) 156 if (OCTEON_IS_MODEL(OCTEON_CN66XX_PASS1_0)) --- 1839 unchanged lines hidden --- | 153 default: 154 break; 155 } 156 157 if (OCTEON_IS_MODEL(OCTEON_CN68XX)) 158 return 9; 159 else if (OCTEON_IS_MODEL(OCTEON_CN66XX)) 160 if (OCTEON_IS_MODEL(OCTEON_CN66XX_PASS1_0)) --- 1839 unchanged lines hidden --- |