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

NAME


ddi_report_dev - announce a device

SYNOPSIS


#include <sys/conf.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>


void ddi_report_dev(dev_info_t *dip);


INTERFACE LEVEL


illumos DDI specific (illumos DDI).

PARAMETERS


dip
a pointer the device's dev_info structure.


DESCRIPTION


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.

CONTEXT


ddi_report_dev() can be called from user context.

SEE ALSO


dmesg(8), kernel(8)


Writing Device Drivers

June 7, 1993 DDI_REPORT_DEV(9F)

tribblix@gmail.com :: GitHub :: Privacy