[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170730.192617.1177576067292281322.davem@davemloft.net>
Date: Sun, 30 Jul 2017 19:26:17 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: andrew@...n.ch
Cc: netdev@...r.kernel.org, fugang.duan@....com
Subject: Re: [PATCH net-next] net: fec: Issue error for missing but
expected PHY
From: Andrew Lunn <andrew@...n.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@...n.ch>
Applied.
Powered by blists - more mailing lists