auxiliary_device_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


πŸ’€ 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