rio_enum_complete(9)
β¨ 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
1if enumeration is complete β slay, we're done β - returns
0if 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:
rio_destid_alloc(9)rio_destid_reserve(9)rio_destid_free(9)rio_destid_first(9)rio_destid_next(9)rio_get_device_id(9)rio_set_device_id(9)rio_clear_locks(9)rio_enum_host(9)rio_device_has_destid(9)rio_release_dev(9)rio_is_switch(9)rio_setup_device(9)rio_sport_is_active(9)rio_get_host_deviceid_lock(9)rio_enum_peer(9)rio_disc_peer(9)rio_mport_is_active(9)rio_update_route_tables(9)rio_init_em(9)rio_enum_mport(9)rio_build_route_tables(9)rio_disc_mport(9)rio_basic_attach(9)
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
- 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