ENUM PROBE_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ enum probe_type(9) ✨

okay bestie, welcome to the enum probe_type(9) page from the Kernel API Manual πŸ’– this is the whole vibe:

πŸ’… NAME πŸ’…

enum probe_type β€” the device driver probe type to try. Device drivers may opt in for special handling of their respective probe routines. This tells the core what to expect and prefer. periodt ✨

🌸 SYNOPSIS 🌸

enum probe_type {
    PROBE_DEFAULT_STRATEGY ,
    PROBE_PREFER_ASYNCHRONOUS ,
    PROBE_FORCE_SYNCHRONOUS

};

πŸŽ€ Constants πŸŽ€

  • PROBE_DEFAULT_STRATEGY β€” used by drivers that work equally well whether probed synchronously or asynchronously. no cap, they’re flexible like that 🫢
  • PROBE_PREFER_ASYNCHRONOUS β€” drivers for β€œslow” devices whose probing order is not essential for booting the system may opt into executing their probes asynchronously ✨ it’s giving β€œwe can do this later, it’s fine” energy.
  • PROBE_FORCE_SYNCHRONOUS β€” use this to annotate drivers that need their probe routines to run synchronously with driver and device registration. ⚠️ with the exception of -EPROBE_DEFER handling β€” re-probing always ends up being done asynchronously. that part is not optional, bestie πŸ’€

πŸ¦‹ Description πŸ¦‹

note that the end goal is to switch the kernel to use asynchronous probing by default, so annotating drivers with PROBE_PREFER_ASYNCHRONOUS is a temporary measure that allows us to speed up boot process while we are validating the rest of the drivers. it’s a whole work-in-progress moment, and honestly? we love a transitional era πŸ‘‘

🌈 SEE ALSO 🌈


and that’s the page, bestie πŸŽ€ it comes from ./include/linux/device and it’s dated October 2026 β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from