author | Simon Glass <sjg@chromium.org> | |
Thu, 17 Dec 2020 04:20:16 +0000 (21:20 -0700) | ||
committer | Simon Glass <sjg@chromium.org> | |
Sat, 19 Dec 2020 03:32:21 +0000 (20:32 -0700) | ||
commit | 552da3357b5139b9b0e4d2c2917820e996ae865e | |
tree | df6aebfd6f05a5f2579624b03a394031ae302ab5 | tree | snapshot (tar.xz tar.gz zip) |
parent | 16df99324663fd3f88cb5e1ce241ee3f9f9ddacd | commit | diff |
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>
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 | diff | blob | history | |
net/eth-uclass.c | diff | blob | history |