From: Boris BREZILLON <boris.brezil...@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.brezil...@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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/