phydev_id_compare(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this page is phydev_id_compare(9), and it's literally here to compare @id with the PHY's Clause 22 ID. πŸ’…βœ¨

✨ SYNOPSIS ✨

bool phydev_id_compare (struct phy_device *phydev , u32 id );

πŸŽ€ ARGUMENTS πŸŽ€

  • phydev β€” the PHY device 🫢
  • id β€” the PHY ID to be matched 🎯

πŸ¦‹ DESCRIPTION πŸ¦‹

So the vibe is: compare the phydev Clause 22 ID with the provided id, and return true or false depending on whether it matches β€” using the bound driver mask. No cap, that's the whole matchmaking situation. πŸ’–

heads up bestie: the phydev must be bound to a driver. That part is not optional, okay? πŸ’€

🌈 SEE ALSO 🌈

okay these are the other pages and kernel-file friends you might wanna check out β€” the whole squad is here, iykyk:


okay that's literally it β€” source/version: ./include/linux, date: October 2026, page: phydev_id_compare(9) πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from