gianfar in SGMII mode
Hi Kumar,
I'm looking at gfar_configure_serdes() and I'm at a loss as to why this is always called when the MAC is in SGMII mode. It looks like it assumes the use of TBI for some reason. On my board it's just a regular SGMII interface to a bcm5482 PHY in SGMII mode, so there is no TBI involved.
I'm guessing this is a case of the driver making incorrect assumptions based on the existing Freescale boards. Or am I missing something here?
Signature · 1 line
Nate Case <[email protected]>
Quoted 11 lines · Nate Case
I'm looking at
gfar_configure_serdes()and I'm at a loss as to why this
is always called when the MAC is in SGMII mode. It looks like it assumes the use of TBI for some reason. On my board it's just a regular
SGMII interface to a bcm5482 PHY in SGMII mode, so there is no TBI involved.I'm guessing this is a case of the driver making incorrect assumptions based on the existing Freescale boards. Or am I missing something here?
Answering my own question: I see now that TBI is used internally on the chip for the SerDes interface which implements SGMII.. so maybe there's no problem with what the driver is doing after all.
Signature · 1 line
Nate Case <[email protected]>
Quoted 9 lines · Nate Case
Quoted 8 lines · Nate Case
I'm looking at
gfar_configure_serdes()and I'm at a loss as to why this
is always called when the MAC is in SGMII mode. It looks like it assumes the use of TBI for some reason. On my board it's just a regular
SGMII interface to a bcm5482 PHY in SGMII mode, so there is no TBI involved.
Quoted 7 lines
Quoted 3 lines
I'm guessing this is a case of the driver making incorrect assumptions based on the existing Freescale boards. Or am I missing something here?
Answering my own question: I see now that TBI is used internally on the chip for the SerDes interface which implements SGMII.. so maybe there's no problem with what the driver is doing after all.
Yeah, it's screwy, but that's how the chip works.
Andy