cdx_clear_master(9)
π cdx_clear_master(9) π
okay so bestie, welcome to the Kernel API Manual page for cdx_clear_master β yes that's the (9) section, we're in kernel-land now, put your hair up π
β¨ NAME β¨
cdx_clear_master β disables bus-mastering for a CDX device π«π
like, it takes the bus-master hat off the device. no more bossing the bus around, bestie. that privilege is revoked π
πΈ SYNOPSIS πΈ
int cdx_clear_master (struct cdx_device *cdx_dev );
that's the whole vibe. one function, one pointer, returns an int. iconic honestly π«Ά
π¦ ARGUMENTS π¦
cdx_devβ the CDX device to disable. yep, that's it. you hand it the device you want to un-master, and it does the thing.struct cdx_device *, non-negotiable β¨
π RETURN π
0β success!! it worked, slay π-errnoβ failure π it went sideways and you get a negative errno back so you can figure out exactly how it went sideways. no cap, always check this one.
π₯ SEE ALSO π₯
sooo here's the whole friend group (kernel file ./include/linux/cdx/cdx_bus.h) π
CDX_DEVICE(9)CDX_DEVICE_DRIVER_OVERRIDE(9)struct cdx_ops(9)struct cdx_controller(9)struct cdx_device(9)struct cdx_driver(9)__cdx_driver_register(9)cdx_driver_unregister(9)cdx_dev_reset(9)cdx_set_master(9)cdx_enable_msi(9)cdx_disable_msi(9)
also lowkey go read cdx_set_master(9) right after this one β they're giving complementary opposites, iykyk π
bestie note: this page lives in ./include/linux/cdx and it's dated October 2026 β so yeah, future vibes only βπ
k that's the whole page, go clear that master flag, ily, bye π§ππΈ
π¦ 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