hns_mac_get_phy_if(9)
π hns_mac_get_phy_if π
okay bestie, welcome to the Kernel API Manual entry for hns_mac_get_phy_if β yes, that's the whole title situation, and we're folding the manual name right here instead of doing a whole separate header line. This page is short, specific, and lowkey iconic. Let's go π
β¨ NAME β¨
The NAME section literally says:
get phy ifterface form serdes mode
and no, we are not fixing the typos β "ifterface" and "form" are part of the historical record, iykyk ππ. So this function is about getting the phy interface from serdes mode, exactly as written.
πΈ SYNOPSIS πΈ
phy_interface_t hns_mac_get_phy_if (struct hns_mac_cb *mac_cb );
That's the signature, character for character, no glow-up, no cleanup π«Ά.
π ARGUMENTS π
mac_cbβ the mac control block. The original describes it asmac control block retuen phy interface(again: typo preservation era β¨), so that's the mac control block and the phy interface situation, exactly as the page says.
π¦ SEE ALSO π¦
- Kernel file:
./drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c hns_mac_config_sds_loopback(9)
xoxo, your Kernel API Manual bestie π β the footer/source line says ./drivers/net/ethernet/hisilic..., dated October 2026, and the page tag is hns_mac_get_phy_if(9). Periodt. π
π¦ 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