DDI_REPORT_DEV(9F) Kernel Functions for Drivers DDI_REPORT_DEV(9F)

ddi_report_dev - announce a device

#include <sys/conf.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>
void ddi_report_dev(dev_info_t *dip);

illumos DDI specific (illumos DDI).

dip

a pointer the device's dev_info structure.

ddi_report_dev() prints a banner at boot time, announcing the device pointed to by dip. The banner is always placed in the system logfile (displayed by dmesg(8)), but is only displayed on the console if the system was booted with the verbose (-v) argument.

ddi_report_dev() can be called from user context.

dmesg(8), kernel(8)

Writing Device Drivers

June 7, 1993 OmniOS