Skip to content

rtl8169: Report the real link state - #322

Open
BeastLe9enD wants to merge 1 commit into
LekKit:stagingfrom
ProjectKML:rtl8169-link-state
Open

BeastLe9enD wants to merge 1 commit into
LekKit:stagingfrom
ProjectKML:rtl8169-link-state

Conversation

@BeastLe9enD

Copy link
Copy Markdown

Add a link_changed callback to tap_net_dev_t so TAP backends can report carrier changes. The NIC latches the link state, reflects it in the PHY BMSR and GBSR registers and in the PHY status register, and raises a link-change interrupt when it flips. Backends that never call the callback keep the link up as before.

Add a link_changed callback to tap_net_dev_t so TAP backends can report
carrier changes. The NIC latches the link state, reflects it in the PHY
BMSR and GBSR registers and in the PHY status register, and raises a
link-change interrupt when it flips. Backends that never call the
callback keep the link up as before.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant