hns_mac_get_mode(9)
πΈ hns_mac_get_mode(9) πΈ
okay so bestie, this iconic little page comes from the Kernel API Manual and it's all about hns_mac_get_mode β aka get mac mode. It's short, it's sweet, and it's giving "I have one job and I do it." π
β¨ NAME β¨
hns_mac_get_mode β get mac mode
β¨ SYNOPSIS β¨
int hns_mac_get_mode (phy_interface_t phy_if );
β¨ ARGUMENTS β¨
phy_ifβ the phy interface. The return sitch is literally:0- gmac,1- xgmac, negative --fail. So yeah, negative is the "nope, we failed" vibe, no cap. π
β¨ SEE ALSO β¨
- Kernel file:
./drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c hns_mac_need_adjust_link(9),hns_mac_get_inner_port_num(9),hns_mac_change_vf_addr(9),hns_mac_port_config_bc_en(9),hns_mac_vm_config_bc_en(9),hns_mac_get_autoneg(9),hns_mac_get_pauseparam(9),hns_mac_set_autoneg(9),hns_mac_set_pauseparam(9),hns_mac_init_ex(9),hns_mac_get_info(9),hns_mac_get_cfg(9),hns_mac_init(9)
xoxo, your girl signing off π«Ά this page's source/version is ./drivers/net/ethernet/hisilic..., it's dated October 2026, and the footer has hns_mac_get_mode(9) chillin' at the end like the main character it is. ππ
π¦ 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