hns_phy_led_set(9)
π 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 π
- Kernel file
./drivers/net/ethernet/hisilicon/hns/hns_ethtool.c hns_nic_get_link(9)hns_nic_get_link_ksettings(9)hns_nic_set_link_ksettings(9)__lb_run_test(9)hns_nic_self_test(9)hns_nic_get_drvinfo(9)hns_get_ringparam(9)hns_get_pauseparam(9)hns_set_pauseparam(9)hns_get_coalesce(9)hns_set_coalesce(9)hns_get_channels(9)hns_get_ethtool_stats(9)hns_get_strings(9)hns_get_sset_count(9)hns_set_phys_id(9)hns_get_regs(9)hns_get_regs_len(9)hns_nic_nway_reset(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms