fsl_rio_config_read(9)
π fsl_rio_config_read β a Kernel API Manual moment (section 9, bestie)
okay so this one lives in the kernel API manual, section 9, and it's literally called fsl_rio_config_read. buckle up π
β¨ NAME β¨
fsl_rio_config_read β generate a MPC85xx read maintenance transaction. that's it, that's the whole vibe π¦
πΈ SYNOPSIS πΈ
int fsl_rio_config_read (struct rio_mport *mport , int index , u16
destid , u8 hopcount , u32 offset , int len , u32 *val );
yes bestie, that's a whole lot of parameters. count them. we'll get to each one, no cap π
π ARGUMENTS π
mportβ RapidIO master port info π like, the port that's doing the main character work hereindexβ ID of RapdiIO interface (spelling is straight from the source, don't come for me π)destidβ destination ID of the transaction π― where this thing is headedhopcountβ number of hops to the target device π¦ how many little leaps before you get thereoffsetβ offset into configuration space πlenβ length (in bytes) of the maintenance transaction πvalβ location to be read into π«Ά the lil spot where the result lands
π₯ DESCRIPTION π₯
so what does it actually do? it generates a MPC85xx read maintenance transaction β¨ periodt.
returns 0 on success or -EINVAL on failure. that's the whole deal, bestie β 0 = slay, -EINVAL = not slay π
π SEE ALSO π
- Kernel file
./arch/powerpc/sysdev/fsl_rio.cβ the source of truth, go read it iykyk π fsl_local_config_read(9)fsl_local_config_write(9)fsl_rio_config_write(9)fsl_rio_setup(9)
the whole friend group, fr fr π
π§ quick vibe check: -EINVAL is the failure return, so don't go treating it like success. the manpage said failure, and we respect the manpage π
and that's the page!! brought to you from ./arch/powerpc/sysdev, dated October 2026, in the Kernel API Manual β mwah, go read the other fsl_* ones now π
π
π¦ 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