Unleashed v1.4
[unleashed.git] / share / man / man9f / ddi_report_dev.9f
blob7689cbc042c52676168e4094effa5028a6a82728
1 '\" te
2 .\" Copyright (c) 1993, Sun Microsystems, Inc.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH DDI_REPORT_DEV 9F "Jun 7, 1993"
7 .SH NAME
8 ddi_report_dev \- announce a device
9 .SH SYNOPSIS
10 .LP
11 .nf
12 #include <sys/conf.h>
13 #include <sys/ddi.h>
14 #include <sys/sunddi.h>
18 \fBvoid\fR \fBddi_report_dev\fR(\fBdev_info_t *\fR\fIdip\fR);
19 .fi
21 .SH INTERFACE LEVEL
22 .sp
23 .LP
24 Solaris DDI specific (Solaris DDI).
25 .SH PARAMETERS
26 .sp
27 .ne 2
28 .na
29 \fB\fIdip\fR \fR
30 .ad
31 .RS 8n
32 a pointer the device's \fBdev_info\fR structure.
33 .RE
35 .SH DESCRIPTION
36 .sp
37 .LP
38 \fBddi_report_dev()\fR prints a banner at boot time,  announcing the device
39 pointed to by \fIdip\fR. The banner is always placed in the system logfile
40 (displayed by \fBdmesg\fR(8)), but is only displayed on the console if the
41 system was booted with the verbose (\fB-v\fR) argument.
42 .SH CONTEXT
43 .sp
44 .LP
45 \fBddi_report_dev()\fR can be called from user context.
46 .SH SEE ALSO
47 .sp
48 .LP
49 \fBdmesg\fR(8), \fBkernel\fR(8)
50 .sp
51 .LP
52 \fIWriting Device Drivers\fR