diff options
Diffstat (limited to 'usr/src/man/man3devinfo')
30 files changed, 218 insertions, 588 deletions
diff --git a/usr/src/man/man3devinfo/di_binding_name.3devinfo b/usr/src/man/man3devinfo/di_binding_name.3devinfo index 990cf8f065..13e57f1ed3 100644 --- a/usr/src/man/man3devinfo/di_binding_name.3devinfo +++ b/usr/src/man/man3devinfo/di_binding_name.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_binding_name 3DEVINFO "22 Mar 2004" "SunOS 5.11" "Device Information Library Functions" +.TH DI_BINDING_NAME 3DEVINFO "Mar 22, 2004" .SH NAME di_binding_name, di_bus_addr, di_compatible_names, di_devid, di_driver_name, di_driver_ops, di_driver_major, di_instance, di_nodeid, di_node_name \- return @@ -65,23 +65,19 @@ libdevinfo node information .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInames\fR\fR .ad .RS 9n -.rt The address of a pointer. .RE .sp .ne 2 -.mk .na \fB\fInode\fR\fR .ad .RS 9n -.rt A handle to a device node. .RE @@ -171,15 +167,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving (\fBdi_devid()\fR is obsolete) +Interface Stability Evolving (\fBdi_devid()\fR is obsolete) _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_child_node.3devinfo b/usr/src/man/man3devinfo/di_child_node.3devinfo index 48a98c20a9..2a380113b0 100644 --- a/usr/src/man/man3devinfo/di_child_node.3devinfo +++ b/usr/src/man/man3devinfo/di_child_node.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_child_node 3DEVINFO "1 Dec 1998" "SunOS 5.11" "Device Information Library Functions" +.TH DI_CHILD_NODE 3DEVINFO "Dec 1, 1998" .SH NAME di_child_node, di_parent_node, di_sibling_node, di_drv_first_node, di_drv_next_node \- libdevinfo node traversal functions @@ -39,34 +39,28 @@ di_drv_next_node \- libdevinfo node traversal functions .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdrv_name\fR\fR .ad .RS 12n -.rt The name of the driver of interest. .RE .sp .ne 2 -.mk .na \fB\fInode\fR\fR .ad .RS 12n -.rt A handle to any node in the snapshot. .RE .sp .ne 2 -.mk .na \fB\fIroot\fR\fR .ad .RS 12n -.rt The handle of the root node for the snapshot returned by \fBdi_init\fR(3DEVINFO). .RE @@ -120,34 +114,28 @@ is returned and \fIerrno\fR is set to indicate the error. These functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt The argument is invalid. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 11n -.rt The requested node does not exist. .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt The node was not found in the snapshot, but it may exist in the kernel. This error may occur if the snapshot contains a partial device tree. .RE @@ -160,15 +148,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_devfs_path.3devinfo b/usr/src/man/man3devinfo/di_devfs_path.3devinfo index c73341ae4f..f64cf152d8 100644 --- a/usr/src/man/man3devinfo/di_devfs_path.3devinfo +++ b/usr/src/man/man3devinfo/di_devfs_path.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_devfs_path 3DEVINFO "15 May 2008" "SunOS 5.11" "Device Information Library Functions" +.TH DI_DEVFS_PATH 3DEVINFO "May 15, 2008" .SH NAME di_devfs_path, di_devfs_minor_path, di_path_devfs_path, di_path_client_devfs_path, di_devfs_path_free \- generate and free path names @@ -39,45 +39,37 @@ di_path_client_devfs_path, di_devfs_path_free \- generate and free path names .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInode\fR\fR .ad .RS 12n -.rt The handle to a device node in a \fBdi_init\fR(3DEVINFO) snapshot. .RE .sp .ne 2 -.mk .na \fB\fIminor\fR\fR .ad .RS 12n -.rt The handle to a device minor node in a snapshot. .RE .sp .ne 2 -.mk .na \fB\fIpath\fR\fR .ad .RS 12n -.rt The handle to a device path node in a snapshot. .RE .sp .ne 2 -.mk .na \fB\fIpath_buf\fR\fR .ad .RS 12n -.rt A pointer returned by \fBdi_devfs_path()\fR, \fBdi_devfs_minor_path()\fR, \fBdi_path_devfs_path()\fR, or \fBdi_path_client_devfs_path()\fR. .RE @@ -127,12 +119,10 @@ The \fBdi_devfs_path()\fR, \fBdi_devfs_minor_path()\fR, will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fInode\fR, \fIminor\fR, or \fIpath\fR argument is not a valid handle. .RE @@ -149,15 +139,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_devlink_dup.3devinfo b/usr/src/man/man3devinfo/di_devlink_dup.3devinfo index 199b7b820d..ecb404117e 100644 --- a/usr/src/man/man3devinfo/di_devlink_dup.3devinfo +++ b/usr/src/man/man3devinfo/di_devlink_dup.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_devlink_dup 3DEVINFO "15 May 2008" "SunOS 5.11" "Device Information Library Functions" +.TH DI_DEVLINK_DUP 3DEVINFO "May 15, 2008" .SH NAME di_devlink_dup, di_devlink_free \- copy and free a devlink object .SH SYNOPSIS @@ -23,12 +23,10 @@ di_devlink_dup, di_devlink_free \- copy and free a devlink object .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdevlink\fR\fR .ad .RS 11n -.rt An opaque handle to a devlink. .RE @@ -60,12 +58,10 @@ returned and \fBerrno\fR is set to indicate the error. The \fBdi_devlink_dup()\fR and \fBdi_devlink_free()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIdevlink\fR argument is not a valid handle. .RE @@ -81,15 +77,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_devlink_init.3devinfo b/usr/src/man/man3devinfo/di_devlink_init.3devinfo index a9699bbd71..80e672c0fd 100644 --- a/usr/src/man/man3devinfo/di_devlink_init.3devinfo +++ b/usr/src/man/man3devinfo/di_devlink_init.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_devlink_init 3DEVINFO "21 Jul 2008" "SunOS 5.11" "Device Information Library Functions" +.TH DI_DEVLINK_INIT 3DEVINFO "Jul 21, 2008" .SH NAME di_devlink_init, di_devlink_fini \- create and destroy a snapshot of devlinks .SH SYNOPSIS @@ -24,21 +24,17 @@ di_devlink_init, di_devlink_fini \- create and destroy a snapshot of devlinks .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 9n -.rt The following values are supported: .sp .ne 2 -.mk .na \fB\fBDI_MAKE_LINK\fR\fR .ad .RS 16n -.rt Synchronize with devlink management before taking the snapshot. The name argument determines which devlink management activities must complete before taking a devlink snapshot. Appropriate privileges are required to use this @@ -49,12 +45,10 @@ flag. .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 9n -.rt If flags is \fBDI_MAKE_LINK\fR, \fIname\fR determines which devlink management activity must complete prior to snapshot. .RS +4 @@ -92,12 +86,10 @@ complete. .sp .ne 2 -.mk .na \fB\fIhdlp\fR\fR .ad .RS 9n -.rt The handle to the snapshot obtained by calling \fBdi_devlink_init()\fR. .RE @@ -131,12 +123,10 @@ returned and \fBerrno\fR is set to indicate the error. The \fBdi_devlink_init()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt One or more arguments is invalid. .RE @@ -145,12 +135,10 @@ One or more arguments is invalid. The \fBdi_devlink_init()\fR function with \fBDI_MAKE_LINK\fR can also fail if: .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 9n -.rt The user does no have appropriate privileges. .RE @@ -167,15 +155,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_devlink_path.3devinfo b/usr/src/man/man3devinfo/di_devlink_path.3devinfo index 5ad311d04b..ee4b5b2602 100644 --- a/usr/src/man/man3devinfo/di_devlink_path.3devinfo +++ b/usr/src/man/man3devinfo/di_devlink_path.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_devlink_path 3DEVINFO "15 May 2008" "SunOS 5.11" "Device Information Library Functions" +.TH DI_DEVLINK_PATH 3DEVINFO "May 15, 2008" .SH NAME di_devlink_path, di_devlink_content, di_devlink_type \- get devlink attributes .SH SYNOPSIS @@ -28,12 +28,10 @@ di_devlink_path, di_devlink_content, di_devlink_type \- get devlink attributes .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdevlink\fR\fR .ad .RS 11n -.rt An opaque handle to a devlink. .RE @@ -62,12 +60,10 @@ The \fBdi_devlink_type()\fR function returns the devlink type, either These functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIdevlink\fR argument is invalid. .RE @@ -79,15 +75,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_devlink_walk.3devinfo b/usr/src/man/man3devinfo/di_devlink_walk.3devinfo index 3b990c6d6d..bb6b04d767 100644 --- a/usr/src/man/man3devinfo/di_devlink_walk.3devinfo +++ b/usr/src/man/man3devinfo/di_devlink_walk.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_devlink_walk 3DEVINFO "15 May 2008" "SunOS 5.11" "Device Information Library Functions" +.TH DI_DEVLINK_WALK 3DEVINFO "May 15, 2008" .SH NAME di_devlink_walk \- walk through links in a devlink snapshot .SH SYNOPSIS @@ -20,23 +20,19 @@ di_devlink_walk \- walk through links in a devlink snapshot .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhdl\fR\fR .ad .RS 11n -.rt A handle to a snapshot of devlinks in "\fB/dev\fR". .RE .sp .ne 2 -.mk .na \fB\fIre\fR\fR .ad .RS 11n -.rt An extended regular expression as specified in \fBregex\fR(5) describing the paths of devlinks to visit. A null value matches all devlinks. The expression should not involve the "\fB/dev\fR" prefix. For example, the "^\fBdsk/\fR" will @@ -45,12 +41,10 @@ invoke \fIdevlink_callback\fR() for all "\fB/dev/dsk/\fR" links. .sp .ne 2 -.mk .na \fB\fImpath\fR\fR .ad .RS 11n -.rt A path to a minor node below "\fB/devices\fR" for which "\fB/dev\fR" links are to be looked up. A null value selects all devlinks. This path should not have a "\fB/devices\fR" prefix. @@ -58,12 +52,10 @@ a "\fB/devices\fR" prefix. .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 11n -.rt Specify the type of devlinks to be selected. If \fBDI_PRIMARY_LINK\fR is used, only primary links (for instance, links which point only to "\fB/devices\fR" entries) are selected. If \fBDI_SECONDARY_LINK\fR is specified, only secondary @@ -73,23 +65,19 @@ neither flag is specified, all devlinks are selected. .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 11n -.rt A pointer to caller private data. .RE .sp .ne 2 -.mk .na \fB\fIdevlink\fR\fR .ad .RS 11n -.rt The devlink being visited. .RE @@ -99,7 +87,7 @@ The devlink being visited. The \fBdi_devlink_walk()\fR function visits every link in the snapshot that meets the criteria specified by the caller. For each such devlink, the caller-supplied function \fIdevlink_callback\fR() is invoked. The return value -of \fIdevlink_callback\fR() determines subsequent walk behavior. +of \fIdevlink_callback\fR() determines subsequent walk behavior. .SH RETURN VALUES .sp .LP @@ -110,23 +98,19 @@ returned and \fBerrno\fR is set to indicate the error. The \fIdevlink_callback\fR() function can return the following values: .sp .ne 2 -.mk .na \fB\fBDI_WALK_CONTINUE\fR\fR .ad .RS 21n -.rt Continue walking. .RE .sp .ne 2 -.mk .na \fB\fBDI_WALK_TERMINATE\fR\fR .ad .RS 21n -.rt Terminate the walk immediately. .RE @@ -136,23 +120,19 @@ Terminate the walk immediately. The \fBdevlink_callback()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt One or more arguments is invalid. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory is available. .RE @@ -164,15 +144,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_init.3devinfo b/usr/src/man/man3devinfo/di_init.3devinfo index 64a2c53f02..8586dd0597 100644 --- a/usr/src/man/man3devinfo/di_init.3devinfo +++ b/usr/src/man/man3devinfo/di_init.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_init 3DEVINFO "15 May 2008" "SunOS 5.11" "Device Information Library Functions" +.TH DI_INIT 3DEVINFO "May 15, 2008" .SH NAME di_init, di_fini \- create and destroy a snapshot of kernel device tree .SH SYNOPSIS @@ -23,88 +23,72 @@ di_init, di_fini \- create and destroy a snapshot of kernel device tree .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 13n -.rt Snapshot content specification. The possible values can be a bitwise OR of at least one of the following: .sp .ne 2 -.mk .na \fB\fBDINFOSUBTREE\fR\fR .ad .RS 16n -.rt Include subtree. .RE .sp .ne 2 -.mk .na \fB\fBDINFOPROP\fR\fR .ad .RS 16n -.rt Include properties. .RE .sp .ne 2 -.mk .na \fB\fBDINFOMINOR\fR\fR .ad .RS 16n -.rt Include minor node data. .RE .sp .ne 2 -.mk .na \fB\fBDINFOCPYALL\fR\fR .ad .RS 16n -.rt Include all of the above. .RE .sp .ne 2 -.mk .na \fB\fBDINFOPATH\fR\fR .ad .RS 16n -.rt Include multipath path node data. .RE .sp .ne 2 -.mk .na \fB\fBDINFOLYR\fR\fR .ad .RS 16n -.rt Include device layering data. .RE .sp .ne 2 -.mk .na \fB\fBDINFOCPYONE\fR\fR .ad .RS 16n -.rt Include only a single node without properties, minor nodes, or path nodes. .RE @@ -112,24 +96,20 @@ Include only a single node without properties, minor nodes, or path nodes. .sp .ne 2 -.mk .na \fB\fIphys_path\fR\fR .ad .RS 13n -.rt Physical path of the \fIroot\fR device node of the snapshot. See \fBdi_devfs_path\fR(3DEVINFO). .RE .sp .ne 2 -.mk .na \fB\fIroot\fR\fR .ad .RS 13n -.rt Handle obtained by calling \fBdi_init()\fR. .RE @@ -157,35 +137,29 @@ also be set by \fBopen\fR(2), \fBioctl\fR(2) or \fBmmap\fR(2). The most common error codes include: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 10n -.rt Insufficient privilege for accessing device configuration data. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 10n -.rt Either the device named by \fIphys_path\fR is not present in the system, or the \fBdevinfo\fR(7D) driver is not installed properly. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Either \fIphys_path\fR is incorrectly formed or the \fIflags\fR argument is invalid. .RE @@ -209,7 +183,7 @@ device tree device node names: #include <stdio.h> #include <libdevinfo.h> -int +int prt_nodename(di_node_t node, void *arg) { printf("%s\en", di_node_name(node)); @@ -299,15 +273,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_link_next_by_node.3devinfo b/usr/src/man/man3devinfo/di_link_next_by_node.3devinfo index af3b893749..d6f23903c3 100644 --- a/usr/src/man/man3devinfo/di_link_next_by_node.3devinfo +++ b/usr/src/man/man3devinfo/di_link_next_by_node.3devinfo @@ -3,14 +3,14 @@ .\" 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] -.TH di_link_next_by_node 3DEVINFO "12 Jul 2004" "SunOS 5.11" "Device Information Library Functions" +.TH DI_LINK_NEXT_BY_NODE 3DEVINFO "Jul 12, 2004" .SH NAME di_link_next_by_node, di_link_next_by_lnode \- libdevinfo link traversal functions .SH SYNOPSIS .LP .nf -cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\&.\|.\|. ] +cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\&.\|.\|. ] #include <libdevinfo.h> \fBdi_link_t\fR \fBdi_link_next_by_node\fR(\fBdi_lnode_t\fR \fInode\fR, \fBdi_link_t\fR \fIlink\fR, @@ -26,46 +26,38 @@ cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\& .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlink\fR\fR .ad .RS 12n -.rt The handle to the current the link or \fBDI_LINK_NIL\fR. .RE .sp .ne 2 -.mk .na \fB\fIendpoint\fR\fR .ad .RS 12n -.rt Specify which endpoint of the link the node or lnode should correspond to, either \fBDI_LINK_TGT\fR or \fBDI_LINK_SRC\fR. .RE .sp .ne 2 -.mk .na \fB\fInode\fR\fR .ad .RS 12n -.rt The device node with which the link is associated. .RE .sp .ne 2 -.mk .na \fB\fIlnode\fR\fR .ad .RS 12n -.rt The lnode with which the link is associated. .RE @@ -94,23 +86,19 @@ The \fBdi_link_next_by_node()\fR and \fBdi_link_next_by_lnode()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt An argument is invalid. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 10n -.rt The end of the link list has been reached. .RE @@ -119,12 +107,10 @@ The end of the link list has been reached. The \fBdi_link_next_by_node()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt Device usage information is not available in snapshot. .RE @@ -136,15 +122,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_link_spectype.3devinfo b/usr/src/man/man3devinfo/di_link_spectype.3devinfo index f594fa2604..6a12e602f0 100644 --- a/usr/src/man/man3devinfo/di_link_spectype.3devinfo +++ b/usr/src/man/man3devinfo/di_link_spectype.3devinfo @@ -3,13 +3,13 @@ .\" 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] -.TH di_link_spectype 3DEVINFO "22 Mar 2004" "SunOS 5.11" "Device Information Library Functions" +.TH DI_LINK_SPECTYPE 3DEVINFO "Mar 22, 2004" .SH NAME di_link_spectype, di_link_to_lnode \- return libdevinfo link information .SH SYNOPSIS .LP .nf -cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\&.\|.\|. ] +cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\&.\|.\|. ] #include <libdevinfo.h> \fBint\fR \fBdi_link_spectype\fR(\fBdi_link_t\fR \fIlink\fR); @@ -23,23 +23,19 @@ cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\& .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlink\fR\fR .ad .RS 12n -.rt A handle to a link. .RE .sp .ne 2 -.mk .na \fB\fIendpoint\fR\fR .ad .RS 12n -.rt specifies the endpoint of the link, which should correspond to either \fBDI_LINK_TGT\fR or \fBDI_LINK_SRC\fR .RE @@ -70,12 +66,10 @@ indicate the error. The \fBdi_link_to_lnode()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt An argument is invalid. .RE @@ -87,15 +81,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_lnode_name.3devinfo b/usr/src/man/man3devinfo/di_lnode_name.3devinfo index 41b95ef0c6..4374601545 100644 --- a/usr/src/man/man3devinfo/di_lnode_name.3devinfo +++ b/usr/src/man/man3devinfo/di_lnode_name.3devinfo @@ -3,14 +3,14 @@ .\" 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] -.TH di_lnode_name 3DEVINFO "22 Mar 2004" "SunOS 5.11" "Device Information Library Functions" +.TH DI_LNODE_NAME 3DEVINFO "Mar 22, 2004" .SH NAME di_lnode_name, di_lnode_devinfo, di_lnode_devt \- return libdevinfo lnode information .SH SYNOPSIS .LP .nf -cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\&.\|.\|. ] +cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\&.\|.\|. ] #include <libdevinfo.h> \fBchar *\fR\fBdi_lnode_name\fR(\fBdi_lnode_t\fR \fIlnode\fR); @@ -29,23 +29,19 @@ cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\& .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlnode\fR\fR .ad .RS 9n -.rt A handle to an lnode. .RE .sp .ne 2 -.mk .na \fB\fIdevt\fR\fR .ad .RS 9n -.rt A pointer to a \fBdev_t\fR that can be returned. .RE @@ -85,12 +81,10 @@ does not exist and sets \fBerrno\fR to indicate the error. The \fBdi_lnode_devt()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt An argument was invalid. .RE @@ -102,15 +96,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_lnode_next.3devinfo b/usr/src/man/man3devinfo/di_lnode_next.3devinfo index 794d533cb6..a287975652 100644 --- a/usr/src/man/man3devinfo/di_lnode_next.3devinfo +++ b/usr/src/man/man3devinfo/di_lnode_next.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_lnode_next 3DEVINFO "22 Mar 2004" "SunOS 5.11" "Device Information Library Functions" +.TH DI_LNODE_NEXT 3DEVINFO "Mar 22, 2004" .SH NAME di_lnode_next \- libdevinfo lnode traversal function .SH SYNOPSIS @@ -18,23 +18,19 @@ cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\& .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInode\fR\fR .ad .RS 9n -.rt A handle to a di_node. .RE .sp .ne 2 -.mk .na \fB\fIlnode\fR\fR .ad .RS 9n -.rt A handle to an lnode. .RE @@ -55,34 +51,28 @@ Upon successful completion, a handle to an lnode is returned. Otherwise, The \fBdi_lnode_next()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt An argument is invalid. .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt Device usage information is not available in snapshot. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 11n -.rt The end of the lnode list has been reached. .RE @@ -94,15 +84,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_minor_devt.3devinfo b/usr/src/man/man3devinfo/di_minor_devt.3devinfo index 43d716c3d8..d54a974335 100644 --- a/usr/src/man/man3devinfo/di_minor_devt.3devinfo +++ b/usr/src/man/man3devinfo/di_minor_devt.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_minor_devt 3DEVINFO "1 Dec 1998" "SunOS 5.11" "Device Information Library Functions" +.TH DI_MINOR_DEVT 3DEVINFO "Dec 1, 1998" .SH NAME di_minor_devt, di_minor_name, di_minor_nodetype, di_minor_spectype \- return libdevinfo minor node information @@ -34,12 +34,10 @@ libdevinfo minor node information .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIminor\fR\fR .ad .RS 9n -.rt A handle to minor data node. .RE @@ -79,15 +77,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_minor_next.3devinfo b/usr/src/man/man3devinfo/di_minor_next.3devinfo index 979692e9ed..0cee0b2999 100644 --- a/usr/src/man/man3devinfo/di_minor_next.3devinfo +++ b/usr/src/man/man3devinfo/di_minor_next.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_minor_next 3DEVINFO "1 Dec 1998" "SunOS 5.11" "Device Information Library Functions" +.TH DI_MINOR_NEXT 3DEVINFO "Dec 1, 1998" .SH NAME di_minor_next \- libdevinfo minor node traversal functions .SH SYNOPSIS @@ -18,23 +18,19 @@ di_minor_next \- libdevinfo minor node traversal functions .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIminor\fR\fR .ad .RS 9n -.rt Handle to the current minor node or \fBDI_MINOR_NIL\fR. .RE .sp .ne 2 -.mk .na \fB\fInode\fR\fR .ad .RS 9n -.rt Device node with which the minor node is associated. .RE @@ -56,34 +52,28 @@ the error. The \fBdi_minor_next()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt Invalid argument. .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt Minor node information is not available in snapshot. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 11n -.rt End of minor node list. .RE @@ -95,15 +85,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_node_private_set.3devinfo b/usr/src/man/man3devinfo/di_node_private_set.3devinfo index 65ec96d8c9..e459b334e7 100644 --- a/usr/src/man/man3devinfo/di_node_private_set.3devinfo +++ b/usr/src/man/man3devinfo/di_node_private_set.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_node_private_set 3DEVINFO "15 May 2008" "SunOS 5.11" "Device Information Library Functions" +.TH DI_NODE_PRIVATE_SET 3DEVINFO "May 15, 2008" .SH NAME di_node_private_set, di_node_private_get, di_path_private_set, di_path_private_get, di_minor_private_set, di_minor_private_get, @@ -66,67 +66,55 @@ cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\& .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInode\fR\fR .ad .RS 9n -.rt The handle to a devinfo node in a \fBdi_init\fR(3DEVINFO) snapshot. .RE .sp .ne 2 -.mk .na \fB\fIpath\fR\fR .ad .RS 9n -.rt The handle to a path node in a snapshot. .RE .sp .ne 2 -.mk .na \fB\fIminor\fR\fR .ad .RS 9n -.rt The handle to a minor node in a snapshot. .RE .sp .ne 2 -.mk .na \fB\fIlink\fR\fR .ad .RS 9n -.rt The handle to a link in a snapshot. .RE .sp .ne 2 -.mk .na \fB\fIlnode\fR\fR .ad .RS 9n -.rt The handle to an lnode in a snapshot. .RE .sp .ne 2 -.mk .na \fB\fIdata\fR\fR .ad .RS 9n -.rt A pointer to caller-specific data. .RE @@ -211,15 +199,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_path_bus_addr.3devinfo b/usr/src/man/man3devinfo/di_path_bus_addr.3devinfo index 111b10fed6..54e1e47dec 100644 --- a/usr/src/man/man3devinfo/di_path_bus_addr.3devinfo +++ b/usr/src/man/man3devinfo/di_path_bus_addr.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_path_bus_addr 3DEVINFO "15 May 2008" "SunOS 5.11" "Device Information Library Functions" +.TH DI_PATH_BUS_ADDR 3DEVINFO "May 15, 2008" .SH NAME di_path_bus_addr, di_path_client_node, di_path_instance, di_path_node_name, di_path_phci_node, di_path_state \- return libdevinfo path node information @@ -44,12 +44,10 @@ di_path_phci_node, di_path_state \- return libdevinfo path node information .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIpath\fR\fR .ad .RS 8n -.rt The handle to a path node in a \fBdi_init\fR(3DEVINFO) snapshot. .RE @@ -93,7 +91,6 @@ The \fBdi_path_state()\fR function returns the state of an I/O path. This function may return one of the following values: .sp .ne 2 -.mk .na \fB\fBDI_PATH_STATE_ONLINE\fR\fR .ad @@ -105,7 +102,6 @@ routed through this path. .sp .ne 2 -.mk .na \fB\fBDI_PATH_STATE_OFFLINE\fR\fR .ad @@ -116,7 +112,6 @@ Identifies that the \fBpath_info\fR node is in offline state. .sp .ne 2 -.mk .na \fB\fBDI_PATH_STATE_FAULT\fR\fR .ad @@ -128,7 +123,6 @@ I/O operations. .sp .ne 2 -.mk .na \fB\fBDI_PATH_STATE_STANDBY\fR\fR .ad @@ -146,15 +140,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_path_client_next_path.3devinfo b/usr/src/man/man3devinfo/di_path_client_next_path.3devinfo index 93b8616c82..0a66174c4b 100644 --- a/usr/src/man/man3devinfo/di_path_client_next_path.3devinfo +++ b/usr/src/man/man3devinfo/di_path_client_next_path.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_path_client_next_path 3DEVINFO "15 May 2008" "SunOS 5.11" "Device Information Library Functions" +.TH DI_PATH_CLIENT_NEXT_PATH 3DEVINFO "May 15, 2008" .SH NAME di_path_client_next_path, di_path_phci_next_path \- libdevinfo path node traversal functions @@ -26,12 +26,10 @@ traversal functions .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInode\fR\fR .ad .RS 8n -.rt The handle to a device node in a \fBdi_init\fR(3DEVINFO) snapshot. For \fBdi_path_client_next_path()\fR, \fInode\fR must be a client device node. For \fBdi_path_phci_next_path()\fR, \fInode\fR must be a pHCI device node. @@ -39,12 +37,10 @@ The handle to a device node in a \fBdi_init\fR(3DEVINFO) snapshot. For .sp .ne 2 -.mk .na \fB\fIpath\fR\fR .ad .RS 8n -.rt \fBDI_PATH_NIL\fR, or the handle to a path node in a snapshot. .RE @@ -90,34 +86,28 @@ error. These functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt One or more argument was invalid. .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt Path node information is not available in the snapshot. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 11n -.rt The end of the path node list was reached. .RE @@ -129,15 +119,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_path_prop_bytes.3devinfo b/usr/src/man/man3devinfo/di_path_prop_bytes.3devinfo index beaf5e1338..6cb08def24 100644 --- a/usr/src/man/man3devinfo/di_path_prop_bytes.3devinfo +++ b/usr/src/man/man3devinfo/di_path_prop_bytes.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_path_prop_bytes 3DEVINFO "15 May 2008" "SunOS 5.11" "Device Information Library Functions" +.TH DI_PATH_PROP_BYTES 3DEVINFO "May 15, 2008" .SH NAME di_path_prop_bytes, di_path_prop_ints, di_path_prop_int64s, di_path_prop_name, di_path_prop_strings, di_path_prop_type \- access path property information @@ -44,23 +44,19 @@ di_path_prop_strings, di_path_prop_type \- access path property information .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIprop\fR\fR .ad .RS 13n -.rt A handle to a property returned by \fBdi_path_prop_next\fR(3DEVINFO). .RE .sp .ne 2 -.mk .na \fB\fIprop_data\fR\fR .ad .RS 13n -.rt For \fBdi_path_prop_bytes()\fR, the address of a pointer to an unsigned character. .sp @@ -89,45 +85,37 @@ excluding \fBDI_PROP_TYPE_UNKNOWN\fR and \fBDI_PROP_UNDEFINED\fR. Thus, \fBdi_path_prop_type()\fR can return one of the following constants: .sp .ne 2 -.mk .na \fB\fBDI_PROP_TYPE_INT\fR\fR .ad .RS 23n -.rt Use \fBdi_path_prop_ints()\fR to access property data. .RE .sp .ne 2 -.mk .na \fB\fBDI_PROP_TYPE_INT64\fR\fR .ad .RS 23n -.rt Use \fBdi_path_prop_int64s()\fR to access property data. .RE .sp .ne 2 -.mk .na \fB\fBDI_PROP_TYPE_STRING\fR\fR .ad .RS 23n -.rt Use \fBdi_path_prop_strings()\fR to access property data. .RE .sp .ne 2 -.mk .na \fB\fBDI_PROP_TYPE_BYTE\fR\fR .ad .RS 23n -.rt Use \fBdi_path_prop_bytes()\fR to access property data. .RE @@ -186,35 +174,29 @@ Description. These functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt One of the arguments is invalid. For example, the property type does not match the interface. .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt The snapshot contains no property information. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 11n -.rt The path property does not exist. .RE @@ -226,15 +208,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_path_prop_lookup_bytes.3devinfo b/usr/src/man/man3devinfo/di_path_prop_lookup_bytes.3devinfo index 493ed4c848..1b102b2e6f 100644 --- a/usr/src/man/man3devinfo/di_path_prop_lookup_bytes.3devinfo +++ b/usr/src/man/man3devinfo/di_path_prop_lookup_bytes.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_path_prop_lookup_bytes 3DEVINFO "15 May 2008" "SunOS 5.11" "Device Information Library Functions" +.TH DI_PATH_PROP_LOOKUP_BYTES 3DEVINFO "May 15, 2008" .SH NAME di_path_prop_lookup_bytes, di_path_prop_lookup_int64s, di_path_prop_lookup_ints, di_path_prop_lookup_strings \- search for a path @@ -39,34 +39,28 @@ property .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIpath\fR\fR .ad .RS 13n -.rt The handle to a path node in a \fBdi_init\fR(3DEVINFO). .RE .sp .ne 2 -.mk .na \fB\fIprop_name\fR\fR .ad .RS 13n -.rt The name of property for which to search. .RE .sp .ne 2 -.mk .na \fB\fIprop_data\fR\fR .ad .RS 13n -.rt For \fBdi_path_prop_lookup_bytes()\fR, the address to a pointer to an array of unsigned characters containing the property data. .sp @@ -100,34 +94,28 @@ Otherwise, -1 is returned and \fBerrno\fR is set to indicate the error. These functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt One of the arguments is invalid. .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt The snapshot contains no property information. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 11n -.rt The path property does not exist. .RE @@ -139,15 +127,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_path_prop_next.3devinfo b/usr/src/man/man3devinfo/di_path_prop_next.3devinfo index fda9c90bf0..0b644c81cd 100644 --- a/usr/src/man/man3devinfo/di_path_prop_next.3devinfo +++ b/usr/src/man/man3devinfo/di_path_prop_next.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_path_prop_next 3DEVINFO "15 May 2008" "SunOS 5.11" "Device Information Library Functions" +.TH DI_PATH_PROP_NEXT 3DEVINFO "May 15, 2008" .SH NAME di_path_prop_next \- libdevinfo path property traversal function .SH SYNOPSIS @@ -19,23 +19,19 @@ di_path_prop_next \- libdevinfo path property traversal function .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIpath\fR\fR .ad .RS 8n -.rt The handle to a path node in a \fBdi_init\fR(3DEVINFO). .RE .sp .ne 2 -.mk .na \fB\fIprop\fR\fR .ad .RS 8n -.rt The handle to a property. .RE @@ -57,35 +53,29 @@ is set to indicate the error. The \fBdi_prop_next()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt An argument is invalid. .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt The snapshot does not contain path property information (\fBDINFOPROP\fR was not passed to \fBdi_init()\fR). .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 11n -.rt There are no more properties. .RE @@ -97,15 +87,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_prom_init.3devinfo b/usr/src/man/man3devinfo/di_prom_init.3devinfo index 7601b7605d..e1a93b7bda 100644 --- a/usr/src/man/man3devinfo/di_prom_init.3devinfo +++ b/usr/src/man/man3devinfo/di_prom_init.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_prom_init 3DEVINFO "1 Dec 1998" "SunOS 5.11" "Device Information Library Functions" +.TH DI_PROM_INIT 3DEVINFO "Dec 1, 1998" .SH NAME di_prom_init, di_prom_fini \- create and destroy a handle to the PROM device information @@ -24,12 +24,10 @@ information .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIph\fR\fR .ad .RS 6n -.rt Handle to \fBprom\fR returned by \fBdi_prom_init()\fR. .RE @@ -65,15 +63,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_prom_prop_data.3devinfo b/usr/src/man/man3devinfo/di_prom_prop_data.3devinfo index ad4ab0f233..78f793a008 100644 --- a/usr/src/man/man3devinfo/di_prom_prop_data.3devinfo +++ b/usr/src/man/man3devinfo/di_prom_prop_data.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_prom_prop_data 3DEVINFO "1 Dec 1998" "SunOS 5.11" "Device Information Library Functions" +.TH DI_PROM_PROP_DATA 3DEVINFO "Dec 1, 1998" .SH NAME di_prom_prop_data, di_prom_prop_next, di_prom_prop_name \- access PROM device information @@ -30,45 +30,37 @@ information .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInode\fR\fR .ad .RS 13n -.rt Handle to a device node in the snapshot of kernel device tree. .RE .sp .ne 2 -.mk .na \fB\fIph\fR\fR .ad .RS 13n -.rt \fBPROM\fR handle .RE .sp .ne 2 -.mk .na \fB\fIprom_prop\fR\fR .ad .RS 13n -.rt Handle to a \fBPROM\fR property. .RE .sp .ne 2 -.mk .na \fB\fIprop_data\fR\fR .ad .RS 13n -.rt Address of a pointer. .RE @@ -119,15 +111,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_prom_prop_lookup_bytes.3devinfo b/usr/src/man/man3devinfo/di_prom_prop_lookup_bytes.3devinfo index b9334c5b74..f4fe4fe489 100644 --- a/usr/src/man/man3devinfo/di_prom_prop_lookup_bytes.3devinfo +++ b/usr/src/man/man3devinfo/di_prom_prop_lookup_bytes.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_prom_prop_lookup_bytes 3DEVINFO "1 Dec 1998" "SunOS 5.11" "Device Information Library Functions" +.TH DI_PROM_PROP_LOOKUP_BYTES 3DEVINFO "Dec 1, 1998" .SH NAME di_prom_prop_lookup_bytes, di_prom_prop_lookup_ints, di_prom_prop_lookup_strings \- search for a PROM property @@ -32,34 +32,28 @@ di_prom_prop_lookup_strings \- search for a PROM property .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInode\fR\fR .ad .RS 13n -.rt Handle to device node in snapshot created by \fBdi_init\fR(3DEVINFO). .RE .sp .ne 2 -.mk .na \fB\fIph\fR\fR .ad .RS 13n -.rt Handle returned by \fBdi_prom_init\fR(3DEVINFO). .RE .sp .ne 2 -.mk .na \fB\fIprop_data\fR\fR .ad .RS 13n -.rt For \fBdi_prom_prop_lookup_bytes()\fR, the address of a pointer to an array of unsigned characters. .sp @@ -70,12 +64,10 @@ For \fBdi_prom_prop_lookup_strings()\fR, the address of pointer to a buffer. .sp .ne 2 -.mk .na \fB\fIprop_name\fR\fR .ad .RS 13n -.rt The name of the property being searched. .RE @@ -112,23 +104,19 @@ concatenated format in the buffer. These functions will fail if:: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Invalid argument. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 10n -.rt The property does not exist. .RE @@ -140,15 +128,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_prop_bytes.3devinfo b/usr/src/man/man3devinfo/di_prop_bytes.3devinfo index e7abe9b4ac..5e7c51c525 100644 --- a/usr/src/man/man3devinfo/di_prop_bytes.3devinfo +++ b/usr/src/man/man3devinfo/di_prop_bytes.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_prop_bytes 3DEVINFO "27 Mar 2001" "SunOS 5.11" "Device Information Library Functions" +.TH DI_PROP_BYTES 3DEVINFO "Mar 27, 2001" .SH NAME di_prop_bytes, di_prop_devt, di_prop_ints, di_prop_name, di_prop_strings, di_prop_type, di_prop_int64 \- access property values and attributes @@ -49,23 +49,19 @@ di_prop_type, di_prop_int64 \- access property values and attributes .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIprop\fR\fR .ad .RS 13n -.rt Handle to a property returned by \fBdi_prop_next\fR(3DEVINFO). .RE .sp .ne 2 -.mk .na \fB\fIprop_data\fR\fR .ad .RS 13n -.rt For \fBdi_prop_bytes()\fR, the address of a pointer to an unsigned character. .sp For \fBdi_prop_ints()\fR, the address of a pointer to an integer. @@ -112,68 +108,56 @@ determines the appropriate interface to access property values. The following is a list of possible types: .sp .ne 2 -.mk .na \fB\fBDI_PROP_TYPE_BOOLEAN\fR\fR .ad .RS 25n -.rt There is no interface to call since there is no property data associated with boolean properties. The existence of the property defines a \fBTRUE\fR value. .RE .sp .ne 2 -.mk .na \fB\fBDI_PROP_TYPE_INT\fR\fR .ad .RS 25n -.rt Use \fBdi_prop_ints()\fR to access property data. .RE .sp .ne 2 -.mk .na \fB\fBDI_PROP_TYPE_INT64\fR\fR .ad .RS 25n -.rt Use \fBdi_prop_int64()\fR to access property data. .RE .sp .ne 2 -.mk .na \fB\fBDI_PROP_TYPE_STRING\fR\fR .ad .RS 25n -.rt Use \fBdi_prop_strings()\fR to access property data. .RE .sp .ne 2 -.mk .na \fB\fBDI_PROP_TYPE_BYTE\fR\fR .ad .RS 25n -.rt Use \fBdi_prop_bytes()\fR to access property data. .RE .sp .ne 2 -.mk .na -\fB\fBDI_PROP_TYPE_UNKNOWN \fR\fR +\fB\fBDI_PROP_TYPE_UNKNOWN\fR\fR .ad .RS 25n -.rt Use \fBdi_prop_bytes()\fR to access property data. Since the type of property is unknown, the caller is responsible for interpreting the contents of the data. @@ -181,12 +165,10 @@ data. .sp .ne 2 -.mk .na \fB\fBDI_PROP_TYPE_UNDEF_IT\fR\fR .ad .RS 25n -.rt The property has been undefined by the driver. No property data is available. .RE @@ -216,12 +198,10 @@ DESCRIPTION section. These functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Invalid argument. For example, the property type does not match the interface. .RE @@ -233,15 +213,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_prop_lookup_bytes.3devinfo b/usr/src/man/man3devinfo/di_prop_lookup_bytes.3devinfo index 098e6ae123..1f202fce73 100644 --- a/usr/src/man/man3devinfo/di_prop_lookup_bytes.3devinfo +++ b/usr/src/man/man3devinfo/di_prop_lookup_bytes.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_prop_lookup_bytes 3DEVINFO "26 Mar 2001" "SunOS 5.11" "Device Information Library Functions" +.TH DI_PROP_LOOKUP_BYTES 3DEVINFO "Mar 26, 2001" .SH NAME di_prop_lookup_bytes, di_prop_lookup_ints, di_prop_lookup_int64, di_prop_lookup_strings \- search for a property @@ -38,12 +38,10 @@ di_prop_lookup_strings \- search for a property .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdev\fR\fR .ad .RS 13n -.rt \fBdev_t\fR of minor node with which the property is associated. \fBDDI_DEV_T_ANY\fR is a wild card that matches all \fBdev_t\fR's, including \fBDDI_DEV_T_NONE\fR. @@ -51,23 +49,19 @@ di_prop_lookup_strings \- search for a property .sp .ne 2 -.mk .na \fB\fInode\fR\fR .ad .RS 13n -.rt Handle to the device node with which the property is associated. .RE .sp .ne 2 -.mk .na \fB\fIprop_data\fR\fR .ad .RS 13n -.rt For \fBdi_prop_lookup_bytes()\fR, the address to a pointer to an array of unsigned characters containing the property data. .sp @@ -84,12 +78,10 @@ data. .sp .ne 2 -.mk .na \fB\fIprop_name\fR\fR .ad .RS 13n -.rt Name of the property for which to search. .RE @@ -112,34 +104,28 @@ is set to indicate the error. These functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt Invalid argument. .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt The snapshot contains no property information. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 11n -.rt The property does not exist; try \fBdi_prom_prop_lookup_*()\fR. .RE @@ -151,15 +137,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_prop_next.3devinfo b/usr/src/man/man3devinfo/di_prop_next.3devinfo index e2bf1d6f1d..6b116b699d 100644 --- a/usr/src/man/man3devinfo/di_prop_next.3devinfo +++ b/usr/src/man/man3devinfo/di_prop_next.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_prop_next 3DEVINFO "1 Dec 1998" "SunOS 5.11" "Device Information Library Functions" +.TH DI_PROP_NEXT 3DEVINFO "Dec 1, 1998" .SH NAME di_prop_next \- libdevinfo property traversal function .SH SYNOPSIS @@ -18,23 +18,19 @@ di_prop_next \- libdevinfo property traversal function .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInode\fR\fR .ad .RS 8n -.rt Handle to a device node. .RE .sp .ne 2 -.mk .na \fB\fIprop\fR\fR .ad .RS 8n -.rt Handle to a property. .RE @@ -55,34 +51,28 @@ Upon successful completion, \fBdi_prop_next()\fR returns a handle. Otherwise The \fBdi_prop_next()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt Invalid argument. .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt The snapshot does not contain property information. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 11n -.rt There are no more properties. .RE @@ -94,15 +84,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_walk_link.3devinfo b/usr/src/man/man3devinfo/di_walk_link.3devinfo index 25482116c6..04b2b8a537 100644 --- a/usr/src/man/man3devinfo/di_walk_link.3devinfo +++ b/usr/src/man/man3devinfo/di_walk_link.3devinfo @@ -3,13 +3,13 @@ .\" 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] -.TH di_walk_link 3DEVINFO "22 Mar 2004" "SunOS 5.11" "Device Information Library Functions" +.TH DI_WALK_LINK 3DEVINFO "Mar 22, 2004" .SH NAME di_walk_link \- traverse libdevinfo links .SH SYNOPSIS .LP .nf -cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\&.\|.\|. ] +cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\&.\|.\|. ] #include <libdevinfo.h> \fBint\fR \fBdi_walk_link\fR(\fBdi_node_t\fR \fIroot\fR, \fBuint_t\fR \fIflag\fR, \fBuint_t\fR \fIendpoint\fR, \fBvoid *\fR\fIarg\fR, @@ -19,57 +19,47 @@ cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\& .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIroot\fR\fR .ad .RS 17n -.rt The handle to the root node of the subtree to visit. .RE .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 17n -.rt Specify 0. Reserved for future use. .RE .sp .ne 2 -.mk .na \fB\fIendpoint\fR\fR .ad .RS 17n -.rt Specify if the current node being visited should be the target or source of an link, either \fBDI_LINK_TGT\fR or \fBDI_LINK_SRC\fR .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 17n -.rt A pointer to caller-specific data. .RE .sp .ne 2 -.mk .na \fB\fIlink_callback\fR\fR .ad .RS 17n -.rt The caller-supplied callback function. .RE @@ -91,23 +81,19 @@ returned and \fBerrno\fR is set to indicate the error. The callback function, \fIlink_callback\fR(), can return one of the following: .sp .ne 2 -.mk .na \fB\fBDI_WALK_CONTINUE\fR\fR .ad .RS 21n -.rt Continue walking. .RE .sp .ne 2 -.mk .na \fB\fBDI_WALK_TERMINATE\fR\fR .ad .RS 21n -.rt Terminate the walk immediately. .RE @@ -117,12 +103,10 @@ Terminate the walk immediately. The \fBdi_walk_link()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt An argument is invalid. .RE @@ -134,15 +118,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_walk_lnode.3devinfo b/usr/src/man/man3devinfo/di_walk_lnode.3devinfo index 805587e137..5fd1856e4b 100644 --- a/usr/src/man/man3devinfo/di_walk_lnode.3devinfo +++ b/usr/src/man/man3devinfo/di_walk_lnode.3devinfo @@ -3,13 +3,13 @@ .\" 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] -.TH di_walk_lnode 3DEVINFO "22 Mar 2004" "SunOS 5.11" "Device Information Library Functions" +.TH DI_WALK_LNODE 3DEVINFO "Mar 22, 2004" .SH NAME di_walk_lnode \- traverse libdevinfo lnodes .SH SYNOPSIS .LP .nf -cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\&.\|.\|. ] +cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\&.\|.\|. ] #include <libdevinfo.h> \fBint\fR \fBdi_walk_lnode\fR(\fBdi_node_t\fR \fIroot\fR, \fBuint_t\fR \fIflag\fR, \fBvoid *\fR\fIarg\fR, @@ -19,45 +19,37 @@ cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldevinfo\fR [ \fIlibrary\fR\& .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIroot\fR\fR .ad .RS 18n -.rt The handle to the root node of the subtree to visit. .RE .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 18n -.rt Specify 0. Reserved for future use. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 18n -.rt A pointer to caller-specific data. .RE .sp .ne 2 -.mk .na \fB\fIlnode_callback\fR\fR .ad .RS 18n -.rt The caller-supplied callback function. .RE @@ -79,23 +71,19 @@ returned and \fBerrno\fR is set to indicate the error. The callback function \fIlnode_callback\fR() can return one of the following: .sp .ne 2 -.mk .na \fB\fBDI_WALK_CONTINUE\fR\fR .ad .RS 21n -.rt Continue walking. .RE .sp .ne 2 -.mk .na \fB\fBDI_WALK_TERMINATE\fR\fR .ad .RS 21n -.rt Terminate the walk immediately. .RE @@ -105,12 +93,10 @@ Terminate the walk immediately. The \fBdi_walk_lnode()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt An argument is invalid. .RE @@ -122,15 +108,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_walk_minor.3devinfo b/usr/src/man/man3devinfo/di_walk_minor.3devinfo index 8a17de7d77..60f87ea80a 100644 --- a/usr/src/man/man3devinfo/di_walk_minor.3devinfo +++ b/usr/src/man/man3devinfo/di_walk_minor.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_walk_minor 3DEVINFO "14 Jan 2009" "SunOS 5.11" "Device Information Library Functions" +.TH DI_WALK_MINOR 3DEVINFO "Jan 14, 2009" .SH NAME di_walk_minor \- traverse libdevinfo minor nodes .SH SYNOPSIS @@ -20,45 +20,37 @@ di_walk_minor \- traverse libdevinfo minor nodes .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 18n -.rt Pointer to caller- specific user data. .RE .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 18n -.rt Specify 0. Reserved for future use. .RE .sp .ne 2 -.mk .na \fB\fIminor\fR\fR .ad .RS 18n -.rt The minor node visited. .RE .sp .ne 2 -.mk .na \fB\fIminor_nodetype\fR\fR .ad .RS 18n -.rt A character string specifying the minor data type, which may be one of the types defined by the Solaris DDI framework, for example, \fBDDI_NT_BLOCK\fR. \fBNULL\fR matches all \fIminor_node\fR types. See @@ -67,23 +59,19 @@ types defined by the Solaris DDI framework, for example, \fBDDI_NT_BLOCK\fR. .sp .ne 2 -.mk .na \fB\fInode\fR\fR .ad .RS 18n -.rt The device node with which to the minor node is associated. .RE .sp .ne 2 -.mk .na \fB\fIroot\fR\fR .ad .RS 18n -.rt Root of subtree to visit. .RE @@ -105,23 +93,19 @@ returned and errno is set to indicate the error. The \fBminor_callback()\fR function returns one of the following: .sp .ne 2 -.mk .na \fB\fBDI_WALK_CONTINUE\fR\fR .ad .RS 21n -.rt Continue to visit subsequent minor data nodes. .RE .sp .ne 2 -.mk .na \fB\fBDI_WALK_TERMINATE\fR\fR .ad .RS 21n -.rt Terminate the walk immediately. .RE @@ -131,12 +115,10 @@ Terminate the walk immediately. The \fBdi_walk_minor()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Invalid argument. .RE @@ -148,15 +130,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3devinfo/di_walk_node.3devinfo b/usr/src/man/man3devinfo/di_walk_node.3devinfo index e06b04c699..7f18528a2b 100644 --- a/usr/src/man/man3devinfo/di_walk_node.3devinfo +++ b/usr/src/man/man3devinfo/di_walk_node.3devinfo @@ -3,7 +3,7 @@ .\" 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] -.TH di_walk_node 3DEVINFO "16 Jan 2009" "SunOS 5.11" "Device Information Library Functions" +.TH DI_WALK_NODE 3DEVINFO "Jan 16, 2009" .SH NAME di_walk_node \- traverse libdevinfo device nodes .SH SYNOPSIS @@ -26,46 +26,38 @@ specifies subsequent walking behavior. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 8n -.rt Pointer to caller-specific data. .RE .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 8n -.rt Specifies walking order, either \fBDI_WALK_CLDFIRST\fR (depth first) or \fBDI_WALK_SIBFIRST\fR (breadth first). \fBDI_WALK_CLDFIRST\fR is the default. .RE .sp .ne 2 -.mk .na \fB\fInode\fR\fR .ad .RS 8n -.rt The node being visited. .RE .sp .ne 2 -.mk .na \fB\fIroot\fR\fR .ad .RS 8n -.rt The handle to the root node of the subtree to visit. .RE @@ -79,45 +71,37 @@ is returned and \fIerrno\fR is set to indicate the error. The \fInode_callback\fR() function can return one of the following: .sp .ne 2 -.mk .na \fB\fBDI_WALK_CONTINUE\fR\fR .ad .RS 22n -.rt Continue walking. .RE .sp .ne 2 -.mk .na \fB\fBDI_WALK_PRUNESIB\fR\fR .ad .RS 22n -.rt Continue walking, but skip siblings and their child nodes. .RE .sp .ne 2 -.mk .na \fB\fBDI_WALK_PRUNECHILD\fR\fR .ad .RS 22n -.rt Continue walking, but skip subtree rooted at current node. .RE .sp .ne 2 -.mk .na \fB\fBDI_WALK_TERMINATE\fR\fR .ad .RS 22n -.rt Terminate the walk immediately. .RE @@ -127,12 +111,10 @@ Terminate the walk immediately. The \fBdi_walk_node()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Invalid argument. .RE @@ -144,15 +126,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO |