e1000_set_page_igp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… e1000_set_page_igp β€” a little glow-up for your IGP-ish PHYs

okay so bestie, this one lives in the Kernel API Manual, section 9, and it's called e1000_set_page_igp. Yes the whole page is literally named after the function, we love a title that eats. πŸŽ€


✨ NAME ✨

e1000_set_page_igp β€” Set page as on IGP-like PHY(s)

no cap, that's the whole pitch. it sets the page. on IGP-like PHYs. slay. πŸ’…


🌸 SYNOPSIS 🌸

s32 e1000_set_page_igp (struct e1000_hw *hw , u16 page );

look at her. returns an s32, takes two args, done. main character energy fr fr. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the HW structure. this is your hardware bestie, the one you're doing all this for 🫢
  • page β€” the page you wanna set (shifted left when necessary). yep, shifted left when necessary β€” the function is not doing that bit for you, okay, read the room πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea πŸ“: this sets the PHY page you need for PHY register access. that's it, that's the job.

it assumes the semaphore is already acquired. so like, don't just roll up and call this without the semaphore, that's not the vibe, that's a bug. 😭

and heads up, and this is the important part so listen up bestie πŸ‘‘: this function sets phy.addr to 1, which means the caller must set it appropriately (if necessary) after this function returns. the function is out here changing your address on you and not putting it back. iconic but also kind of rude. anyway, you've been warned πŸ’€

ngl, the two things to remember: semaphore already acquired, and phy.addr gets set to 1 so you fix it afterwards if you need to. periodt. ✨

πŸ”₯ SEE ALSO πŸ”₯

the friend group. the whole group chat. every single one of them is here and yes we're tagging everybody 🌈:

okay that's everyone, nobody got left out, we ate that list UP 🍽️✨


and that's the page bestie! 🧚 source/version is the Kernel API Manual, date is October 2026, and the footer path was ./drivers/net/ethernet/intel/e... (yes it's truncated, no I can't fix it, that's just how the footer was born πŸ™ˆ). go set some pages, and remember to put phy.addr back πŸ’œ

πŸ“¦ where this page comes from