summaryrefslogtreecommitdiffstats
path: root/share/man/man9/DEVICE_PROBE.9
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2004-08-11 21:52:31 +0000
committerimp <imp@FreeBSD.org>2004-08-11 21:52:31 +0000
commitdb0bbfe1d3046a432d78a85675cddc3641d1c0db (patch)
tree4e5ea0e789ce89e97eb324d275d17ea48ddebfcb /share/man/man9/DEVICE_PROBE.9
parentf24c4fd00fcadf09247df319de003cf661ac03ac (diff)
downloadFreeBSD-src-db0bbfe1d3046a432d78a85675cddc3641d1c0db.zip
FreeBSD-src-db0bbfe1d3046a432d78a85675cddc3641d1c0db.tar.gz
Be explicit that a driver may assume softc is preserved when returning 0
Diffstat (limited to 'share/man/man9/DEVICE_PROBE.9')
-rw-r--r--share/man/man9/DEVICE_PROBE.92
1 files changed, 2 insertions, 0 deletions
diff --git a/share/man/man9/DEVICE_PROBE.9 b/share/man/man9/DEVICE_PROBE.9
index e809975..a18afec 100644
--- a/share/man/man9/DEVICE_PROBE.9
+++ b/share/man/man9/DEVICE_PROBE.9
@@ -72,6 +72,8 @@ routine is called.
If a success code of zero is
returned, the driver can assume that it will be the one attached, but
must not hold any resources when the probe routine returns.
+A driver may assume that the softc is preserved when it returns
+a success code of zero.
.Sh RETURN VALUES
A value equal to or less than zero indicates success, greater than
zero indicates an error (errno).
OpenPOWER on IntegriCloud