cdx_bus_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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:

mwah πŸ’‹ β€” this page is from ./drivers/cdx and is dated October 2026. bye bestie 🫢

πŸ“¦ where this page comes from