rtl83xx_shutdown(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ rtl83xx_shutdown(9) β€” the Kernel API Manual page, but make it make sense πŸ¦‹

okay so bestie, welcome to the Kernel API Manual page for rtl83xx_shutdown(9) β€” it's giving β€œlast one out, turn off the switch” energy, and we're gonna read it together. periodt. ✨

🌸 NAME 🌸

rtl83xx_shutdown β€” shutdown a switch. literally what it says on the tin, no cap. πŸ’…

✨ SYNOPSIS ✨

void rtl83xx_shutdown (struct realtek_priv *priv );

πŸŽ€ ARGUMENTS πŸŽ€

  • priv β€” a realtek_priv pointer. that's the one (1) argument, bestie. 🫢

πŸ’– DESCRIPTION πŸ’–

This function shuts down the DSA switch and cleans the platform driver data. why? to prevent realtek_{smi,mdio}_remove from running afterwards β€” which is possible if the parent bus implements its own .shutdown as .remove. so yeah, it's the β€œdon't let remove sneak back in after shutdown” cleanup moment. iconic. πŸ”₯

😴 CONTEXT 😴

Can sleep. like, actually can sleep β€” that's the context note, and we respect it. πŸŒ™

πŸ“ RETURN πŸ“

Nothing. not a single return value, not even a crumb. πŸ“

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/net/dsa/realtek/rtl83xx.c


made with πŸ’– from ./drivers/net/dsa/realtek, October 2026 β€” that's the rtl83xx_shutdown(9) sign-off, bye bestie, go shut down that switch responsibly 🫢✨

πŸ“¦ where this page comes from