igc_read_phy_reg_mdic(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🧚

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