Skip to content
Snippets Groups Projects
Commit 59fbcbc6 authored by Michael Grzeschik's avatar Michael Grzeschik
Browse files

arcnet: add netif_carrier_on/off for reconnect


The arcnet device has no interrupt to detect if the link has changed
from disconnected to connected. This patch adds an timer to toggle the
link detection. The timer will get retriggered as long as the
reconnection interrupts accure. If the recon interrupts hold off
for >1s we define the connection stable again.

Signed-off-by: default avatarMichael Grzeschik <m.grzeschik@pengutronix.de>
parent 8890624a
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment