igc_read_phy_reg_gpy(9)
π igc_read_phy_reg_gpy β Read GPY PHY register π
okay bestie, so this is a page from the Kernel API Manual, and it's literally all about the function igc_read_phy_reg_gpy. it does exactly what it says on the tin β reads a register. from a PHY. specifically the GPY PHY. we love a self-explanatory icon β¨
πΈ SYNOPSIS πΈ
s32 igc_read_phy_reg_gpy (struct igc_hw *hw , u32 offset , u16 *data );
three args, one return, no drama π
π ARGUMENTS π
hwβ pointer to theHWstructure. it's giving "here's the hardware, go off" energy π«Άoffsetβ bestie, this one's a two-for-one deal and you gotta pay attention π the lower half is the register offset you're reading, and the upper half is the MMD to use. yes, packed into one arg. yes, it's a little unhinged. no, we don't make the rules πdataβ the data to read at that register offset. this is where the good stuff lands π
β¨ DESCRIPTION β¨
so here's the vibe check: it acquires the semaphore β y'know, if necessary β and then reads the data sitting in the PHY register at the given offset. super chill. then, before it dips out, it releases any semaphores it grabbed along the way. polite queen behavior, honestly π
no cap, that's the whole thing. acquire, read, release, exit. clean, iconic, periodt π
π¦ SEE ALSO π¦
the kernel file in question lives right here, fr fr:
./drivers/net/ethernet/intel/igc/igc_phy.c
and here's the whole friend group, all invited to the group chat π
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_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_fw_version(9)igc_force_speed_duplex(9)
π okay that's the page!! it's from the kernel tree at./drivers/net/ethernet/intel/igc, dated October 2026, and yes β the manpage title is stilligc_read_phy_reg_gpy(9)in case you forgot already π go read some registers bestie, slay π
π¦ 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