netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: andrew@lunn.ch
Cc: netdev@vger.kernel.org, fugang.duan@nxp.com
Subject: Re: [PATCH net-next] net: fec: Issue error for missing but expected PHY
Date: Sun, 30 Jul 2017 19:26:17 -0700 (PDT)	[thread overview]
Message-ID: <20170730.192617.1177576067292281322.davem@davemloft.net> (raw)
In-Reply-To: <1501445466-23518-1-git-send-email-andrew@lunn.ch>

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.

      parent reply	other threads:[~2017-07-31  2:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-30 20:11 [PATCH net-next] net: fec: Issue error for missing but expected PHY Andrew Lunn
2017-07-31  1:42 ` Andy Duan
2017-07-31  2:26 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170730.192617.1177576067292281322.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=andrew@lunn.ch \
    --cc=fugang.duan@nxp.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).