diff options
| author | Andrew Lunn <andrew@lunn.ch> | 2017-07-30 22:11:06 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-07-30 19:25:22 -0700 |
| commit | 9558df3a8251f1c636eaf3d2222b6da2eb5d1086 (patch) | |
| tree | 5a0e511c566d8c23cfc9b93a1e03b43fa6165de3 /scripts/objdiff | |
| parent | 509394e84117f738416f37b85fea7d0437fcef69 (diff) | |
| download | cachepc-linux-9558df3a8251f1c636eaf3d2222b6da2eb5d1086.tar.gz cachepc-linux-9558df3a8251f1c636eaf3d2222b6da2eb5d1086.zip | |
net: fec: Issue error for missing but expected PHY
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>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
