igc_read_phy_reg_mdic(9)
π igc_read_phy_reg_mdic(9) β the Kernel API Manual moment π
okay so bestie, welcome to igc_read_phy_reg_mdic, straight out of the Kernel API Manual β yes she's a section 9 girlie and she's here to read one (1) MDI control register for you. iconic behaviour, no notes β¨
πΈ NAME πΈ
igc_read_phy_reg_mdic β Read MDI control register π
π¦ SYNOPSIS π¦
s32 igc_read_phy_reg_mdic (struct igc_hw *hw , u32 offset , u16 *data );
like literally that's the whole signature, she's not complicated, she just wants her three little parameters π«Ά
β¨ ARGUMENTS β¨
hwβ pointer to the HW structure π (the hardware bestie in question)offsetβ register offset to be read π―dataβ pointer to the read data π« (this is where the good stuff gets dropped off)
π DESCRIPTION π
Reads the MDI control register in the PHY at offset and stores the information read to data. that's it, that's the vibe β she goes to the PHY, she reads the MDI control register at whatever offset you handed her, and she drops the results into data. lowkey elegant. ππ
π§ SEE ALSO π§
- Kernel file
./drivers/net/ethernet/intel/igc/igc_phy.cπ igc_check_reset_block(9)igc_get_phy_id(9)igc_phy_has_link(9)igc_power_up_phy_copper(9)igc_power_down_phy_copper(9)igc_check_downshift(9)igc_phy_hw_reset(9)igc_phy_setup_autoneg(9)igc_wait_autoneg(9)igc_copper_link_autoneg(9)igc_setup_copper_link(9)igc_write_phy_reg_mdic(9)__igc_access_xmdio_reg(9)igc_read_xmdio_reg(9)igc_write_xmdio_reg(9)igc_write_phy_reg_gpy(9)igc_read_phy_reg_gpy(9)igc_read_phy_fw_version(9)igc_force_speed_duplex(9)
like that's a whole friend group and she's the main character of it fr fr π
ngl bestie, this page lives in ./drivers/net/ethernet/intel/igc, and it's dated October 2026 β so go read your PHY registers, slay, and remember: the facts never changed, only the vibe did. 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