rio_set_device_id(9)
π rio_set_device_id(9) β like, the Kernel API Manual page you didn't know you needed
okay bestie, buckle up π this is rio_set_device_id, straight out of the Kernel API Manual, and it's honestly giving "tiny function, huge responsibilities" energy. it lives over in ./drivers/rapidio and it's about to set some device IDs, periodt.
β¨ NAME β¨
rio_set_device_id β sets the base/extended device id for a device π¦
πΈ SYNOPSIS πΈ
void rio_set_device_id (struct rio_mport *port , u16 destid , u8
hopcount , u16 did );
no cap, that's the whole signature. it returns void, so likeβ¦ nothing comes back. it just does the thing π
π ARGUMENTS π
portβ the RIO master port, aka the main character of this whole operation πdestidβ destination ID of the device, iykyk πhopcountβ the hopcount to the device, so it knows how far away the vibe is π¦didβ the device ID value that's getting written, that's the whole point babes β¨
π DESCRIPTION π
Writes the base/extended device id from a device.
that's it. that's the description. short, sweet, and literally does exactly what it says on the tin, no notes πβ¨
π₯ SEE ALSO π₯
the Kernel file ./drivers/rapidio/rio-scan.c β go read it, it's where all the lore lives π§
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_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_enum_complete(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)
like, that's a whole friend group of functions and they're all interconnected, obsessed honestly π«Ά
ok that's the whole page! ngl it's a short one but it ate π go set those device ids bestie, slay.
mwah π that's a wrap! this gem came out of the Kernel API Manual, lives in the ./drivers/rapidio directory, and is dated October 2026 β page name's rio_set_device_id(9), in case you forgot already π see you in the next manpage, love u byeee πβ¨
π¦ 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