auxiliary_device_create(9)
π auxiliary_device_create β like, the whole vibe π
okay so real talk, this is a page from the Kernel API Manual (section 9, kernel-API girlies rise π) and it's all about auxiliary_device_create. yes bestie, we're doing kernel internals today and we're gonna slay it π
β¨ NAME β¨
auxiliary_device_create β literally just: create a device on the auxiliary bus. that's the whole assignment π
π¦ SYNOPSIS π¦
struct auxiliary_device * auxiliary_device_create (struct device *dev ,
const char *modname , const char *devname , void *platform_data , int id
);
ngl she's a long one, but she's worth it π«Ά
πΈ ARGUMENTS πΈ
devβ the parent device π like, whose child is this? that one.modnameβ the module name, and it's the one used to create the auxiliary driver name. so it's doing double duty, iconic.devnameβ the auxiliary bus device name π·οΈplatform_dataβ the auxiliary bus device platform data, aka the little care package it carries around πidβ the auxiliary bus device id π’
β DESCRIPTION β
so this is the helper that creates an auxiliary bus device π and here's the cute part β the device it creates matches driver modname.devname on the auxiliary bus. that's it, that's the matchmaking, no cap π§
π SEE ALSO π
go read these next, i'm obsessed with all of them:
- Kernel file
./drivers/base/auxiliary.cβ plus everything in it:PURPOSE(9),USAGE(9),EXAMPLE(9) auxiliary_device_init(9)__auxiliary_device_add(9)__auxiliary_driver_register(9)auxiliary_driver_unregister(9)auxiliary_device_destroy(9)__devm_auxiliary_device_create(9)dev_is_auxiliary(9)
π friendly reminder that auxiliary_device_destroy(9) exists too β you can't just create forever, bestie. balance. πΈ
k bye, this page came from ./drivers/base in October 2026 and it lives in the auxiliary_device_create(9) manual slot π©· mwah, go build something iconic β¨π
π¦ 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