rio_enum_complete(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ rio_enum_complete(9) β€” a Kernel API Manual moment πŸ’…

okay bestie, so this is rio_enum_complete, from the Kernel API Manual, and it's basically a vibe check for your RapidIO network ✨


🌸 NAME 🌸

rio_enum_complete β€” tests if enumeration of a network is complete πŸŽ€

Like, it literally just peeks in and goes "are we done here or not?" no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

int rio_enum_complete (struct rio_mport *port );

that's it, that's the whole signature, she's short and iconic πŸ’–


πŸ“ ARGUMENTS πŸ“

  • port β€” the master port to send the transaction on πŸ‘‘ (yes, this is the port doing the sending, she's the main character here)

πŸ’œ DESCRIPTION πŸ’œ

So the way this works: it tests the PGCCSR discovered bit for a non-zero value β€” that's the enumeration complete flag, iykyk 🧚

And then it tells you the tea:

  • returns 1 if enumeration is complete β€” slay, we're done βœ…
  • returns 0 if enumeration is incomplete β€” not yet bestie, keep waiting πŸ™ˆ

that's literally the whole function. short, sweet, does exactly one thing and does it well 🫢


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/rapidio/rio-scan.c β€” go read the source, bestie, it's giving homework but make it fun πŸ“š

and then the whole friend group of related functions:

all twenty-four of them, no gatekeeping, go off πŸ’…


so yeah, that's the whole page 🌈 this little cutie lives in ./drivers/rapidio, the manual is dated October 2026, and the page itself is rio_enum_complete(9) β€” stan a kernel API that knows exactly what it is πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from