of_device_make_bus_id(9)
π of_device_make_bus_id β like, the Kernel API Manual one, bestie
okay so this page is of_device_make_bus_id(9) from the Kernel API Manual and honestly? it's a little icon and it deserves your attention π
β¨ NAME β¨
of_device_make_bus_id β use the device node data to assign a unique name π·οΈβ¨
πΈ SYNOPSIS πΈ
void of_device_make_bus_id (struct device *dev );
π¦ ARGUMENTS π¦
devβ pointer to a device structure that's linked to a device tree node π³π
π DESCRIPTION π
okay so here's the tea β β this routine will first try using the translated bus address to derive a unique name. slay, easy win.
but if it cannot do that? no stress, it doesn't just give up π it will prepend names from parent nodes until a unique name can be derived. like it keeps climbing up the family tree until the name is, at long last, unique. main character energy from the parent nodes fr fr π
π₯ SEE ALSO π₯
- Kernel file
./drivers/of/device.c of_match_device(9)of_dma_configure_id(9)of_device_modalias(9)of_device_uevent(9)
and that's the whole vibe π«Ά this one lives over in ./drivers/of and it's dated October 2026 β bookmark it, screenshot it, tell your friends πβ¨
of_device_make_bus_id(9) π bye bestie, go name some 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