Re: stmmac: add a warning when aliases are not present in device tree

2015-11-23 Thread Andy Shevchenko
On Mon, Nov 23, 2015 at 5:46 PM, Pavel Machek wrote: > > > If aliases are not present in device tree, stmmac_platform.c will > happily assign bus_id of 0 to all the ethernet interfaces, resulting > in hard to debug problems. > > At least warn the user about the problem. > > Signed-off-by: Pavel

stmmac: add a warning when aliases are not present in device tree

2015-11-23 Thread Pavel Machek
If aliases are not present in device tree, stmmac_platform.c will happily assign bus_id of 0 to all the ethernet interfaces, resulting in hard to debug problems. At least warn the user about the problem. Signed-off-by: Pavel Machek diff --git

Re: stmmac: add a warning when aliases are not present in device tree

2015-11-23 Thread Andy Shevchenko
On Mon, Nov 23, 2015 at 5:46 PM, Pavel Machek wrote: > > > If aliases are not present in device tree, stmmac_platform.c will > happily assign bus_id of 0 to all the ethernet interfaces, resulting > in hard to debug problems. > > At least warn the user about the problem. > >

stmmac: add a warning when aliases are not present in device tree

2015-11-23 Thread Pavel Machek
If aliases are not present in device tree, stmmac_platform.c will happily assign bus_id of 0 to all the ethernet interfaces, resulting in hard to debug problems. At least warn the user about the problem. Signed-off-by: Pavel Machek diff --git