__mcb_register_driver(9)
π NAME π
This is __mcb_register_driver(9) from the Kernel API Manual, bestie β and itβs literally here to register a @mcb_driver at the system. β¨
πΈ SYNOPSIS πΈ
It returns an int, and the full signature is exactly this, no cap:
int __mcb_register_driver (struct mcb_driver *drv , struct module *owner
, const char *mod_name );
π ARGUMENTS π
drvβ themcb_driver, the main character of this whole situation πownerβ themcb_driverβs modulemod_nameβ the name of themcb_driverβs module
π¦ DESCRIPTION π¦
Okay so: this registers an mcb_driver at the system. It also does a sanity check β but only if the driver provides a .probe method. Thatβs the whole vibe check, fr fr. π₯
π SEE ALSO π
The kernel file is ./drivers/mcb/mcb-core.c, and the whole friend group is:
mcb_unregister_driver(9)mcb_device_register(9)mcb_alloc_bus(9)mcb_release_bus(9)mcb_bus_get(9)mcb_bus_put(9)mcb_alloc_dev(9)mcb_free_dev(9)mcb_bus_add_devices(9)mcb_get_resource(9)mcb_request_mem(9)mcb_release_mem(9)mcb_get_irq(9)
With love from the Kernel API Manual, source ./drivers/mcb, dated October 2026 β thatβs the tea, bestie. π«Άπ
π¦ 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