igc_phy_setup_autoneg(9)
π igc_phy_setup_autoneg β Kernel API Manual β¨
okay so bestie, welcome to the igc_phy_setup_autoneg(9) page π
this one lives in the Kernel API Manual and honestly? it's a little glow-up ritual for your PHY. let's get into it.
πΈ NAME πΈ
igc_phy_setup_autoneg β literally just Configure PHY for auto-negotiation π
β¨ SYNOPSIS β¨
s32 igc_phy_setup_autoneg (struct igc_hw *hw );
π¦ ARGUMENTS π¦
hwβ pointer to the HW structure π«Ά that's it, that's the whole input, she's low-maintenance.
π DESCRIPTION π
okay so here's the vibe π this function Reads the MII auto-neg advertisement register and/or the 1000T control register β yes, and/or, she's flexible like that π
then it does a little vibe check: if the PHY is already setup for auto-negotiation? iconic, she returns successful and moves on with her day β¨ no notes, no extra work, main character energy.
otherwise π she gets to work and sets up advertisement and flow control to the appropriate values for the wanted auto-negotiation. like, she's dressing the PHY for the occasion π fr fr.
π SEE ALSO π
the whole friend group π y'all should go read these too:
- 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_wait_autoneg(9)igc_copper_link_autoneg(9)igc_setup_copper_link(9)igc_read_phy_reg_mdic(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)
π reminder bestie: this page is from ./drivers/net/ethernet/intel/igc and it's dated October 2026 β that's the source and the version, don't come for me, i'm just the messenger π§
and that's the page!! slay, go configure some PHYs, ily, bye ππ
π¦ 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