register_mii_timestamper(9)
π register_mii_timestamper(9) β a Kernel API Manual moment π
Okay bestie, so this is a page from the Kernel API Manual and it's about register_mii_timestamper, and honestly it's short and sweet, so let's get into it β¨
πΈ NAME πΈ
register_mii_timestamper β enables a given port of an MII time stamper π
Like, that's the whole vibe. It turns a port ON. Slay.
π¦ SYNOPSIS π¦
struct mii_timestamper * register_mii_timestamper (struct device_node
*node , unsigned int port );
That's it, that's the signature, no cap π«Ά
π ARGUMENTS π
nodeβ the device tree node of the MII time stamp controller π³ like, which controller we're talking about, bestie.portβ the index of the port to be enabled π’ aka which one of its ports you want switched on.
β DESCRIPTION β
So what does it actually do? It returns a valid interface on success or ERR_PTR otherwise π That's the whole description. Short king of a description, honestly. But hey β at least you know what you're getting: either a real, valid interface, or an ERR_PTR telling you it didn't work out π
π SEE ALSO π
- Kernel file
./drivers/net/phy/mii_timestamper.cπ register_mii_tstamp_controller(9)unregister_mii_tstamp_controller(9)unregister_mii_timestamper(9)
iykyk, these are the friends in the same group chat π«Ά
ngl bestie, remember: on failure you getERR_PTRback, not aNULLβ so vibe check your return value properly before you dereference anything π
π and that's the whole page!! sign-off time: this little number lives under ./drivers/net/phy in the Kernel API Manual, dated October 2026 β periodt, love that for us ππ§ββοΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms