xref: /titanic_50/usr/src/man/man9f/ddi_report_dev.9f (revision 9584cebb1c69707f4c67306b661c2ed47d8676f1)
te
Copyright (c) 1993, Sun Microsystems, Inc.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
DDI_REPORT_DEV 9F "Jun 7, 1993"
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

Solaris DDI specific (Solaris 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(1M)), 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(1M), kernel(1M)

Writing Device Drivers