Files
u-boot/drivers/net
Matthias Schiffer 0898f44b23 net: ti: am65-cpsw-nuss: avoid errors due to imbalanced start()/stop()
The eth-uclass state machine doesn't prevent imbalanced start()/stop()
calls - to the contrary, it even provides eth_init_state_only() and
eth_halt_state_only() functions that change the state without any calls
into the driver. This means that the driver must be robust against
duplicate start() and stop() calls as well as send/recv calls while the
interface is down.

We decide not to print error messages but just to return an error in the
latter case, as trying to send packets on a disabled interface commonly
happens when the netconsole is still active after the Ethernet has been
halted during bootm.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
2024-05-15 10:46:47 -06:00
..
2021-09-28 18:50:56 +03:00
2024-03-26 19:58:26 -04:00
2022-12-07 16:04:17 -05:00
2022-09-25 08:30:05 -06:00
2022-11-28 10:25:17 -05:00
2022-12-22 10:31:48 -05:00
2024-01-29 22:35:02 -05:00