Subject: Dual ethernet attachment with single FEC

From: LEROY Christophe <[email-masked]>
Date: Fri, 03 Sep 2010 13:49:31 +0200

Hello,

I have a board with 2 PHYs attached to one FEC.
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.

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