On 03/19/2010 01:27 PM, Jan Rovins wrote:
case CVMX_BOARD_TYPE_KBP: /* JLR first Movidis X16 */ case CVMX_BOARD_TYPE_CUST_WSX16: /* JLR second Movidis X16 */ /* Board has 8 SGMII ports. 4 connect out, two connect to a switch, and 2 loop to each other */ if ((ipd_port >= 0) && (ipd_port < 4)) return ipd_port+1; else return -1;
I don't think that is correct. I just verified that that PHYs are on addresses 0-7. That code makes them start at 1. The Octeon mdio bus driver also needs a small change. I am working on a patch. David Daney