igc_get_phy_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ‘‘:

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