Re: brgphy: reset autonegotiation timer when we get the link

2013-05-27 Thread Mark Kettenis
> Date: Wed, 22 May 2013 18:32:57 +0200 > From: Mike Belopuhov > > On Wed, May 22, 2013 at 18:08 +0200, Mark Kettenis wrote: > > > Date: Wed, 22 May 2013 17:59:19 +0200 > > > From: Mike Belopuhov > > > > > > On Tue, May 21, 2013 at 17:16 +0200, Mike Belopuhov wrote: > > > > from freebsd. ok? >

Re: brgphy: reset autonegotiation timer when we get the link

2013-05-22 Thread Mike Belopuhov
On 22 May 2013 18:32, Mike Belopuhov wrote: > On Wed, May 22, 2013 at 18:08 +0200, Mark Kettenis wrote: >> > Date: Wed, 22 May 2013 17:59:19 +0200 >> > From: Mike Belopuhov >> > >> > On Tue, May 21, 2013 at 17:16 +0200, Mike Belopuhov wrote: >> > > from freebsd. ok? >> > > >> > >> > ping! >> >> T

Re: brgphy: reset autonegotiation timer when we get the link

2013-05-22 Thread Mike Belopuhov
On Wed, May 22, 2013 at 18:08 +0200, Mark Kettenis wrote: > > Date: Wed, 22 May 2013 17:59:19 +0200 > > From: Mike Belopuhov > > > > On Tue, May 21, 2013 at 17:16 +0200, Mike Belopuhov wrote: > > > from freebsd. ok? > > > > > > > ping! > > There are more drivers in the tree that do the same th

Re: brgphy: reset autonegotiation timer when we get the link

2013-05-22 Thread Mark Kettenis
> Date: Wed, 22 May 2013 17:59:19 +0200 > From: Mike Belopuhov > > On Tue, May 21, 2013 at 17:16 +0200, Mike Belopuhov wrote: > > from freebsd. ok? > > > > ping! There are more drivers in the tree that do the same thing. And then there lots that have the same bug. Would be nice if we could f

Re: brgphy: reset autonegotiation timer when we get the link

2013-05-22 Thread Mike Belopuhov
On Tue, May 21, 2013 at 17:16 +0200, Mike Belopuhov wrote: > from freebsd. ok? > ping! > diff --git sys/dev/mii/brgphy.c sys/dev/mii/brgphy.c > index 7f0bae2..461c798 100644 > --- sys/dev/mii/brgphy.c > +++ sys/dev/mii/brgphy.c > @@ -412,8 +412,10 @@ setit: >* the BMSR twice in c

brgphy: reset autonegotiation timer when we get the link

2013-05-21 Thread Mike Belopuhov
from freebsd. ok? diff --git sys/dev/mii/brgphy.c sys/dev/mii/brgphy.c index 7f0bae2..461c798 100644 --- sys/dev/mii/brgphy.c +++ sys/dev/mii/brgphy.c @@ -412,8 +412,10 @@ setit: * the BMSR twice in case it's latched. */ reg = PHY_READ(sc, MII_BMSR