BUS_SET_PASS(9)
π BUS_SET_PASS π
ok so bestie, this is the bus_set_pass page from section 9 of the kernel developer's manual β the one all about leveling up your bus pass situation πβ¨
β¨ NAME β¨
bus_set_pass β raise the bus pass level ππ
πΈ SYNOPSIS πΈ
#include <sys/param.h>
#include <sys/bus.h>
void
bus_set_pass(int pass);
like, that's the whole vibe. two includes, one function, zero drama π
π¦ DESCRIPTION π¦
okay so the bus_set_pass function is called during boot to raise the bus pass level up to pass. it's giving glow-up but for the device tree π
here's the tea: the function will rescan the device tree for each pass level between the current pass level and the new level β but only for the levels that have at least one associated driver. not me being picky about which passes get the rescan treatment π
and how do those rescans actually happen? the device tree rescans are implemented by invoking the BUS_NEW_PASS(9) method on the root bus device. that's it. that's the mechanism. the root bus device is the main character here, no cap π
π SEE ALSO π
go read those too, iykyk π«Ά
π a lil sign-off π
this page came to you from the Debian crew, dated June 8, 2009 β yes bestie, that's the footer, and yes i'm telling you about it anyway because it's part of the lore πβ¨
ok bye, go rescan something ππ¦π
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2009 Hudson River Trading LLC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms