BUS_NEW_PASS(9)

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

πŸ’… NAME: BUS_NEW_PASS(9) πŸ’…

Okay bestie, this is BUS_NEW_PASS(9) from the Kernel Developer's Manual, and its whole personality is: notify a bus that the pass level has been changed. That's the name, that's the vibe, no cap. πŸ¦‹

✨ SYNOPSIS ✨

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

void
BUS_NEW_PASS(device_t dev);

πŸŽ€ DESCRIPTION πŸŽ€

The BUS_NEW_PASS() method gets called on each bus device to rescan the device tree when the pass level has been changed. It's giving β€œnew pass level, who dis?” energy, and honestly? Iconic. πŸ’…

This method is responsible for invoking BUS_NEW_PASS on child bus devices to propagate the rescan to child devices. The way that it also has to handle the whole chain? Obsessed. 🫢

It is also responsible for reprobing any unattached child devices and allowing drivers for the current pass to identify new children. Literally its main character job, fr fr. 🌈

A default implementation is provided by bus_generic_new_pass(9), periodt. ✨

πŸ‘€ SEE ALSO πŸ‘€

Go peek at these if you want the full lore, iykyk. πŸ“š


And that's the page, bestie! The footer says Debian and June 8, 2009, so that's the source/version and date wrapped up with a bow. Now go off and slay that pass-level change πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from