summaryrefslogtreecommitdiffstats
path: root/net/dsa/slave.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-02-24 18:01:18 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-25 07:29:14 +0100
commit0f3b1cf23f0ee72017ee6daebcf6cbe601be8bee (patch)
tree55a73e898c3b20ef7d090b82a7cd3c7623793aa7 /net/dsa/slave.c
parentnet: phy: improve auto-neg emulation in swphy (diff)
downloadlinux-0f3b1cf23f0ee72017ee6daebcf6cbe601be8bee.tar.xz
linux-0f3b1cf23f0ee72017ee6daebcf6cbe601be8bee.zip
net: phy: fix reading fixed phy status
With the switch to phy_resolve_aneg_linkmode() we don't read from the chip any longer what is advertised but use phydev->advertising directly. For a fixed phy however this bitmap is empty so far, what results in no common mode being found. This breaks DSA. Fix this by advertising everything that is supported. For a normal phy this done by phy_probe(). Fixes: 5502b218e001 ("net: phy: use phy_resolve_aneg_linkmode in genphy_read_status") Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Tested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions