[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140508.224252.1337086843732451389.davem@davemloft.net>
Date: Thu, 08 May 2014 22:42:52 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: boris.brezillon@...e-electrons.com
Cc: olof@...om.net, nicolas.ferre@...el.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] netdev: add support for interface name retrieval from
DT aliases
From: Boris BREZILLON <boris.brezillon@...e-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@...e-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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists