[PATCH 1/1] net: introduce phylib

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Sep 8 13:28:44 EDT 2012


On 17:02 Sat 08 Sep     , Sascha Hauer wrote:
> On Fri, Sep 07, 2012 at 12:26:06PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > Adapt phylib from linux
> > 
> > switch all the driver to it
> > 
> > This will allow to have phy drivers and to only connect the phy at then
> > opening of the device. And if the phy is not ready fail on open.
> > 
> > This is needed by the boot sequence support to do not endup in a loop or spend
> > time on bootp when no ethernet cable is connected.
> 
> We do not 'need' this for the above reasons, we could also fix the
> current code. The above may be an advantage of your code, but the major
> selling point is code sharing with Linux (at least that's what you told
> me)

yes the major point is to touch the phy only when the ethernet is opening

yes the commit is true but it's not the major selling point

Best Regards,
J.



More information about the barebox mailing list