Le Thu, 25 Oct 2012 11:11:06 +0200, Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> a écrit : > On 11:05 Thu 25 Oct , Eric Bénard wrote: > > Le Thu, 25 Oct 2012 10:49:02 +0200, > > Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> a écrit : > > > > > On 21:56 Wed 24 Oct , Eric Bénard wrote: > > > > Hi, > > > > > > > > Le Wed, 24 Oct 2012 20:33:59 +0200, > > > > Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> a écrit : > > > > > > > > > On 20:06 Wed 24 Oct , Sascha Hauer wrote: > > > > > > Since we have phylib we have no instance which polls for a link. This > > > > > > means that network boot often bails out after a powercycle or phy reset. > > > > > > This changes the link status behaviour to: > > > > > > > > > > > > - Always check for a link if the last link test was unsuccesful > > > > > > - If the last check was succesful, check for a link when the last > > > > > > check is longer than 5 seconds ago > > > > > > - Try to get a link for 5 seconds. > > > > > 5 seconds is too long > > > > > > > > > > and check the link is wrong you need to check the autoneg > > > > > the link may be down because no cable > > > > > > > > > and the autoneg can have been successful before the cable was > > > > removed : how to you handle this cas ? > > > the advertise tell you something change > > > > > > so you need to restart the autoneg > > > > > so I don't really understand why you don't want to use the link > > information which seems to be the first thing to do before trying to > > launch an autoneg but why not, let see the patches when they come. > because if the link is down and the have no advertise meens the phy is really > down and no need to wait > under which conditions can you have link down and advertise at the same time ? Eric _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox