BUS_GENERIC_NEW_PASS(9)

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

🌸 NAME 🌸

okay bestie, welcome to the Kernel Developer's Manual entry for BUS_GENERIC_NEW_PASS(9) πŸ’…

bus_generic_new_pass β€” the generic implementation of BUS_NEW_PASS for bus devices, no cap ✨


✨ SYNOPSIS ✨

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

void
bus_generic_new_pass(device_t dev);

πŸ’– DESCRIPTION πŸ’–

This function is literally giving bus drivers an implementation of the BUS_NEW_PASS(9) method 🫢

First, it invokes the DEVICE_IDENTIFY(9) method for any drivers whose pass level is equal to the new pass level. Then, for each attached child device, it calls BUS_NEW_PASS(9) to rescan child buses πŸ’… and for each unattached child device, it calls device_probe_and_attach(9). Periodt 🌟

bestie, it’s a whole little pass-level pipeline: identify the matching drivers, rescan the attached children, then probe-and-attach the unattached ones πŸ”₯

🌈 SEE ALSO 🌈


this page is from Debian, dated January 15, 2017, and it’s the BUS_GENERIC_NEW_PASS(9) page β€” iconic, honestly πŸŽ€πŸ‘‘

πŸ“¦ where this page comes from