'\" t .\" Title: enum probe_type .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Device drivers infrastructure .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ENUM PROBE_TYPE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Device drivers infrastructure" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" enum_probe_type \- 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\&. .SH "SYNOPSIS" .sp .nf enum probe_type { PROBE_DEFAULT_STRATEGY, PROBE_PREFER_ASYNCHRONOUS, PROBE_FORCE_SYNCHRONOUS }; .fi .SH "CONSTANTS" .PP PROBE_DEFAULT_STRATEGY .RS 4 Used by drivers that work equally well whether probed synchronously or asynchronously\&. .RE .PP PROBE_PREFER_ASYNCHRONOUS .RS 4 Drivers for \(lqslow\(rq devices which probing order is not essential for booting the system may opt into executing their probes asynchronously\&. .RE .PP PROBE_FORCE_SYNCHRONOUS .RS 4 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)\&. .RE .SH "DESCRIPTION" .PP Note that the end goal is to switch the kernel to use asynchronous probing by default, so annotating drivers with \fBPROBE_PREFER_ASYNCHRONOUS\fR is a temporary measure that allows us to speed up boot process while we are validating the rest of the drivers\&. .SH "COPYRIGHT" .br