cvmx-helper-board.c (243265) | cvmx-helper-board.c (244984) |
---|---|
1/***********************license start*************** 2 * Copyright (c) 2003-2011 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: --- 578 unchanged lines hidden (view full) --- 587 case 1: 588 return 1; 589 case 2: 590 return 2; 591 default: 592 return -1; 593 } 594#endif | 1/***********************license start*************** 2 * Copyright (c) 2003-2011 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: --- 578 unchanged lines hidden (view full) --- 587 case 1: 588 return 1; 589 case 2: 590 return 2; 591 default: 592 return -1; 593 } 594#endif |
595#if defined(OCTEON_VENDOR_UBIQUITI) 596 case CVMX_BOARD_TYPE_CUST_UBIQUITI_E100: 597 if (ipd_port > 2) 598 return -1; 599 return (7 - ipd_port); 600#endif |
|
595#if defined(OCTEON_VENDOR_RADISYS) 596 case CVMX_BOARD_TYPE_CUST_RADISYS_RSYS4GBE: 597 /* No MII. */ 598 return -1; 599#endif 600 } 601 602 /* Some unknown board. Somebody forgot to update this function... */ --- 905 unchanged lines hidden --- | 601#if defined(OCTEON_VENDOR_RADISYS) 602 case CVMX_BOARD_TYPE_CUST_RADISYS_RSYS4GBE: 603 /* No MII. */ 604 return -1; 605#endif 606 } 607 608 /* Some unknown board. Somebody forgot to update this function... */ --- 905 unchanged lines hidden --- |