]> git.baikalelectronics.ru Git - uboot.git/commit
net: Update to use new sequence numbers
authorSimon Glass <sjg@chromium.org>
Thu, 17 Dec 2020 04:20:16 +0000 (21:20 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Dec 2020 03:32:21 +0000 (20:32 -0700)
commit506f1130640a2ff372b5c5b7c8001f608cc72b9c
treedf6aebfd6f05a5f2579624b03a394031ae302ab5
parent9659588b70a3d1391c1c8b4c356975baff4137e5
net: Update to use new sequence numbers

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@chromium.org>
drivers/net/dwc_eth_qos.c
net/eth-uclass.c