pch_gbe_set_wol(9)
π pch_gbe_set_wol(9) π
okay so bestie, welcome to pch_gbe_set_wol(9) β a page straight out of the Kernel API Manual. the whole entire vibe is: Turn Wake-on-Lan on or off. that's it. that's the job. one function, one toggle, main character energy for your network card's beauty sleep π΄β¨
πΈ SYNOPSIS πΈ
int pch_gbe_set_wol (struct net_device *netdev , struct ethtool_wolinfo *wol );
literally just those two args, no cap. int in, int out, let's go π«Ά
π¦ ARGUMENTS π¦
netdevβ the network interface device structure. this is your NIC's whole personality file, the network interface device structure itself.wolβ pointer of wake-on-Lan information straucture. yes, "straucture." the manpage said it, not me π it's the pointer to the wake-on-LAN info structure, okay, we move.
π RETURN π
0β Successful. slay. π- Negative value β Failed. π not slay.
that's the whole return contract, no in-between, no vibes in the grey area.
π SEE ALSO π
kernel file: ./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c β that's where the source lives, go read it, iykyk π
and then the whole friend group, all of them, every single one:
pch_gbe_get_link_ksettings(9)pch_gbe_set_link_ksettings(9)pch_gbe_get_regs_len(9)pch_gbe_get_drvinfo(9)pch_gbe_get_regs(9)pch_gbe_get_wol(9)pch_gbe_nway_reset(9)pch_gbe_get_ringparam(9)pch_gbe_set_ringparam(9)pch_gbe_get_pauseparam(9)pch_gbe_set_pauseparam(9)pch_gbe_get_strings(9)pch_gbe_get_ethtool_stats(9)
ngl pch_gbe_get_wol(9) is the literal sibling of this one β one gets, one sets, iconic duo behavior π
mwah, that's the page π«Ά this little beauty came from ./drivers/net/ethernet/oki-sem... (the footer got cut off mid-path, tragic, but that's what it says) and it's dated October 2026. so futuristic. so chic. go forth and toggle that Wake-on-Lan, bestie πβ¨π
π¦ 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