cdx_bus_add(9)
β¨ NAME β¨
okay bestie, this is cdx_bus_add(9) from the Kernel API Manual β and it is lowkey iconic for one very specific job. cdx_bus_add adds a CDX bus. Fr fr, it adds a bus on the CDX bus subsystem, creates a CDX device for the corresponding bus, and also registers an associated Linux generic device. periodt π
πΈ SYNOPSIS πΈ
the signature is giving exactly this, character for character:
struct device * cdx_bus_add (struct cdx_controller *cdx , u8 bus_num );
π ARGUMENTS π
cdxβ the associated CDX controller. That's the plug, bestie π«Άbus_numβ the original one-liner is literally-- undescribed --, so no cap, I'm not inventing a description. That's the actual text π
π RETURN π
On success: the associated Linux generic device pointer. On failure: NULL. That's the whole return vibe check, bestie πβ¨
π¦ SEE ALSO π¦
The kernel file is ./drivers/cdx/cdx.h, and the related pages are:
struct cdx_dev_params(9)cdx_register_controller(9)cdx_unregister_controller(9)cdx_device_add(9)cdx_msi_domain_init(9)
mwah π β this page is from ./drivers/cdx and is dated October 2026. bye 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