Skip to contentSkip to conversation

Dual ethernet attachment with single FEC

DISCUSSION LEROY Christophe 1 participant 1 message Sep 21, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,

I have a board with 2 PHYs attached to one FEC ethernet controler on powerpc.
I want to implement some kind of main-standby attachment to LAN by setting the ISOLATE bit on one on the two PHYs then monitoring the link status and switch to the other PHY when the link status goes down.

I see this behaviour is implemented in the sis900 driver, but it doesn't use the standard PHY layer as the Freescale FEC driver does.

What would be the most proper way to implement this functionality ?
* Modify FEC driver to manage that ?
* Implement a virtual PHY driver that would manage that ?
* Other solution ?

Best regards
C. Leroy