phy_exit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… phy_exit β€” Phy internal un-initialization ✨

Hiiii bestie 🫢 so this is phy_exit(9) from the Kernel API Manual, and ngl it's the "okay we're done here, wrap it up" function for a phy. Think of it as the un-init era of the phy lifecycle. Let's get into it πŸ’–


🌸 SYNOPSIS 🌸

int phy_exit (struct phy *phy );

πŸŽ€ ARGUMENTS πŸŽ€

  • phy β€” the phy that came back from phy_get. iykyk, it's the same one you grabbed earlier πŸ’…

✨ DESCRIPTION ✨

So like… you must call this after phy_power_off. No skipping, bestie 😭 it's literally in the rules. Power it off first, then exit. The vibes are sequential, periodt πŸ’€


πŸ”₯ RETURN πŸ”₯

Returns 0 if everything slayed successfully ✨ β€” and if it didn't? It hands back a negative error code. Not a great vibe check, but at least it's honest πŸ₯²


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/phy/phy-core.c plus the whole phy friend group πŸ¦‹:


Okay that's the whole thing, bestie πŸ§šπŸ’œ no cap, you're now a phy-exit expert. This manual page lived in ./drivers/phy and was dated October 2026 β€” iconic of it honestly 🌈⭐ go forth and un-initialize responsibly πŸ’…πŸŽ€

πŸ“¦ where this page comes from