logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

device_quiet, device_verbose, device_is_quiet — manipulate device quiet flag

Authors

       This manual page was written by Doug Rabson.

Debian                                         September 12, 2016                                DEVICE_QUIET(9)

Description

       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 printing of the device identification string during attach and  printing  of  a
       message  during detach.  To quiet a device, call device_quiet() during a device driver probe routine.  To
       re-enable probe messages,  call  device_verbose().   To  test  to  see  if  a  device  is  quieted,  call
       device_is_quiet().

       Devices are implicitly marked verbose after a driver detaches.

Name

       device_quiet, device_verbose, device_is_quiet — manipulate device quiet flag

See Also

device(9)

Synopsis

#include<sys/param.h>#include<sys/bus.h>voiddevice_quiet(device_tdev);

       voiddevice_verbose(device_tdev);

       intdevice_is_quiet(device_tdev);

See Also