ENUM PROBE_TYPE(9)
β¨ 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_DEFERhandling β 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 π
- Kernel file
./include/linux/device/driver.hβstruct device_driver(9) driver_find_device_by_name(9)driver_find_device_by_of_node(9)driver_find_device_by_fwnode(9)driver_find_device_by_devt(9)driver_find_device_by_acpi_dev(9)module_driver(9)builtin_driver(9)
and thatβs the page, bestie π it comes from ./include/linux/device and itβs dated October 2026 β mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms