hns_xgmac_init(9)
π hns_xgmac_init(9) β like, the whole Kernel API Manual moment β¨
Okay bestie, gather round π this is hns_xgmac_init, straight out of the Kernel API Manual section 9, and she's here to initialize XGE. That's it, that's the whole vibe β a little init function doing her thing. No cap. π¦
β¨ SYNOPSIS β¨
void hns_xgmac_init (void *mac_drv );
Not me just casually returning void β she takes one pointer and gives you nothing back, which is honestly main character energy π
. Watch the spacing though, (void *mac_drv ); is exactly how she's written, spaces and all, so don't come for me for "fixing" it π₯
πΈ ARGUMENTS πΈ
mac_drvβ the mac driver π«Ά that's the whole description, bestie, the original did not elaborate and neither will I. It's avoid *, it's your mac driver, hand it over and let her cook.
π SEE ALSO π
Literally the entire friend group, all of section 9, all iconic, all linked, all listed here exactly as promised π don't skip a single one:
Kernel file ./drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.chns_xgmac_tx_enable(9)hns_xgmac_rx_enable(9)hns_xgmac_lf_rf_insert(9)hns_xgmac_lf_rf_control_init(9)hns_xgmac_enable(9)hns_xgmac_disable(9)hns_xgmac_pma_fec_enable(9)hns_xgmac_config_pad_and_crc(9)hns_xgmac_pausefrm_cfg(9)hns_xgmac_set_tx_auto_pause_frames(9)hns_xgmac_config_max_frame_length(9)hns_xgmac_free(9)hns_xgmac_get_info(9)hns_xgmac_get_pausefrm_cfg(9)hns_xgmac_get_link_status(9)hns_xgmac_get_regs(9)hns_xgmac_get_stats(9)hns_xgmac_get_strings(9)hns_xgmac_get_sset_count(9)hns_xgmac_get_regs_count(9)
Twenty references. Twenty. She really said "I have a whole support system" ππ
Fr fr though: this page tells you the signature and the argument, and the rest lives in that source file up there and in every single one of those siblings. Go read them, iykyk πβ¨
Sign-off szn π β this whole page came from the source ./drivers/net/ethernet/hisilic... and she's stamped October 2026, so yeah, future-dated and thriving ππ slay. 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