Re: [PATCH net-next] net: fec: Issue error for missing but expected PHY
From: David Miller <davem@davemloft.net>
Date: 2017-07-31 02:26:18
From: David Miller <davem@davemloft.net>
Date: 2017-07-31 02:26:18
From: Andrew Lunn <andrew@lunn.ch> Date: Sun, 30 Jul 2017 22:11:06 +0200
If the PHY is missing but expected, e.g. because of a typ0 in the dt file, it is not possible to open the interface. ip link returns: RTNETLINK answers: No such device It is not very obvious what the problem is. Add a netdev_err() in this case to make it easier to debug the issue. [ 21.409385] fec 2188000.ethernet eth0: Unable to connect to phy RTNETLINK answers: No such device Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Applied.