hns_mac_get_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 ✨


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