[PATCH v3 11/28] net: Update to use new sequence numbers

Simon Glass sjg at chromium.org
Sat Dec 19 17:40:27 CET 2020


Checking for seq == -1 is effectively checking that the device is
activated. The new sequence numbers are never -1 for a bound device, so
update the check.

Also drop the note about valid sequence numbers so it is accurate with the
new approach.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 drivers/net/dwc_eth_qos.c | 2 +-
 net/eth-uclass.c          | 7 ++-----
 2 files changed, 3 insertions(+), 6 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list