]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
stmmac: Fix 'eth0: No PHY found' regression
authorGabriel Fernandez <gabriel.fernandez@linaro.org>
Mon, 29 Feb 2016 16:18:22 +0000 (17:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Mar 2016 20:02:05 +0000 (15:02 -0500)
commit88f8b1bb41c6208f81b6a480244533ded7b59493
treee8c87a9002356ceebc6ce2276655e4b03ffb14d9
parentebc9780c93077a1c1129879de783f7fa8551d399
stmmac: Fix 'eth0: No PHY found' regression

This patch manages the case when you have an Ethernet MAC with
a "fixed link", and not connected to a normal MDIO-managed PHY device.

The test of phy_bus_name was not helpful because it was never affected
and replaced by the mdio test node.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@linaro.org>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
include/linux/stmmac.h