summaryrefslogtreecommitdiffstats
path: root/share/man/man9/device_quiet.9
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2016-09-30 22:29:19 +0000
committerjhb <jhb@FreeBSD.org>2016-09-30 22:29:19 +0000
commit8ee8b335f1b645c42d8eaf7a0236e1927611acac (patch)
tree2ee1773e0dc2aecbf9cb00abe0b1f8471867c716 /share/man/man9/device_quiet.9
parent96b406e9cc04e8c5edc75ab1cfb0edae6a57b9ab (diff)
downloadFreeBSD-src-8ee8b335f1b645c42d8eaf7a0236e1927611acac.zip
FreeBSD-src-8ee8b335f1b645c42d8eaf7a0236e1927611acac.tar.gz
MFC 305751: Make device_quiet() an attachment property.
In particular, reset the DF_QUIET flag when detaching from a device so that a driver that marks a device quiet doesn't dictate policy for a different driver that may claim the device in the future. Sponsored by: Chelsio Communications
Diffstat (limited to 'share/man/man9/device_quiet.9')
-rw-r--r--share/man/man9/device_quiet.914
1 files changed, 8 insertions, 6 deletions
diff --git a/share/man/man9/device_quiet.9 b/share/man/man9/device_quiet.9
index 0e5526d..08d88ca 100644
--- a/share/man/man9/device_quiet.9
+++ b/share/man/man9/device_quiet.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 21, 1999
+.Dd September 12, 2016
.Dt DEVICE_QUIET 9
.Os
.Sh NAME
@@ -49,16 +49,18 @@
Each device has a quiet flag associated with it.
A device is
verbose by default when it is created but may be quieted to prevent
-the device identification string to be printed during probe.
+printing of the device identification string during attach
+and printing of a message during detach.
To quiet a device, call
-.Fn device_quiet ,
-to re-enable to probe message (to make the message appear again, for
-example after a
-.Xr device_detach 9 )
+.Fn device_quiet
+during a device driver probe routine.
+To re-enable probe messages,
call
.Fn device_verbose .
To test to see if a device is quieted, call
.Fn device_is_quiet .
+.Pp
+Devices are implicitly marked verbose after a driver detaches.
.Sh SEE ALSO
.Xr device 9
.Sh AUTHORS
OpenPOWER on IntegriCloud