Michael Walle 19820db0bd net: eth-uclass: ignore unavailable devices
device_probe() may fail in which case the seq_id will be -1. Don't
display these devices during startup. While this is only a cosmetic
change, the return value of eth_initialize() will also change to the
actual number of available devices. The return value is only used in
spl_net to decide whether there are any devices to boot from. So
returning only available devices is also more correct in that case.

Signed-off-by: Michael Walle <michael@walle.cc>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2019-12-09 09:47:42 -06:00
..
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-09-04 11:37:19 -05:00
2019-07-18 16:37:13 -05:00
2019-09-04 11:37:19 -05:00
2018-10-10 12:29:02 -05:00
2018-07-02 14:14:20 -05:00