e1000e_get_s...uplex_copper(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, gather round β€” this page is all about e1000e_get_speed_and_duplex_copper, and what it does is literally just retrieve current speed/duplex. that's the whole vibe. networking detective work, but make it chic. ✨

(this is the Kernel API Manual page for it, btw β€” the name at the top got cut off all dramatically like e1000e_get_s...uplex_copper(9), but we know her full name now πŸŽ€)


✨ SYNOPSIS ✨

s32 e1000e_get_speed_and_duplex_copper (struct e1000_hw *hw , u16 *speed
, u16 *duplex );

she takes three things and returns an s32, no cap. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW structure πŸ’… like, the hardware itself, hand-delivered
  • speed β€” stores the current speed ⚑ this is where the answer goes
  • duplex β€” stores the current duplex πŸ”₯ and this is where the other answer goes

πŸ¦‹ DESCRIPTION πŸ¦‹

so what's actually happening: it reads the status register for the current speed/duplex, and then stores the current speed and duplex for copper connections. πŸ“–βœ¨ that's it, that's the function β€” read the register, stash the values, slay.

copper connections only, bestie β€” note that, it matters. 🌸


🌈 SEE ALSO 🌈

the kernel file lives at ./drivers/net/ethernet/intel/e1000e/mac.c β€” that's home base 🏠 and here's the whole friend group, every single one of them, no gatekeeping:

like, that's the whole group chat right there β€” iykyk πŸ’€πŸ‘‘


πŸ’œ signing off from ./drivers/net/ethernet/intel/e..., October 2026 β€” the source/version and date, both of them, respectfully, delivered with a little curtsey. bye bestie, go read that status register πŸ§šβ€β™€οΈβ­πŸ’–
πŸ“¦ where this page comes from