DOKK / manpages / debian 10 / freebsd-manpages / device_quiet.9freebsd.en
DEVICE_QUIET(9) Kernel Developer's Manual DEVICE_QUIET(9)

device_quiet, device_verbose, device_is_quietmanipulate device quiet flag

#include <sys/param.h>
#include <sys/bus.h>

void
device_quiet(device_t dev);

void
device_verbose(device_t dev);

int
device_is_quiet(device_t dev);

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 () during a device driver probe routine. To re-enable probe messages, call (). To test to see if a device is quieted, call ().

Devices are implicitly marked verbose after a driver detaches.

device(9)

This manual page was written by Doug Rabson.

September 12, 2016 Debian