cdx_mcdi_reset_device(9)
π cdx_mcdi_reset_device(9) β like, the Kernel API Manual page, bestie π
Okay so picture this: you're deep in the Kernel API Manual (yes, that's the manual name, we're being official β¨) and you land on cdx_mcdi_reset_device. It does exactly one iconic thing: it resets the cdx device that lives at bus_num:dev_num. That's it. That's the whole vibe. π
β¨ NAME β¨
cdx_mcdi_reset_device β reset the cdx device represented by bus_num:dev_num π¦
πΈ SYNOPSIS πΈ
int cdx_mcdi_reset_device (struct cdx_mcdi *cdx , u8 bus_num , u8 dev_num );
π ARGUMENTS π
cdxβ a pointer to the MCDI interface. like, the whole entry point, no cap πbus_numβ the bus number. literally just the bus number πdev_numβ the device number. the other half of the address, iykyk π₯
β RETURN β
0 on success, <0 on failure. so if you get a negative number back, that's your sign something went sideways π
π«Ά SEE ALSO π«Ά
Kernel file ./drivers/cdx/controller/mcdi_functions.h β go read it, it's giving main character energy π
cdx_mcdi_get_num_buses(9)cdx_mcdi_get_num_devs(9)cdx_mcdi_get_dev_config(9)cdx_mcdi_bus_enable(9)cdx_mcdi_bus_disable(9)cdx_mcdi_write_msi(9)cdx_mcdi_bus_master_enable(9)cdx_mcdi_msi_enable(9)
That's the whole page, bestie β no filler, all facts, and every single one of those SEE ALSO functions is there because the original said so, periodt π
Kernel API Manual Β· ./drivers/cdx/controller Β· October 2026 β slay, go reset something responsibly ππ
π¦ 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