rio_unregister_driver(9)
π NAME π
Okay bestie, this is rio_unregister_driver(9), straight out of the Kernel API Manual β and it does exactly what the name says: it unregisters a RIO driver. Periodt. π
β¨ SYNOPSIS β¨
void rio_unregister_driver (struct rio_driver *rdrv );
π ARGUMENTS π
rdrvβ the RIO driver structure to unregister, aka yourstruct rio_driverbestie thatβs getting removed from the registered lineup.
π¦ DESCRIPTION π¦
So hereβs the vibe: this function deletes the struct rio_driver from the list of registered RIO drivers. No cap, itβs literally taking it off the list.
Then it gives the driver a chance to clean up by calling its remove function for each device it was responsible for. Very βlet me tidy up my room before I goβ energy. π§Ήβ¨
After that, it marks those devices as driverless. The devices stay there, but their driver situation is giving βno main character in sight.β π
π SEE ALSO π
Kernel file ./drivers/rapidio/rio-driver.c is the spot, and the related function besties are:
rio_match_device(9)rio_dev_get(9)rio_dev_put(9)rio_device_probe(9)rio_device_remove(9)rio_register_driver(9)rio_match_bus(9)rio_bus_init(9)
Signed off with love from the ./drivers/rapidio source corner, October 2026 edition, for rio_unregister_driver(9) ππ«Ά
π¦ 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