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 to 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
August 22, 2023 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 to 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
August 22, 2023 DDI_REPORT_DEV(9F)