Re: DSA: phy polling

2015-09-22 Thread Russell King - ARM Linux
On Tue, Sep 22, 2015 at 04:14:26AM +0200, Andrew Lunn wrote: > On Mon, Sep 14, 2015 at 11:42:54AM +0100, Russell King - ARM Linux wrote: > > Andrew, > > > > I think you're the current maintainer of the Marvell DSA code, as being > > the most recent author of changes to it. :) > > Hi Russell > >

Re: DSA: phy polling

2015-09-21 Thread Andrew Lunn
On Mon, Sep 14, 2015 at 11:42:54AM +0100, Russell King - ARM Linux wrote: > Andrew, > > I think you're the current maintainer of the Marvell DSA code, as being > the most recent author of changes to it. :) Hi Russell Sorry for the slow reply, i've been on vacation. Humm, i suppose i might be th

Re: DSA: phy polling

2015-09-14 Thread Peter Korsgaard
> "Florian" == Florian Fainelli writes: Hi, >> Does the Marvell phy have such a register? Looking at the register >> dump and plugging/unplugging cables seems not to show a register >> reporting whether any particular interface has changed state, and >> I haven't noticed there being any

Re: DSA: phy polling

2015-09-14 Thread Florian Fainelli
On 14/09/15 11:23, Russell King - ARM Linux wrote: > On Mon, Sep 14, 2015 at 10:28:55AM -0700, Florian Fainelli wrote: >> Just my 2 cents here, I suspect the original intention behind this code >> was to help utilize the switch's built-in PHY polling unit when >> available, and use the HW to collec

Re: DSA: phy polling

2015-09-14 Thread Russell King - ARM Linux
On Mon, Sep 14, 2015 at 10:28:55AM -0700, Florian Fainelli wrote: > Just my 2 cents here, I suspect the original intention behind this code > was to help utilize the switch's built-in PHY polling unit when > available, and use the HW to collect the state of all PHYs in fewer > register to read, ins

Re: DSA: phy polling

2015-09-14 Thread Florian Fainelli
On 14/09/15 03:42, Russell King - ARM Linux wrote: > Andrew, > > I think you're the current maintainer of the Marvell DSA code, as being > the most recent author of changes to it. :) > > I've noticed in my testing that the Marvell DSA code seems to poll the > internal phy link status in mv88e6xxx