[PATCH] Add linux.devname property to eth device

Sascha Hauer s.hauer at pengutronix.de
Fri Nov 24 00:15:59 PST 2017

Hi Gavin,

On Tue, Nov 21, 2017 at 04:40:47PM +0100, Gavin Schenk wrote:
> When you have a static network environment but more than one network
> device on your machine it is necessary to provide the <device> parameter
> to the ip parameter at kernel cmd line.
> The device name assigned by Linux cannot in general be predicted as it
> depends on driver bind order.
> This patch introduces a new property linux.devname to eth devices.
> The value is added to bootargs per interface and can be changed in
> env/network/INTF
> Note that the device name is also used when dhcp is in use.
> Signed-off-by: Gavin Schenk <g.schenk at eckelmann.de>

Looks much better now. This needs some updates to fit into the
networking update series I just sent, but I'll handle that soon
when I see if this series can be taken or not.


Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

More information about the barebox mailing list