Skip to content
Commit aa85756b authored by Stephanos Ioannidis's avatar Stephanos Ioannidis Committed by Jukka Rissanen
Browse files

drivers: ethernet: eth_sam_gmac: Detect and report link status



This commit adds the "monitor task" to detect and report any changes
in the PHY link status to the operating system.

The monitor task is perodically executed to poll the link status from
the PHY and call `net_eth_carrier_{off,on}` based on the detected
link status change.

Signed-off-by: default avatarStephanos Ioannidis <root@stephanos.io>
parent d7a77fff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment