BUS_SET_PASS(9)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so this is BUS_SET_PASS(9) from the Kernel Developer's Manual, and the function is bus_set_pass β€” its whole vibe is: raise the bus pass level ✨


πŸ› οΈ SYNOPSIS πŸ› οΈ

#include <sys/param.h>
#include <sys/bus.h>

void
bus_set_pass(int pass);

πŸ’– DESCRIPTION πŸ’–

bestie, here's the tea: bus_set_pass gets called during boot to raise the bus pass level up to pass. iconic behavior, honestly.

The function will rescan the device tree for each pass level between the current pass level and the new level that has at least one associated driver. yes, each one β€” no skipping the ones with driver energy πŸ’…

Those device tree rescans are implemented by invoking the BUS_NEW_PASS(9) method on the root bus device. that's the whole mechanic, and it ate πŸ”₯


πŸ‘€ SEE ALSO πŸ‘€


sign-off time, bestie: this page's source/version is Debian, dated June 8, 2009. periodt πŸ’œπŸ«Ά

πŸ“¦ where this page comes from