SDIO_DEVICE(9)
π SDIO_DEVICE(9) β Kernel API Manual π
okay bestie, welcome to the Kernel API Manual page for SDIO_DEVICE(9) β itβs short, itβs iconic, and it does exactly one little job. no cap. π
β¨ NAME β¨
SDIO_DEVICE β macro used to describe a specific SDIO device. periodt. π
π SYNOPSIS π
SDIO_DEVICE (vend , dev );
yeah, that spacing is literally how itβs written β donβt come for me π
π«Ά ARGUMENTS π«Ά
vendβ the 16 bit manufacturer code. lowkey the who-made-it number. π·οΈdevβ the 16 bit function id. the specific-function number, iykyk. π’
π« DESCRIPTION π«
This macro is used to create a struct sdio_device_id that matches a specific device. itβs giving βone device, one little ID structβ energy. π¦
The class field will be set to SDIO_ANY_ID. thatβs the one detail you cannot skip, bestie β itβs right there in the source. π
π SEE ALSO π
- Kernel file
./include/linux/mmc/sdio_func.hβ go read it, itβs right there. π SDIO_DEVICE_CLASS(9)β the class-y sibling. β¨module_sdio_driver(9)β the driver-side friend. π
bestie reminder: this page is tiny but every bit matters β keep the 16 bit values and SDIO_ANY_ID exactly as they are. π―
and thatβs the whole vibe check! this pageβs footer points at the source/version path ./include/linux/mmc, dated October 2026 β slay, now go forth and match those devices. π
π
π¦ 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