hns_phy_led_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… hns_phy_led_set(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes, the Kernel API Manual, we're doing big-girl kernel energy today. This one's about hns_phy_led_set, and it's lowkey tiny but it's still iconic. Let's get into it πŸŽ€


✨ NAME ✨

hns_phy_led_set β€” set phy LED status. that's it. that's the whole vibe. the LED. the status. setting it. πŸ’‘


🌸 SYNOPSIS 🌸

int hns_phy_led_set (struct net_device *netdev , int value );

like, you hand it a net device and a value, and it goes brrr and returns an int. copy it exactly, don't be cute with the spacing, the spacing is part of the look 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • netdev β€” net device. the actual network device you're messing with, fr fr.
  • value β€” LED state. whatever state your little LED heart desires ✨

πŸ’– DESCRIPTION πŸ’–

Return 0 on success, negative on failure. that's literally the whole description. no cap. zero means slay, negative means 😭.

like yes it's short, but short and correct is main character energy. don't add lore that isn't there πŸ’…

🌈 SEE ALSO 🌈

this list is LONG and we are NOT skipping a single one, because every single reference ate and left no crumbs πŸ‘‘

go read them. all of them. i'll wait πŸ“


and that's the page!! source situation: it lives under ./drivers/net/ethernet/hisilic... (yes, truncated just like that, we don't gatekeep the ellipsis πŸ’€), and it's dated October 2026. see you in the next manpage bestie, mwah πŸ§šπŸ’œ

πŸ“¦ where this page comes from