From: David Miller <davem@davemloft.net>
To: boris.brezillon@free-electrons.com
Cc: olof@lixom.net, nicolas.ferre@atmel.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] netdev: add support for interface name retrieval from DT aliases
Date: Thu, 08 May 2014 22:42:52 -0400 (EDT) [thread overview]
Message-ID: <20140508.224252.1337086843732451389.davem@davemloft.net> (raw)
In-Reply-To: <1399390594-1409-1-git-send-email-boris.brezillon@free-electrons.com>
From: Boris BREZILLON <boris.brezillon@free-electrons.com>
Date: Tue, 6 May 2014 17:36:34 +0200
> There is currently no proper way to bind a net interface to a specific
> name. The interface name is chosen based on the interface type (eth,
> wlan, ...) and the interfaces already registered (the core codes takes
> the first unused interface id of the given type).
>
> Add support for DT retrieval of the interface id based on DT aliases.
> The alias name must match the interface type (e.g. ethX if you're defining
> an ethernet dev alias).
>
> Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
This really isn't kosher at all.
And there absolutely is a proper way to bind a net interface to
a specific name, udev has provided this facility for years.
I'm not applying this, sorry.
next prev parent reply other threads:[~2014-05-09 2:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-06 15:36 Boris BREZILLON
2014-05-09 2:42 ` David Miller [this message]
2014-05-09 8:26 ` Boris BREZILLON
2014-05-16 19:49 ` Florian Fainelli
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=20140508.224252.1337086843732451389.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=boris.brezillon@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nicolas.ferre@atmel.com \
--cc=olof@lixom.net \
/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
all inboxes | Powered by JetHome®