pcs_an_restart(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pcs_an_restart(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so this is a page from the Kernel API Manual, and no cap, it's a little one but she's important. sit down, grab a strawberry πŸ“, and let's talk about restarting autoneg because we literally have to.


✨ NAME ✨

pcs_an_restart β€” restart the 802.3z BaseX autonegotiation. that's it, that's the whole job. she restarts it. iconic behavior honestly πŸ‘‘


🌸 SYNOPSIS 🌸

void pcs_an_restart (struct phylink_pcs *pcs );

no return value (she's a void, she gives nothing back and she's valid for it), just vibes and one argument 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pcs β€” a pointer to a struct phylink_pcs. that's your girl. that's who you're handing over. not optional, not decorative, she is the whole point πŸ’–

πŸ’… DESCRIPTION πŸ’…

okay so here's the tea: when PCS ops are present β€” like, when the PCS side actually has its ops filled in β€” this function overrides mac_an_restart in struct phylink_mac_ops.

so if you were wondering "wait, which one runs, the mac one or the pcs one?" β€” it's this one. the PCS one wins. main character energy, fr fr 🌈✨

lowkey important: this only kicks in when PCS ops are present. that's the whole condition. no ops, no override. periodt πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, in order, no one left out of the group chat:


and that's the page!! 🧚 mwah, go restart some autonegotiation responsibly.

signed, sealed, delivered by ./include/linux πŸ’œ β€” dated October 2026, so she's fresh. bye bestie!! πŸŽ€πŸ’–

πŸ“¦ where this page comes from