vio_cmo_bus_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vio_cmo_bus_remove(9) πŸ’…

ok so bestie, this is a page straight out of the Kernel API Manual and it's about vio_cmo_bus_remove β€” say that three times fast, i dare you 🫢. It's giving very niche, very powerpc, very "iykyk" energy, and honestly? obsessed.


✨ NAME ✨

vio_cmo_bus_remove β€” the function that handles all the CMO-specific bus removal activities πŸŽ€


🌸 SYNOPSIS 🌸

void vio_cmo_bus_remove (struct vio_dev *viodev );

that's it, that's the whole signature, no cap ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • viodev β€” ngl the original page literally just says "-- undescribed --" 😭 but don't panic, the DESCRIPTION comes in clutch and tells you it's a pointer to struct vio_dev for the device. so like, mystery solved bestie πŸ’…

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜•: viodev is a pointer to the struct vio_dev for the device you're dealing with.

What this function does is remove the device from the cmo device list. and here's the important part, so pay attention πŸ‘‘

The minimum entitlement will be reserved for the device for as long as it is in the system. like, it keeps that baseline no matter what, periodt.

The rest of the entitlement that the device had been allocated? yeah, that gets returned to the system. giving back what's not needed, we love a generous icon πŸŒˆπŸ’Έ


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, fr fr:


πŸ’€ reminder bestie: this is kernel-space, so treat it with the respect it deserves. main character energy only ✨

and that's the page!! πŸŽ€ mwah πŸ’‹

sign-off szn: this little masterpiece lives in ./arch/powerpc/platforms/pseries, dated October 2026 β€” go off, powerpc era πŸ‘‘πŸ¦‹βœ¨

πŸ“¦ where this page comes from