Thread (8 messages) flat view 8 messages, 3 authors, 2017-10-16

Re: [PATCH net-next] dsa: slave: support phy devices on external MII bus

From: Andrew Lunn <andrew@lunn.ch>
Date: 2017-10-16 13:39:48

On Mon, Oct 16, 2017 at 03:16:51PM +0200, Martin Hundebøll wrote:
On 2017-10-16 14:32, Andrew Lunn wrote:
quoted
So this used to work. I have a 10G phy connected to the external MII
bus on a 6390. I wonder when this got broken? Supporting phy-handle is
old code, so when i added the external MII i don't think i needed to
change any generic code.
It could look like commit cd28a1a9baee7 ('net: dsa: fully divert PHY
reads/writes if requested') changed the of-case to use the mdio bus
associated with struct dsa_switch unconditionally.
Hi Martin

I think ds->phys_mii_mask is playing a role here. I need to add some
debug prints to my setup and see what is happening with my external
10G PHY.

This phy code is just too complex :-(

     Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help