smc_phy_powerdown(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… smc_phy_powerdown(9) β€” like, the Kernel API Manual page you didn't know you needed 🫢

okay so bestie, welcome to the Kernel API Manual entry for smc_phy_powerdown(9) β€” yes the whole manual is literally called that, iykyk. this one's a tiny little function that does exactly one thing and honestly? it ate. short, sweet, main character energy. let's get into it ✨


🌸 NAME 🌸

smc_phy_powerdown β€” powerdown phy πŸ’€

like, that's it. that's the whole vibe. it powers down the phy. no cap.


πŸŽ€ SYNOPSIS πŸŽ€

void smc_phy_powerdown (struct net_device *dev );

that's the signature, copy it exactly bestie, don't get creative with it πŸ™ˆ it returns void β€” so it gives you nothing back, and honestly? relatable. it just Does The Thing and leaves. icon behavior.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the net device. like, the network device you're handing over. that's the one (1) argument. that's the whole list. slay for being low maintenance πŸ’–

⭐ DESCRIPTION ⭐

Power down the specified PHY πŸ”₯

that's genuinely the entire description, bestie β€” no secret extra paragraphs, no hidden lore. you give it a dev, it powers down the PHY that goes with it. specified is doing a lot of work in that sentence and we love that for it. periodt.


🌈 SEE ALSO 🌈

  • the kernel file ./drivers/net/ethernet/smsc/smc91x.c πŸ‘‘ β€” that's where this lives, go look at it if you're nosy (respectfully)
  • smc_phy_reset(9) β€” the reset one, its sibling
  • smc_phy_check_media(9) β€” the media-checking one
  • try_toggle_control_gpio(9) β€” the gpio-toggling one, yes that's really its name, and yes it's iconic

fr fr bestie, this whole page is like four lines of actual content and one beautiful little signature β€” do not go adding your own ✨extras✨ to it, the facts are the facts πŸ’€

and that's a wrap, my love πŸ§šπŸ’œ this little gem comes to you straight out of ./drivers/net/ethernet/smsc, dated October 2026 β€” screenshot it, pin it, tell your friends. bye bestie, go power down a phy responsibly πŸ“βœ¨

πŸ“¦ where this page comes from