phylink_mii_...s_an_restart(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual, section 9 β€” we're doing kernel networking today and honestly? it's giving glow-up energy ✨


✨ NAME ✨

phylink_mii_c22_pcs_an_restart β€” restart 802.3z autonegotiation πŸ”₯


🫢 SYNOPSIS 🫢

void phylink_mii_c22_pcs_an_restart (struct mdio_device *pcs );

πŸŽ€ ARGUMENTS πŸŽ€

  • pcs β€” a pointer to a struct mdio_device. literally just a pointer, she's simple, she's iconic πŸ’…

πŸ’… DESCRIPTION πŸ’…

okay so this one is a helper for MAC PCS β€” specifically the kind that supports the 802.3 clause 22 register set for clause 37 negotiation. no cap, that's the whole assignment 🫢

what does it actually do? it restarts the clause 37 negotiation with the link partner. that's it. that's the vibe. πŸ”

and here's the slay part: it's suitable to be directly plugged into the pcs_get_state member of the struct phylink_pcs_ops structure. like, no wrapper, no adapter, just drop her in and go 😭✨


🌈 SEE ALSO 🌈

Kernel file ./drivers/net/phy/phylink.c β€” and honestly the whole phylink friend group showed up to the group chat:


πŸ’€ reminder bestie: this page lives in the Kernel API Manual, section 9 β€” don't go looking for it in section 1, she's not there πŸ™ˆ

and that's the whole page, you ate that πŸ“ mwah πŸ’– this one came from ./drivers/net/phy, dated October 2026 β€” go off, driver directory, periodt πŸ‘‘βœ¨

πŸ“¦ where this page comes from