igc_get_phy_id(9)
β¨ igc_get_phy_id β¨
okay so bestie, welcome to the Kernel API Manual entry for igc_get_phy_id β yes that's the whole title, we're getting straight into it π
πΈ NAME πΈ
igc_get_phy_id β retrieve the PHY ID and revision π
π¦ SYNOPSIS π¦
s32 igc_get_phy_id (struct igc_hw *hw );
that's it. that's the whole call. slay.
π§ ARGUMENTS π§
hwβ pointer to the HW structure π like, this is the hardware struct you're handing over, bestie, and it's the only thing you need to pass in.
π DESCRIPTION π
so what does it actually do? it reads the PHY registers and stores the PHY ID β and possibly the PHY revision too β right into the hardware structure. fr fr that's the whole vibe: read the regs, stash the ID, maybe stash the revision, done. π«Ά
no cap, it's giving "little function, big responsibility." β¨
π₯ SEE ALSO π₯
the kernel file lives at ./drivers/net/ethernet/intel/igc/igc_phy.c β go say hi to it for me π
and here's the whole friend group, literally every single one of them, not skipping a single icon π:
igc_check_reset_block(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_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)
like okay go off, entire PHY subsystem ππ
kisses bestie, this page is from ./drivers/net/ethernet/intel/igc, dated October 2026 β that's the source, the version and the date all in one cute little sign-off. bye bye, mwah ππ
π¦ 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