diff options
author | Richard Lowe <richlowe@richlowe.net> | 2011-10-11 16:00:17 +0100 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2011-10-11 16:00:17 +0100 |
commit | c00ed4fa5a593e8e48ded4fb5ad22ecf0348f01d (patch) | |
tree | 909f29a065a94e61f2919a39f46a243c3f5c295b /usr/src/man/man9f | |
parent | d322ce9e5e9bb437d93bf09b5354eede23491de7 (diff) | |
parent | ea3068a71489464a7cde899773f9ae3541209461 (diff) | |
download | illumos-joyent-c00ed4fa5a593e8e48ded4fb5ad22ecf0348f01d.tar.gz |
Merge branch 'master' of http://github.com/illumos/illumos-gate into gcc/upgrade
Conflicts:
usr/src/cmd/avs/dsw/iiadm.c
Diffstat (limited to 'usr/src/man/man9f')
504 files changed, 2893 insertions, 9872 deletions
diff --git a/usr/src/man/man9f/ASSERT.9f b/usr/src/man/man9f/ASSERT.9f index 56e4f16a54..21c44dbff8 100644 --- a/usr/src/man/man9f/ASSERT.9f +++ b/usr/src/man/man9f/ASSERT.9f @@ -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 ASSERT 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ASSERT 9F "Jan 16, 2006" .SH NAME ASSERT, assert \- expression verification .SH SYNOPSIS @@ -23,12 +23,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIEX\fR\fR .ad .RS 6n -.rt boolean expression. .RE diff --git a/usr/src/man/man9f/Intro.9f b/usr/src/man/man9f/Intro.9f index b79589e52b..6b31e63e6b 100644 --- a/usr/src/man/man9f/Intro.9f +++ b/usr/src/man/man9f/Intro.9f @@ -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 Intro 9F "11 Mar 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH INTRO 9F "Mar 11, 2008" .SH NAME Intro, intro \- introduction to DDI/DKI functions .SH DESCRIPTION @@ -130,97 +130,95 @@ The following table summarizes the STREAMS functions described in this section. .sp .TS -tab(); -cw(2.75i) cw(2.75i) -lw(2.75i) lw(2.75i) -. -RoutineType +c c +l l . +Routine Type _ -\fBadjmsg\fRDDI/DKI -\fBallocb\fRDDI/DKI -\fBallocb_tmpl\fRSolaris DDI -\fBbackq\fRDDI/DKI -\fBbcanput\fRDDI/DKI -\fBbcanputnext\fRDDI/DKI -\fBbufcall\fRDDI/DKI -\fBcanput\fRDDI/DKI -\fBcanputnext\fRDDI/DKI -\fBclrbuf\fRDDI/DKI -\fBcopyb\fRDDI/DKI -\fBcopymsg\fRDDI/DKI -\fBDB_BASE\fRSolaris DDI -\fBDB_LIM\fRSolaris DDI -\fBDB_REF\fRSolaris DDI -\fBDB_TYPE\fRSolaris DDI -\fBdatamsg\fRDDI/DKI -\fBdupb\fRDDI/DKI -\fBdupmsg\fRDDI/DKI -\fBenableok\fRDDI/DKI -\fBesballoc\fRDDI/DKI -\fBesbbcall\fRDDI/DKI -\fBflushband\fRDDI/DKI -\fBflushq\fRDDI/DKI -\fBfreeb\fRDDI/DKI -\fBfreemsg\fRDDI/DKI -\fBfreezestr\fRDDI/DKI -\fBgetq\fRDDI/DKI -\fBIOC_CONVER_FROM\fRSolaris DDI -\fBinsq\fRDDI/DKI -\fBlinkb\fRDDI/DKI -\fBMBLKHEAD\fRSolaris DDI -\fBMBLKIN\fRSolaris DDI -\fBMBLKL\fRSolaris DDI -\fBMBLKSIZE\fRSolaris DDI -\fBMBLKTAIL\fRSolaris DDI -\fBmcopyin\fRSolaris DDI -\fBmcopymsg\fRSolaris DDI -\fBmcopyout\fRSolaris DDI -\fBmerror\fRSolaris DDI -\fBmexchange\fRSolaris DDI -\fBmioc2ack\fRSolaris DDI -\fBmiocack\fRSolaris DDI -\fBmexchange\fRSolaris DDI -\fBmiocpullup\fRSolaris DDI -\fBmkiocb\fRSolaris DDI -\fBmsgdsize\fRDDI/DKI -\fBmsgpullup\fRDDI/DKI -\fBmsgsize\fRSolaris DDI -\fBmt-streams\fRSolaris DDI -\fBnoenable\fRDDI/DKI -\fBOTHERQ\fRDDI/DKI -\fBpullupmsg\fRDDI/DKI -\fBput\fRDDI/DKI -\fBputbq\fRDDI/DKI -\fBputctl\fRDDI/DKI -\fBputctl1\fRDDI/DKI -\fBputnext\fRDDI/DKI -\fBputnextctl\fRDDI/DKI -\fBputq\fRDDI/DKI -\fBqassociate\fRSolaris DDI -\fBqbufcall\fRSolaris DDI -\fBqenable\fRDDI/DKI -\fBqprocson\fRDDI/DKI -\fBqprocsoff\fRDDI/DKI -\fBqreply\fRDDI/DKI -\fBqsize\fRDDI/DKI -\fBqtimeout\fRSolaris DDI -\fBqunbufcall\fRSolaris DDI -\fBquntimeout\fRSolaris DDI -\fBqwait\fRSolaris DDI -\fBqwait_sig\fRSolaris DDI -\fBqwriter\fRSolaris DDI -\fBRD\fRDDI/DKI -\fBrmvb\fRDDI/DKI -\fBrmvq\fRDDI/DKI -\fBSAMESTR\fRDDI/DKI -\fBstrlog\fRDDI/DKI -\fBstrqget\fRDDI/DKI -\fBstrqset\fRDDI/DKI -\fBtestb\fRDDI/DKI -\fBunbufcall\fRDDI/DKI -\fBunfreezestr\fRDDI/DKI -\fBunlinkb\fRDDI/DKI -\fBWR\fRDDI/DKI +\fBadjmsg\fR DDI/DKI +\fBallocb\fR DDI/DKI +\fBallocb_tmpl\fR Solaris DDI +\fBbackq\fR DDI/DKI +\fBbcanput\fR DDI/DKI +\fBbcanputnext\fR DDI/DKI +\fBbufcall\fR DDI/DKI +\fBcanput\fR DDI/DKI +\fBcanputnext\fR DDI/DKI +\fBclrbuf\fR DDI/DKI +\fBcopyb\fR DDI/DKI +\fBcopymsg\fR DDI/DKI +\fBDB_BASE\fR Solaris DDI +\fBDB_LIM\fR Solaris DDI +\fBDB_REF\fR Solaris DDI +\fBDB_TYPE\fR Solaris DDI +\fBdatamsg\fR DDI/DKI +\fBdupb\fR DDI/DKI +\fBdupmsg\fR DDI/DKI +\fBenableok\fR DDI/DKI +\fBesballoc\fR DDI/DKI +\fBesbbcall\fR DDI/DKI +\fBflushband\fR DDI/DKI +\fBflushq\fR DDI/DKI +\fBfreeb\fR DDI/DKI +\fBfreemsg\fR DDI/DKI +\fBfreezestr\fR DDI/DKI +\fBgetq\fR DDI/DKI +\fBIOC_CONVER_FROM\fR Solaris DDI +\fBinsq\fR DDI/DKI +\fBlinkb\fR DDI/DKI +\fBMBLKHEAD\fR Solaris DDI +\fBMBLKIN\fR Solaris DDI +\fBMBLKL\fR Solaris DDI +\fBMBLKSIZE\fR Solaris DDI +\fBMBLKTAIL\fR Solaris DDI +\fBmcopyin\fR Solaris DDI +\fBmcopymsg\fR Solaris DDI +\fBmcopyout\fR Solaris DDI +\fBmerror\fR Solaris DDI +\fBmexchange\fR Solaris DDI +\fBmioc2ack\fR Solaris DDI +\fBmiocack\fR Solaris DDI +\fBmexchange\fR Solaris DDI +\fBmiocpullup\fR Solaris DDI +\fBmkiocb\fR Solaris DDI +\fBmsgdsize\fR DDI/DKI +\fBmsgpullup\fR DDI/DKI +\fBmsgsize\fR Solaris DDI +\fBmt-streams\fR Solaris DDI +\fBnoenable\fR DDI/DKI +\fBOTHERQ\fR DDI/DKI +\fBpullupmsg\fR DDI/DKI +\fBput\fR DDI/DKI +\fBputbq\fR DDI/DKI +\fBputctl\fR DDI/DKI +\fBputctl1\fR DDI/DKI +\fBputnext\fR DDI/DKI +\fBputnextctl\fR DDI/DKI +\fBputq\fR DDI/DKI +\fBqassociate\fR Solaris DDI +\fBqbufcall\fR Solaris DDI +\fBqenable\fR DDI/DKI +\fBqprocson\fR DDI/DKI +\fBqprocsoff\fR DDI/DKI +\fBqreply\fR DDI/DKI +\fBqsize\fR DDI/DKI +\fBqtimeout\fR Solaris DDI +\fBqunbufcall\fR Solaris DDI +\fBquntimeout\fR Solaris DDI +\fBqwait\fR Solaris DDI +\fBqwait_sig\fR Solaris DDI +\fBqwriter\fR Solaris DDI +\fBRD\fR DDI/DKI +\fBrmvb\fR DDI/DKI +\fBrmvq\fR DDI/DKI +\fBSAMESTR\fR DDI/DKI +\fBstrlog\fR DDI/DKI +\fBstrqget\fR DDI/DKI +\fBstrqset\fR DDI/DKI +\fBtestb\fR DDI/DKI +\fBunbufcall\fR DDI/DKI +\fBunfreezestr\fR DDI/DKI +\fBunlinkb\fR DDI/DKI +\fBWR\fR DDI/DKI .TE .sp @@ -230,656 +228,654 @@ The following table summarizes the functions not specific to STREAMS. .sp .TS -tab(); -cw(2.75i) cw(2.75i) -lw(2.75i) lw(2.75i) -. -RoutineType +c c +l l . +Routine Type _ -\fBASSERT\fRDDI/DKI -\fBanocancel\fRSolaris DDI -\fBaphysio\fRSolaris DDI -\fBatomic_add\fRDDI/DKI -\fBatomic_and\fRDDI/DKI -\fBatomic_bits\fRDDI/DKI -\fBatomic_cas\fRDDI/DKI -\fBatomic_dec\fRDDI/DKI -\fBatomic_inc\fRDDI/DKI -\fBatomic_ops\fRDDI/DKI -\fBatomic_or\fRDDI/DKI -\fBatomic_swap\fRDDI/DKI -\fBbcmp\fRDDI/DKI -\fBbcopy\fRDDI/DKI -\fBbioclone\fRSolaris DDI -\fBbiodone\fRDDI/DKI -\fBbiofini\fRSolaris DDI -\fBbioinit\fRSolaris DDI -\fBbiomodified\fRSolaris DDI -\fBbiosize\fRSolaris DDI -\fBbioerror\fRSolaris DDI -\fBbioreset\fRSolaris DDI -\fBbiowait\fRDDI/DKI -\fBbp_copyin\fRDDI/DKI -\fBbp_copyout\fRDDI/DKI -\fBbp_mapin\fRDDI/DKI -\fBbp_mapout\fRDDI/DKI -\fBbtop\fRDDI/DKI -\fBbtopr\fRDDI/DKI -\fBbzero\fRDDI/DKI -\fBcmn_err\fRDDI/DKI -\fBcondvar\fRSolaris DDI -\fBcopyin\fRDDI/DKI -\fBcopyout\fRDDI/DKI -\fBcsx_AccessConfigurationRegister\fRSolaris DDI -\fBcsx_ConvertSize\fRSolaris DDI -\fBcsx_ConvertSpeed\fRSolaris DDI -\fBcsx_CS_DDI_Info\fRSolaris DDI -\fBcsx_DeregisterClient\fRSolaris DDI -\fBcsx_DupHandle\fRSolaris DDI -\fBcsx_Error2Text\fRSolaris DDI -\fBcsx_Event2Text\fRSolaris DDI -\fBcsx_FreeHandle\fRSolaris DDI -\fBcsx_Get8\fRSolaris DDI -\fBcsx_GetFirstClient\fRSolaris DDI -\fBcsx_GetFirstTuple\fRSolaris DDI -\fBcsx_GetHandleOffset\fRSolaris DDI -\fBcsx_GetMappedAddr\fRSolaris DDI -\fBcsx_GetStatus\fRSolaris DDI -\fBcsx_GetTupleData\fRSolaris DDI -\fBcsx_MakeDeviceNode\fRSolaris DDI -\fBcsx_MapLogSocket\fRSolaris DDI -\fBcsx_MapMemPage\fRSolaris DDI -\fBcsx_ModifyConfiguration\fRSolaris DDI -\fBcsx_ModifyWindow\fRSolaris DDI -\fBcsx_Parse_CISTPL_BATTERY\fRSolaris DDI -\fBcsx_Parse_CISTPL_BYTEORDER\fRSolaris DDI -\fBcsx_Parse_CISTPL_CFTABLE_ENTRY\fRSolaris DDI -\fBcsx_Parse_CISTPL_CONFIG\fRSolaris DDI -\fBcsx_Parse_CISTPL_DATE\fRSolaris DDI -\fBcsx_Parse_CISTPL_DEVICE\fRSolaris DDI -\fBcsx_Parse_CISTPL_DEVICEGEO\fRSolaris DDI -\fBcsx_Parse_CISTPL_DEVICEGEO_A\fRSolaris DDI -\fBcsx_Parse_CISTPL_FORMAT\fRSolaris DDI -\fBcsx_Parse_CISTPL_FUNCE\fRSolaris DDI -\fBcsx_Parse_CISTPL_FUNCID\fRSolaris DDI -\fBcsx_Parse_CISTPL_GEOMETRY\fRSolaris DDI -\fBcsx_Parse_CISTPL_JEDEC_C\fRSolaris DDI -\fBcsx_Parse_CISTPL_LINKTARGET\fRSolaris DDI -\fBcsx_Parse_CISTPL_LONGLINK_A\fRSolaris DDI -\fBcsx_Parse_CISTPL_LONGLINK_MFC\fRSolaris DDI -\fBcsx_Parse_CISTPL_MANFID\fRSolaris DDI -\fBcsx_Parse_CISTPL_ORG\fRSolaris DDI -\fBcsx_Parse_CISTPL_SPCL\fRSolaris DDI -\fBcsx_Parse_CISTPL_SWIL\fRSolaris DDI -\fBcsx_Parse_CISTPL_VERS_1\fRSolaris DDI -\fBcsx_Parse_CISTPL_VERS_2\fRSolaris DDI -\fBcsx_ParseTuple\fRSolaris DDI -\fBcsx_Put8\fRSolaris DDI -\fBcsx_RegisterClient\fRSolaris DDI -\fBcsx_ReleaseConfiguration\fRSolaris DDI -\fBcsx_RepGet8\fRSolaris DDI -\fBcsx_RepPut8\fRSolaris DDI -\fBcsx_RequestConfiguration\fRSolaris DDI -\fBcsx_RequestIO\fRSolaris DDI -\fBcsx_RequestIRQ\fRSolaris DDI -\fBcsx_RequestSocketMask\fRSolaris DDI -\fBcsx_RequestWindow\fRSolaris DDI -\fBcsx_ResetFunction\fRSolaris DDI -\fBcsx_SetEventMask\fRSolaris DDI -\fBcsx_SetHandleOffset\fRSolaris DDI -\fBcsx_ValidateCIS\fRSolaris DDI -\fBcv_broadcast\fRSolaris DDI -\fBcv_destroy\fRSolaris DDI -\fBcv_init\fRSolaris DDI -\fBcv_signal\fRSolaris DDI -\fBcv_timedwait\fRSolaris DDI -\fBcv_wait\fRSolaris DDI -\fBcv_wait_sig\fRSolaris DDI -\fBddi_add_event_handler\fRSolaris DDI -\fBddi_add_intr\fRSolaris DDI -\fBddi_add_softintr\fRSolaris DDI -\fBddi_binding_name\fRSolaris DDI -\fBddi_btop\fRSolaris DDI -\fBddi_btopr\fRSolaris DDI -\fBddi_can_receive_sig\fRSolaris DDI -\fBddi_check_acc_handle\fRSolaris DDI -\fBddi_copyin\fRSolaris DDI -\fBddi_copyout\fRSolaris DDI -\fBddi_create_minor_node\fRSolaris DDI -\fBddi_cred\fRSolaris DDI -\fBddi_dev_is_sid\fRSolaris DDI -\fBddi_dev_nintrs\fRSolaris DDI -\fBddi_dev_nregs\fRSolaris DDI -\fBddi_dev_regsize\fRSolaris DDI -\fBddi_device_copy\fRSolaris DDI -\fBddi_device_zero\fRSolaris DDI -\fBddi_devmap_segmap\fRSolaris DDI -\fBddi_dma_addr_bind_handle\fRSolaris DDI -\fBddi_dma_addr_setup\fRSolaris DDI -\fBddi_dma_alloc_handle\fRSolaris DDI -\fBddi_dma_buf_bind_handle\fRSolaris DDI -\fBddi_dma_buf_setup\fRSolaris DDI -\fBddi_dma_burstsizes\fRSolaris DDI -\fBddi_dma_coff\fRSolaris SPARC DDI -\fBddi_dma_curwin\fRSolaris SPARC DDI -\fBddi_dma_devalign\fRSolaris DDI -\fBddi_dma_free\fRSolaris DDI -\fBddi_dma_free_handle\fRSolaris DDI -\fBddi_dma_getwin\fRSolaris DDI -\fBddi_dma_get_attr\fRSolaris DDI -\fBddi_dma_htoc\fRSolaris SPARC DDI -\fBddi_dma_mem_alloc\fRSolaris DDI -\fBddi_dma_mem_free\fRSolaris DDI -\fBddi_dma_movwin\fRSolaris SPARC DDI -\fBddi_dma_nextcookie\fRSolaris DDI -\fBddi_dma_nextseg\fRSolaris DDI -\fBddi_dma_nextwin\fRSolaris DDI -\fBddi_dma_numwin\fRSolaris DDI -\fBddi_dma_segtocookie\fRSolaris DDI -\fBddi_dma_set_sbus64\fRSolaris DDI -\fBddi_dma_setup\fRSolaris DDI -\fBddi_dma_sync\fRSolaris DDI -\fBddi_dma_unbind_handle\fRSolaris DDI -\fBddi_dmae\fRSolaris x86 DDI -\fBddi_dmae_1stparty\fRSolaris x86 DDI -\fBddi_dmae_alloc\fRSolaris x86 DDI -\fBddi_dmae_disable\fRSolaris x86 DDI -\fBddi_dmae_enable\fRSolaris x86 DDI -\fBddi_dmae_getattr\fRSolaris x86 DDI -\fBddi_dmae_getcnt\fRSolaris x86 DDI -\fBddi_dmae_getlim\fRSolaris x86 DDI -\fBddi_dmae_prog\fRSolaris x86 DDI -\fBddi_dmae_release\fRSolaris x86 DDI -\fBddi_dmae_stop\fRSolaris x86 DDI -\fBddi_driver_major\fRSolaris DDI -\fBddi_driver_name\fRSolaris DDI -\fBddi_enter_critical\fRSolaris DDI -\fBddi_exit_critical\fRSolaris DDI -\fBddi_ffs\fRSolaris DDI -\fBddi_fls\fRSolaris DDI -\fBddi_fm_acc_err_clear\fRSolaris DDI -\fBddi_fm_acc_err_get\fRSolaris DDI -\fBddi_fm_ereport_post\fRSolaris DDI -\fBddi_fm_handler_register\fRSolaris DDI -\fBddi_fm_init\fRSolaris DDI -\fBddi_fm_service_impact\fRSolaris DDI -\fBddi_get16\fRSolaris DDI -\fBddi_get32\fRSolaris DDI -\fBddi_get64\fRSolaris DDI -\fBddi_get8\fRSolaris DDI -\fBddi_get_cred\fRSolaris DDI -\fBddi_get_devstate\fRSolaris DDI -\fBddi_get_driver_private\fRSolaris DDI -\fBddi_get_eventcookie\fRSolaris DDI -\fBddi_get_iblock_cookie\fRSolaris DDI -\fBddi_get_iminor\fRSolaris DDI -\fBddi_get_instance\fRSolaris DDI -\fBddi_get_kt_did\fRSolaris DDI -\fBddi_get_lbolt\fRSolaris DDI -\fBddi_get_name\fRSolaris DDI -\fBddi_get_parent\fRSolaris DDI -\fBddi_get_pid\fRSolaris DDI -\fBddi_get_soft_iblock_cookie\fRSolaris DDI -\fBddi_get_soft_state\fRSolaris DDI -\fBddi_getb\fRSolaris DDI -\fBddi_getl\fRSolaris DDI -\fBddi_getll\fRSolaris DDI -\fBddi_getlongprop\fRSolaris DDI -\fBddi_getlongprop_buf\fRSolaris DDI -\fBddi_getprop\fRSolaris DDI -\fBddi_getproplen\fRSolaris DDI -\fBddi_getw\fRSolaris DDI -\fBddi_intr_add_handler\fRSolaris DDI -\fBddi_intr_add_softint\fRSolaris DDI -\fBddi_intr_alloc\fRSolaris DDI -\fBddi_intr_block_disable\fRSolaris DDI -\fBddi_intr_block_enable\fRSolaris DDI -\fBddi_intr_clr_mask\fRSolaris DDI -\fBddi_intr_dup_handler\fRSolaris DDI -\fBddi_intr_disable\fRSolaris DDI -\fBddi_intr_enable\fRSolaris DDI -\fBddi_intr_free\fRSolaris DDI -\fBddi_intr_get_cap\fRSolaris DDI -\fBddi_intr_get_hilevel_pri\fRSolaris DDI -\fBddi_intr_get_navail\fRSolaris DDI -\fBddi_intr_get_nintrs\fRSolaris DDI -\fBddi_intr_get_pending\fRSolaris DDI -\fBddi_intr_get_pri\fRSolaris DDI -\fBddi_intr_get_softint_pri\fRSolaris DDI -\fBddi_intr_get_supported_types\fRSolaris DDI -\fBddi_intr_remove_handler\fRSolaris DDI -\fBddi_intr_remove_softint\fRSolaris DDI -\fBddi_intr_set_cap\fRSolaris DDI -\fBddi_intr_set_mask\fRSolaris DDI -\fBddi_intr_set_pri\fRSolaris DDI -\fBddi_intr_set_softint_pri\fRSolaris DDI -\fBddi_intr_trigger_softint\fRSolaris DDI -\fBddi_io_get16\fRSolaris DDI -\fBddi_io_get32\fRSolaris DDI -\fBddi_io_get8\fRSolaris DDI -\fBddi_io_getb\fRSolaris DDI -\fBddi_io_getl\fRSolaris DDI -\fBddi_io_getw\fRSolaris DDI -\fBddi_io_put16\fRSolaris DDI -\fBddi_io_put32\fRSolaris DDI -\fBddi_io_put8\fRSolaris DDI -\fBddi_io_putb\fRSolaris DDI -\fBddi_io_putl\fRSolaris DDI -\fBddi_io_putw\fRSolaris DDI -\fBddi_io_rep_get16\fRSolaris DDI -\fBddi_io_rep_get32\fRSolaris DDI -\fBddi_io_rep_get8\fRSolaris DDI -\fBddi_io_rep_getb\fRSolaris DDI -\fBddi_io_rep_getl\fRSolaris DDI -\fBddi_io_rep_getw\fRSolaris DDI -\fBddi_io_rep_put16\fRSolaris DDI -\fBddi_io_rep_put32\fRSolaris DDI -\fBddi_io_rep_put8\fRSolaris DDI -\fBddi_io_rep_putb\fRSolaris DDI -\fBddi_io_rep_putl\fRSolaris DDI -\fBddi_io_rep_putw\fRSolaris DDI -\fBddi_iomin\fRSolaris DDI -\fBddi_iopb_alloc\fRSolaris DDI -\fBddi_iopb_free\fRSolaris DDI -\fBddi_log_sysevent\fRSolaris DDI -\fBddi_map_regs\fRSolaris DDI -\fBddi_mapdev\fRSolaris DDI -\fBddi_mapdev_intercept\fRSolaris DDI -\fBddi_mapdev_nointercept\fRSolaris DDI -\fBddi_mapdev_set_device_acc_attr\fRSolaris DDI -\fBddi_mem_alloc\fRSolaris DDI -\fBddi_mem_free\fRSolaris DDI -\fBddi_mem_get16\fRSolaris DDI -\fBddi_mem_get32\fRSolaris DDI -\fBddi_mem_get64\fRSolaris DDI -\fBddi_mem_get8\fRSolaris DDI -\fBddi_mem_getb\fRSolaris DDI -\fBddi_mem_getl\fRSolaris DDI -\fBddi_mem_getll\fRSolaris DDI -\fBddi_mem_getw\fRSolaris DDI -\fBddi_mem_put16\fRSolaris DDI -\fBddi_mem_put32\fRSolaris DDI -\fBddi_mem_put64\fRSolaris DDI -\fBddi_mem_put8\fRSolaris DDI -\fBddi_mem_putb\fRSolaris DDI -\fBddi_mem_putl\fRSolaris DDI -\fBddi_mem_putll\fRSolaris DDI -\fBddi_mem_putw\fRSolaris DDI -\fBddi_mem_rep_get16\fRSolaris DDI -\fBddi_mem_rep_get32\fRSolaris DDI -\fBddi_mem_rep_get64\fRSolaris DDI -\fBddi_mem_rep_get8\fRSolaris DDI -\fBddi_mem_rep_getb\fRSolaris DDI -\fBddi_mem_rep_getl\fRSolaris DDI -\fBddi_mem_rep_getll\fRSolaris DDI -\fBddi_mem_rep_getw\fRSolaris DDI -\fBddi_mem_rep_put16\fRSolaris DDI -\fBddi_mem_rep_put32\fRSolaris DDI -\fBddi_mem_rep_put64\fRSolaris DDI -\fBddi_mem_rep_put8\fRSolaris DDI -\fBddi_mem_rep_putb\fRSolaris DDI -\fBddi_mem_rep_putl\fRSolaris DDI -\fBddi_mem_rep_putll\fRSolaris DDI -\fBddi_mem_rep_putw\fRSolaris DDI -\fBddi_mmap_get_model\fRSolaris DDI -\fBddi_model_convert_from\fRSolaris DDI -\fBddi_modopen\fRSolaris DDI -\fBddi_no_info\fRSolaris DDI -\fBddi_node_name\fRSolaris DDI -\fBddi_peek16\fRSolaris DDI -\fBddi_peek32\fRSolaris DDI -\fBddi_peek64\fRSolaris DDI -\fBddi_peek8\fRSolaris DDI -\fBddi_peekc\fRSolaris DDI -\fBddi_peekd\fRSolaris DDI -\fBddi_peekl\fRSolaris DDI -\fBddi_peeks\fRSolaris DDI -\fBddi_periodic_add\fRSolaris DDI -\fBddi_periodic_delete\fRSolaris DDI -\fBddi_poke16\fRSolaris DDI -\fBddi_poke32\fRSolaris DDI -\fBddi_poke64\fRSolaris DDI -\fBddi_poke8\fRSolaris DDI -\fBddi_pokec\fRSolaris DDI -\fBddi_poked\fRSolaris DDI -\fBddi_pokel\fRSolaris DDI -\fBddi_pokes\fRSolaris DDI -\fBddi_prop_create\fRSolaris DDI -\fBddi_prop_exists\fRSolaris DDI -\fBddi_prop_free\fRSolaris DDI -\fBddi_prop_get_int\fRSolaris DDI -\fBddi_prop_lookup\fRSolaris DDI -\fBddi_prop_lookup_byte_array\fRSolaris DDI -\fBddi_prop_lookup_int_array\fRSolaris DDI -\fBddi_prop_lookup_string\fRSolaris DDI -\fBddi_prop_lookup_string_array\fRSolaris DDI -\fBddi_prop_modify\fRSolaris DDI -\fBddi_prop_op\fRSolaris DDI -\fBddi_prop_remove\fRSolaris DDI -\fBddi_prop_remove_all\fRSolaris DDI -\fBddi_prop_undefine\fRSolaris DDI -\fBddi_prop_update\fRSolaris DDI -\fBddi_prop_update_byte_array\fRSolaris DDI -\fBddi_prop_update_int\fRSolaris DDI -\fBddi_prop_update_int_array\fRSolaris DDI -\fBddi_prop_update_string\fRSolaris DDI -\fBddi_prop_update_string_array\fRSolaris DDI -\fBddi_ptob\fRSolaris DDI -\fBddi_put16\fRSolaris DDI -\fBddi_put32\fRSolaris DDI -\fBddi_put64\fRSolaris DDI -\fBddi_put8\fRSolaris DDI -\fBddi_putb\fRSolaris DDI -\fBddi_putl\fRSolaris DDI -\fBddi_putll\fRSolaris DDI -\fBddi_putw\fRSolaris DDI -\fBddi_regs_map_free\fRSolaris DDI -\fBddi_regs_map_setup\fRSolaris DDI -\fBddi_remove_event_handler\fRSolaris DDI -\fBddi_remove_intr\fRSolaris DDI -\fBddi_remove_minor_node\fRSolaris DDI -\fBddi_remove_softintr\fRSolaris DDI -\fBddi_removing_power\fRSolaris DDI -\fBddi_rep_get16\fRSolaris DDI -\fBddi_rep_get32\fRSolaris DDI -\fBddi_rep_get64\fRSolaris DDI -\fBddi_rep_get8\fRSolaris DDI -\fBddi_rep_getb\fRSolaris DDI -\fBddi_rep_getl\fRSolaris DDI -\fBddi_rep_getll\fRSolaris DDI -\fBddi_rep_getw\fRSolaris DDI -\fBddi_rep_put16\fRSolaris DDI -\fBddi_rep_put32\fRSolaris DDI -\fBddi_rep_put64\fRSolaris DDI -\fBddi_rep_put8\fRSolaris DDI -\fBddi_rep_putb\fRSolaris DDI -\fBddi_rep_putl\fRSolaris DDI -\fBddi_rep_putll\fRSolaris DDI -\fBddi_rep_putw\fRSolaris DDI -\fBddi_report_dev\fRSolaris DDI -\fBddi_root_node\fRSolaris DDI -\fBddi_segmap\fRSolaris DDI -\fBddi_segmap_setup\fRSolaris DDI -\fBddi_set_driver_private\fRSolaris DDI -\fBddi_slaveonly\fRSolaris DDI -\fBddi_soft_state\fRSolaris DDI -\fBddi_soft_state_fini\fRSolaris DDI -\fBddi_soft_state_free\fRSolaris DDI -\fBddi_soft_state_init\fRSolaris DDI -\fBddi_soft_state_zalloc\fRSolaris DDI -\fBddi_strlol\fRSolaris DDI -\fBddi_strloul\fRSolaris DDI -\fBddi_trigger_softintr\fRSolaris DDI -\fBddi_umem_alloc\fRSolaris DDI -\fBddi_umem_free\fRSolaris DDI -\fBddi_umem_iosetup\fRSolaris DDI -\fBddi_umem_lock\fRSolaris DDI -\fBddi_unmap_regs\fRSolaris DDI -\fBdelay\fRDDI/DKI -\fBdevmap_default_access\fRSolaris DDI -\fBdevmap_devmem_setup\fRSolaris DDI -\fBdevmap_do_ctxmgt\fRSolaris DDI -\fBdevmap_load\fRSolaris DDI -\fBdevmap_set_ctx_timeout\fRSolaris DDI -\fBdevmap_setup\fRSolaris DDI -\fBdevmap_umem_setup\fRSolaris DDI -\fBdevmap_unload\fRSolaris DDI -\fBdisksort\fRSolaris DDI -\fBdlbindack\fRSolaris DDI -\fBdrv_getparm\fRDDI/DKI -\fBdrv_hztousec\fRDDI/DKI -\fBdrv_priv\fRDDI/DKI -\fBdrv_usectohz\fRDDI/DKI -\fBdrv_usecwait\fRDDI/DKI -\fBfree_pktiopb\fRSolaris DDI -\fBfreerbuf\fRDDI/DKI -\fBget_pktiopb\fRSolaris DDI -\fBgeterror\fRDDI/DKI -\fBgethrtime\fRDDI/DKI -\fBgetmajor\fRDDI/DKI -\fBgetminor\fRDDI/DKI -\fBgetrbuf\fRDDI/DKI -\fBgld\fRSolaris DDI -\fBhat_getkpfnum\fRDKI only -\fBid32_alloc\fRSolaris DDI -\fBinb\fRSolaris x86 DDI -\fBinl\fRSolaris x86 DDI -\fBinw\fRSolaris x86 DDI -\fBkiconv\fRSolaris DDI -\fBkiconv_close\fRSolaris DDI -\fBkiconv_open\fRSolaris DDI -\fBkiconvstr\fRSolaris DDI -\fBkmem_alloc\fRDDI/DKI -\fBkmem_cache_create\fRSolaris DDI -\fBkmem_free\fRDDI/DKI -\fBkmem_zalloc\fRDDI/DKI -\fBkstat_create\fRSolaris DDI -\fBkstat_delete\fRSolaris DDI -\fBkstat_install\fRSolaris DDI -\fBkstat_named_init\fRSolaris DDI -\fBkstat_queue\fRSolaris DDI -\fBkstat_runq_back_to_waitq\fRSolaris DDI -\fBkstat_runq_enter\fRSolaris DDI -\fBkstat_runq_exit\fRSolaris DDI -\fBkstat_waitq_enter\fRSolaris DDI -\fBkstat_waitq_exit\fRSolaris DDI -\fBkstat_waitq_to_runq\fRSolaris DDI -\fBldi_add_event_handler\fRSolaris DDI -\fBldi_aread\fRSolaris DDI -\fBldi_devmap\fRSolaris DDI -\fBldi_dump\fRSolaris DDI -\fBldi_ev_finalize\fRSolaris DDI -\fBldi_ev_get_cookie\fRSolaris DDI -\fBldi_ev_get_type\fRSolaris DDI -\fBldi_ev_notify\fRSolaris DDI -\fBldi_ev_register_callbacks\fRSolaris DDI -\fBldi_ev_remove_callbacks\fRSolaris DDI -\fBldi_get_dev\fRSolaris DDI -\fBldi_get_eventcookie\fRSolaris DDI -\fBldi_get_size\fRSolaris DDI -\fBldi_ident_from_dev\fRSolaris DDI -\fBldi_ioctl\fRSolaris DDI -\fBldi_open_by_dev\fRSolaris DDI -\fBldi_poll\fRSolaris DDI -\fBldi_prop_exists\fRSolaris DDI -\fBldi_prop_get_int\fRSolaris DDI -\fBldi_prop_get_lookup_int_array\fRSolaris DDI -\fBldi_putmsg\fRSolaris DDI -\fBldi_read\fRSolaris DDI -\fBldi_remove_event_handler\fRSolaris DDI -\fBldi_strategy\fRSolaris DDI -\fBmakecom_g0\fRSolaris DDI -\fBmakecom_g0_s\fRSolaris DDI -\fBmakecom_g1\fRSolaris DDI -\fBmakecom_g5\fRSolaris DDI -\fBmakedevice\fRDDI/DKI -\fBmax\fRDDI/DKI -\fBmax\fRDDI/DKI -\fBmembar_ops\fRSolaris DDI -\fBmemchr\fRSolaris DDI -\fBminphys\fRSolaris DDI -\fBmod_info\fRSolaris DDI -\fBmod_install\fRSolaris DDI -\fBmod_remove\fRSolaris DDI -\fBmutex_destroy\fRSolaris DDI -\fBmutex_enter\fRSolaris DDI -\fBmutex_exit\fRSolaris DDI -\fBmutex_init\fRSolaris DDI -\fBmutex_owned\fRSolaris DDI -\fBmutex_tryenter\fRSolaris DDI -\fBnochpoll\fRSolaris DDI -\fBnodev\fRDDI/DKI -\fBnulldev\fRDDI/DKI -\fBnumtos\fRSolaris DDI -\fBnvlist_add_boolean\fRSolaris DDI -\fBnvlist_alloc\fRSolaris DDI -\fBnvlist_lookup_boolean\fRSolaris DDI -\fBnvlist_lookup_nvpair\fRSolaris DDI -\fBnvlist_next_nvpair\fRSolaris DDI -\fBnvlist_remove\fRSolaris DDI -\fBnvlist_value_byte\fRSolaris DDI -\fBoutb\fRSolaris x86 DDI -\fBoutl\fRSolaris x86 DDI -\fBoutw\fRSolaris x86 DDI -\fBpci_config_get16\fRSolaris DDI -\fBpci_config_get32\fRSolaris DDI -\fBpci_config_get64\fRSolaris DDI -\fBpci_config_get8\fRSolaris DDI -\fBpci_config_getb\fRSolaris DDI -\fBpci_config_getl\fRSolaris DDI -\fBpci_config_getw\fRSolaris DDI -\fBpci_config_put16\fRSolaris DDI -\fBpci_config_put32\fRSolaris DDI -\fBpci_config_put64\fRSolaris DDI -\fBpci_config_put8\fRSolaris DDI -\fBpci_config_putb\fRSolaris DDI -\fBpci_config_putl\fRSolaris DDI -\fBpci_config_putw\fRSolaris DDI -\fBpci_config_setup\fRSolaris DDI -\fBpci_config_teardown\fRSolaris DDI -\fBpci_ereport_setup\fRSolaris DDI -\fBpci_report_pmcap\fRSolaris DDI -\fBpci_save_config_regs\fRSolaris DDI -\fBphysio\fRSolaris DDI -\fBpm_busy_component\fRSolaris DDI -\fBpm_power_has_changed\fRSolaris DDI -\fBpm_raise_power\fRSolaris DDI -\fBpm_trans_check\fRSolaris DDI -\fBpollwakeup\fRDDI/DKI -\fBpci_config_teardown\fRSolaris DDI -\fBpci_config_teardown\fRSolaris DDI -\fBpriv_getbyname\fRSolaris DDI -\fBpriv_policy\fRSolaris DDI -\fBproc_signal\fRSolaris DDI -\fBproc_unref\fRSolaris DDI -\fBptob\fRDDI/DKI -\fBrepinsb\fRSolaris x86 DDI -\fBrepinsd\fRSolaris x86 DDI -\fBrepinsw\fRSolaris x86 DDI -\fBrepoutsb\fRSolaris x86 DDI -\fBrepoutsd\fRSolaris x86 DDI -\fBrepoutsw\fRSolaris x86 DDI -\fBrmalloc\fRDDI/DKI -\fBrmalloc_wait\fRDDI/DKI -\fBrmallocmap\fRDDI/DKI -\fBrmallocmap_wait\fRDDI/DKI -\fBrmfree\fRDDI/DKI -\fBrmfreemap\fRDDI/DKI -\fBrw_destroy\fRSolaris DDI -\fBrw_downgrade\fRSolaris DDI -\fBrw_enter\fRSolaris DDI -\fBrw_exit\fRSolaris DDI -\fBrw_init\fRSolaris DDI -\fBrw_read_locked\fRSolaris DDI -\fBrw_tryenter\fRSolaris DDI -\fBrw_tryupgrade\fRSolaris DDI -\fBscsi_abort\fRSolaris DDI -\fBscsi_alloc_consistent_buf\fRSolaris DDI -\fBscsi_cname\fRSolaris DDI -\fBscsi_destroy_pkt\fRSolaris DDI -\fBscsi_dmafree\fRSolaris DDI -\fBscsi_dmaget\fRSolaris DDI -\fBscsi_dname\fRSolaris DDI -\fBscsi_errmsg\fRSolaris DDI -\fBscsi_ext_sense_fields\fRSolaris DDI -\fBscsi_find_sense_descr\fRSolaris DDI -\fBscsi_free_consistent_buf\fRSolaris DDI -\fBscsi_get_device_type_scsi_options\fRSolaris DDI -\fBscsi_get_device_type_string\fRSolaris DDI -\fBscsi_hba_attach\fRSolaris DDI -\fBscsi_hba_attach_setup\fRSolaris DDI -\fBscsi_hba_detach\fRSolaris DDI -\fBscsi_hba_fini\fRSolaris DDI -\fBscsi_hba_init\fRSolaris DDI -\fBscsi_hba_lookup_capstr\fRSolaris DDI -\fBscsi_hba_pkt_alloc\fRSolaris DDI -\fBscsi_hba_pkt_free\fRSolaris DDI -\fBscsi_hba_probe\fRSolaris DDI -\fBscsi_hba_tran_alloc\fRSolaris DDI -\fBscsi_hba_tran_free\fRSolaris DDI -\fBscsi_ifgetcap\fRSolaris DDI -\fBscsi_ifsetcap\fRSolaris DDI -\fBscsi_init_pkt\fRSolaris DDI -\fBscsi_log\fRSolaris DDI -\fBscsi_mname\fRSolaris DDI -\fBscsi_pktalloc\fRSolaris DDI -\fBscsi_pktfree\fRSolaris DDI -\fBscsi_poll\fRSolaris DDI -\fBscsi_probe\fRSolaris DDI -\fBscsi_resalloc\fRSolaris DDI -\fBscsi_reset\fRSolaris DDI -\fBscsi_reset_notify\fRSolaris DDI -\fBscsi_resfree\fRSolaris DDI -\fBscsi_rname\fRSolaris DDI -\fBscsi_sense_key\fRSolaris DDI -\fBscsi_setup_cdb\fRSolaris DDI -\fBscsi_slave\fRSolaris DDI -\fBscsi_sname\fRSolaris DDI -\fBscsi_sync_pkt\fRSolaris DDI -\fBscsi_transport\fRSolaris DDI -\fBscsi_unprobe\fRSolaris DDI -\fBscsi_unslave\fRSolaris DDI -\fBscsi_validate_sense\fRSolaris DDI -\fBscsi_vu_errmsg\fRSolaris DDI -\fBsema_destroy\fRSolaris DDI -\fBsema_init\fRSolaris DDI -\fBsema_p\fRSolaris DDI -\fBsema_p_sig\fRSolaris DDI -\fBsema_tryp\fRSolaris DDI -\fBsema_v\fRSolaris DDI -\fBsprintf\fRSolaris DDI -\fBstoi\fRSolaris DDI -\fBstrchr\fRSolaris DDI -\fBstrcmp\fRSolaris DDI -\fBstrcpy\fRSolaris DDI -\fBstrlen\fRSolaris DDI -\fBstrncmp\fRSolaris DDI -\fBstrncpy\fRSolaris DDI -\fBSTRUCT_DECL\fRSolaris DDI -\fBswab\fRDDI/DKI -\fBtaskq\fRSolaris DDI -\fBtimeout\fRDDI/DKI -\fBu8_strcmp\fRSolaris DDI -\fBu8_textprep_str\fRSolaris DDI -\fBu8_validate\fRSolaris DDI -\fBuconv_u16tou32\fRSolaris DDI -\fBuiomove\fRDDI/DKI -\fBuntimeout\fRDDI/DKI -\fBureadc\fRDDI/DKI -\fBusb_alloc_request\fRSolaris DDI -\fBusb_client_attach\fRSolaris DDI -\fBusb_clr_feature\fRSolaris DDI -\fBusb_create_pm_components\fRSolaris DDI -\fBusb_get_addr\fRSolaris DDI -\fBusb_get_alt_if\fRSolaris DDI -\fBusb_get_cfg\fRSolaris DDI -\fBusb_get_current_frame_number\fRSolaris DDI -\fBusb_get_dev_data\fRSolaris DDI -\fBusb_get_max_pkts_per_ioc_request\fRSolaris DDI -\fBusb_get_status\fRSolaris DDI -\fBusb_get_string_desc\fRSolaris DDI -\fBusb_handle_remote_wakeup\fRSolaris DDI -\fBusb_lookup_ep_data\fRSolaris DDI -\fBusb_parse_data\fRSolaris DDI -\fBusb_pipe_bulk_xfer\fRSolaris DDI -\fBusb_pipe_close\fRSolaris DDI -\fBusb_pipe_ctrl_xfer\fRSolaris DDI -\fBusb_pipe_drain_reqs\fRSolaris DDI -\fBusb_pipe_get_max_bulk_transfer_size\fRSolaris DDI -\fBusb_pipe_get_state\fRSolaris DDI -\fBusb_pipe_intr_xfer\fRSolaris DDI -\fBusb_pipe_isoc_xfer\fRSolaris DDI -\fBusb_pipe_open\fRSolaris DDI -\fBusb_pipe_reset\fRSolaris DDI -\fBusb_pipe_set_private\fRSolaris DDI -\fBusb_register_hotplug_cbs\fRSolaris DDI -\fBusb_reset_device\fRSolaris DDI -\fBuwritec\fRDDI/DKI -\fBva_arg\fRSolaris DDI -\fBva_end\fRSolaris DDI -\fBva_start\fRSolaris DDI -\fBvcmn_err\fRDDI/DKI -\fBvsprintf\fRSolaris DDI +\fBASSERT\fR DDI/DKI +\fBanocancel\fR Solaris DDI +\fBaphysio\fR Solaris DDI +\fBatomic_add\fR DDI/DKI +\fBatomic_and\fR DDI/DKI +\fBatomic_bits\fR DDI/DKI +\fBatomic_cas\fR DDI/DKI +\fBatomic_dec\fR DDI/DKI +\fBatomic_inc\fR DDI/DKI +\fBatomic_ops\fR DDI/DKI +\fBatomic_or\fR DDI/DKI +\fBatomic_swap\fR DDI/DKI +\fBbcmp\fR DDI/DKI +\fBbcopy\fR DDI/DKI +\fBbioclone\fR Solaris DDI +\fBbiodone\fR DDI/DKI +\fBbiofini\fR Solaris DDI +\fBbioinit\fR Solaris DDI +\fBbiomodified\fR Solaris DDI +\fBbiosize\fR Solaris DDI +\fBbioerror\fR Solaris DDI +\fBbioreset\fR Solaris DDI +\fBbiowait\fR DDI/DKI +\fBbp_copyin\fR DDI/DKI +\fBbp_copyout\fR DDI/DKI +\fBbp_mapin\fR DDI/DKI +\fBbp_mapout\fR DDI/DKI +\fBbtop\fR DDI/DKI +\fBbtopr\fR DDI/DKI +\fBbzero\fR DDI/DKI +\fBcmn_err\fR DDI/DKI +\fBcondvar\fR Solaris DDI +\fBcopyin\fR DDI/DKI +\fBcopyout\fR DDI/DKI +\fBcsx_AccessConfigurationRegister\fR Solaris DDI +\fBcsx_ConvertSize\fR Solaris DDI +\fBcsx_ConvertSpeed\fR Solaris DDI +\fBcsx_CS_DDI_Info\fR Solaris DDI +\fBcsx_DeregisterClient\fR Solaris DDI +\fBcsx_DupHandle\fR Solaris DDI +\fBcsx_Error2Text\fR Solaris DDI +\fBcsx_Event2Text\fR Solaris DDI +\fBcsx_FreeHandle\fR Solaris DDI +\fBcsx_Get8\fR Solaris DDI +\fBcsx_GetFirstClient\fR Solaris DDI +\fBcsx_GetFirstTuple\fR Solaris DDI +\fBcsx_GetHandleOffset\fR Solaris DDI +\fBcsx_GetMappedAddr\fR Solaris DDI +\fBcsx_GetStatus\fR Solaris DDI +\fBcsx_GetTupleData\fR Solaris DDI +\fBcsx_MakeDeviceNode\fR Solaris DDI +\fBcsx_MapLogSocket\fR Solaris DDI +\fBcsx_MapMemPage\fR Solaris DDI +\fBcsx_ModifyConfiguration\fR Solaris DDI +\fBcsx_ModifyWindow\fR Solaris DDI +\fBcsx_Parse_CISTPL_BATTERY\fR Solaris DDI +\fBcsx_Parse_CISTPL_BYTEORDER\fR Solaris DDI +\fBcsx_Parse_CISTPL_CFTABLE_ENTRY\fR Solaris DDI +\fBcsx_Parse_CISTPL_CONFIG\fR Solaris DDI +\fBcsx_Parse_CISTPL_DATE\fR Solaris DDI +\fBcsx_Parse_CISTPL_DEVICE\fR Solaris DDI +\fBcsx_Parse_CISTPL_DEVICEGEO\fR Solaris DDI +\fBcsx_Parse_CISTPL_DEVICEGEO_A\fR Solaris DDI +\fBcsx_Parse_CISTPL_FORMAT\fR Solaris DDI +\fBcsx_Parse_CISTPL_FUNCE\fR Solaris DDI +\fBcsx_Parse_CISTPL_FUNCID\fR Solaris DDI +\fBcsx_Parse_CISTPL_GEOMETRY\fR Solaris DDI +\fBcsx_Parse_CISTPL_JEDEC_C\fR Solaris DDI +\fBcsx_Parse_CISTPL_LINKTARGET\fR Solaris DDI +\fBcsx_Parse_CISTPL_LONGLINK_A\fR Solaris DDI +\fBcsx_Parse_CISTPL_LONGLINK_MFC\fR Solaris DDI +\fBcsx_Parse_CISTPL_MANFID\fR Solaris DDI +\fBcsx_Parse_CISTPL_ORG\fR Solaris DDI +\fBcsx_Parse_CISTPL_SPCL\fR Solaris DDI +\fBcsx_Parse_CISTPL_SWIL\fR Solaris DDI +\fBcsx_Parse_CISTPL_VERS_1\fR Solaris DDI +\fBcsx_Parse_CISTPL_VERS_2\fR Solaris DDI +\fBcsx_ParseTuple\fR Solaris DDI +\fBcsx_Put8\fR Solaris DDI +\fBcsx_RegisterClient\fR Solaris DDI +\fBcsx_ReleaseConfiguration\fR Solaris DDI +\fBcsx_RepGet8\fR Solaris DDI +\fBcsx_RepPut8\fR Solaris DDI +\fBcsx_RequestConfiguration\fR Solaris DDI +\fBcsx_RequestIO\fR Solaris DDI +\fBcsx_RequestIRQ\fR Solaris DDI +\fBcsx_RequestSocketMask\fR Solaris DDI +\fBcsx_RequestWindow\fR Solaris DDI +\fBcsx_ResetFunction\fR Solaris DDI +\fBcsx_SetEventMask\fR Solaris DDI +\fBcsx_SetHandleOffset\fR Solaris DDI +\fBcsx_ValidateCIS\fR Solaris DDI +\fBcv_broadcast\fR Solaris DDI +\fBcv_destroy\fR Solaris DDI +\fBcv_init\fR Solaris DDI +\fBcv_signal\fR Solaris DDI +\fBcv_timedwait\fR Solaris DDI +\fBcv_wait\fR Solaris DDI +\fBcv_wait_sig\fR Solaris DDI +\fBddi_add_event_handler\fR Solaris DDI +\fBddi_add_intr\fR Solaris DDI +\fBddi_add_softintr\fR Solaris DDI +\fBddi_binding_name\fR Solaris DDI +\fBddi_btop\fR Solaris DDI +\fBddi_btopr\fR Solaris DDI +\fBddi_can_receive_sig\fR Solaris DDI +\fBddi_check_acc_handle\fR Solaris DDI +\fBddi_copyin\fR Solaris DDI +\fBddi_copyout\fR Solaris DDI +\fBddi_create_minor_node\fR Solaris DDI +\fBddi_cred\fR Solaris DDI +\fBddi_dev_is_sid\fR Solaris DDI +\fBddi_dev_nintrs\fR Solaris DDI +\fBddi_dev_nregs\fR Solaris DDI +\fBddi_dev_regsize\fR Solaris DDI +\fBddi_device_copy\fR Solaris DDI +\fBddi_device_zero\fR Solaris DDI +\fBddi_devmap_segmap\fR Solaris DDI +\fBddi_dma_addr_bind_handle\fR Solaris DDI +\fBddi_dma_addr_setup\fR Solaris DDI +\fBddi_dma_alloc_handle\fR Solaris DDI +\fBddi_dma_buf_bind_handle\fR Solaris DDI +\fBddi_dma_buf_setup\fR Solaris DDI +\fBddi_dma_burstsizes\fR Solaris DDI +\fBddi_dma_coff\fR Solaris SPARC DDI +\fBddi_dma_curwin\fR Solaris SPARC DDI +\fBddi_dma_devalign\fR Solaris DDI +\fBddi_dma_free\fR Solaris DDI +\fBddi_dma_free_handle\fR Solaris DDI +\fBddi_dma_getwin\fR Solaris DDI +\fBddi_dma_get_attr\fR Solaris DDI +\fBddi_dma_htoc\fR Solaris SPARC DDI +\fBddi_dma_mem_alloc\fR Solaris DDI +\fBddi_dma_mem_free\fR Solaris DDI +\fBddi_dma_movwin\fR Solaris SPARC DDI +\fBddi_dma_nextcookie\fR Solaris DDI +\fBddi_dma_nextseg\fR Solaris DDI +\fBddi_dma_nextwin\fR Solaris DDI +\fBddi_dma_numwin\fR Solaris DDI +\fBddi_dma_segtocookie\fR Solaris DDI +\fBddi_dma_set_sbus64\fR Solaris DDI +\fBddi_dma_setup\fR Solaris DDI +\fBddi_dma_sync\fR Solaris DDI +\fBddi_dma_unbind_handle\fR Solaris DDI +\fBddi_dmae\fR Solaris x86 DDI +\fBddi_dmae_1stparty\fR Solaris x86 DDI +\fBddi_dmae_alloc\fR Solaris x86 DDI +\fBddi_dmae_disable\fR Solaris x86 DDI +\fBddi_dmae_enable\fR Solaris x86 DDI +\fBddi_dmae_getattr\fR Solaris x86 DDI +\fBddi_dmae_getcnt\fR Solaris x86 DDI +\fBddi_dmae_getlim\fR Solaris x86 DDI +\fBddi_dmae_prog\fR Solaris x86 DDI +\fBddi_dmae_release\fR Solaris x86 DDI +\fBddi_dmae_stop\fR Solaris x86 DDI +\fBddi_driver_major\fR Solaris DDI +\fBddi_driver_name\fR Solaris DDI +\fBddi_enter_critical\fR Solaris DDI +\fBddi_exit_critical\fR Solaris DDI +\fBddi_ffs\fR Solaris DDI +\fBddi_fls\fR Solaris DDI +\fBddi_fm_acc_err_clear\fR Solaris DDI +\fBddi_fm_acc_err_get\fR Solaris DDI +\fBddi_fm_ereport_post\fR Solaris DDI +\fBddi_fm_handler_register\fR Solaris DDI +\fBddi_fm_init\fR Solaris DDI +\fBddi_fm_service_impact\fR Solaris DDI +\fBddi_get16\fR Solaris DDI +\fBddi_get32\fR Solaris DDI +\fBddi_get64\fR Solaris DDI +\fBddi_get8\fR Solaris DDI +\fBddi_get_cred\fR Solaris DDI +\fBddi_get_devstate\fR Solaris DDI +\fBddi_get_driver_private\fR Solaris DDI +\fBddi_get_eventcookie\fR Solaris DDI +\fBddi_get_iblock_cookie\fR Solaris DDI +\fBddi_get_iminor\fR Solaris DDI +\fBddi_get_instance\fR Solaris DDI +\fBddi_get_kt_did\fR Solaris DDI +\fBddi_get_lbolt\fR Solaris DDI +\fBddi_get_name\fR Solaris DDI +\fBddi_get_parent\fR Solaris DDI +\fBddi_get_pid\fR Solaris DDI +\fBddi_get_soft_iblock_cookie\fR Solaris DDI +\fBddi_get_soft_state\fR Solaris DDI +\fBddi_getb\fR Solaris DDI +\fBddi_getl\fR Solaris DDI +\fBddi_getll\fR Solaris DDI +\fBddi_getlongprop\fR Solaris DDI +\fBddi_getlongprop_buf\fR Solaris DDI +\fBddi_getprop\fR Solaris DDI +\fBddi_getproplen\fR Solaris DDI +\fBddi_getw\fR Solaris DDI +\fBddi_intr_add_handler\fR Solaris DDI +\fBddi_intr_add_softint\fR Solaris DDI +\fBddi_intr_alloc\fR Solaris DDI +\fBddi_intr_block_disable\fR Solaris DDI +\fBddi_intr_block_enable\fR Solaris DDI +\fBddi_intr_clr_mask\fR Solaris DDI +\fBddi_intr_dup_handler\fR Solaris DDI +\fBddi_intr_disable\fR Solaris DDI +\fBddi_intr_enable\fR Solaris DDI +\fBddi_intr_free\fR Solaris DDI +\fBddi_intr_get_cap\fR Solaris DDI +\fBddi_intr_get_hilevel_pri\fR Solaris DDI +\fBddi_intr_get_navail\fR Solaris DDI +\fBddi_intr_get_nintrs\fR Solaris DDI +\fBddi_intr_get_pending\fR Solaris DDI +\fBddi_intr_get_pri\fR Solaris DDI +\fBddi_intr_get_softint_pri\fR Solaris DDI +\fBddi_intr_get_supported_types\fR Solaris DDI +\fBddi_intr_remove_handler\fR Solaris DDI +\fBddi_intr_remove_softint\fR Solaris DDI +\fBddi_intr_set_cap\fR Solaris DDI +\fBddi_intr_set_mask\fR Solaris DDI +\fBddi_intr_set_pri\fR Solaris DDI +\fBddi_intr_set_softint_pri\fR Solaris DDI +\fBddi_intr_trigger_softint\fR Solaris DDI +\fBddi_io_get16\fR Solaris DDI +\fBddi_io_get32\fR Solaris DDI +\fBddi_io_get8\fR Solaris DDI +\fBddi_io_getb\fR Solaris DDI +\fBddi_io_getl\fR Solaris DDI +\fBddi_io_getw\fR Solaris DDI +\fBddi_io_put16\fR Solaris DDI +\fBddi_io_put32\fR Solaris DDI +\fBddi_io_put8\fR Solaris DDI +\fBddi_io_putb\fR Solaris DDI +\fBddi_io_putl\fR Solaris DDI +\fBddi_io_putw\fR Solaris DDI +\fBddi_io_rep_get16\fR Solaris DDI +\fBddi_io_rep_get32\fR Solaris DDI +\fBddi_io_rep_get8\fR Solaris DDI +\fBddi_io_rep_getb\fR Solaris DDI +\fBddi_io_rep_getl\fR Solaris DDI +\fBddi_io_rep_getw\fR Solaris DDI +\fBddi_io_rep_put16\fR Solaris DDI +\fBddi_io_rep_put32\fR Solaris DDI +\fBddi_io_rep_put8\fR Solaris DDI +\fBddi_io_rep_putb\fR Solaris DDI +\fBddi_io_rep_putl\fR Solaris DDI +\fBddi_io_rep_putw\fR Solaris DDI +\fBddi_iomin\fR Solaris DDI +\fBddi_iopb_alloc\fR Solaris DDI +\fBddi_iopb_free\fR Solaris DDI +\fBddi_log_sysevent\fR Solaris DDI +\fBddi_map_regs\fR Solaris DDI +\fBddi_mapdev\fR Solaris DDI +\fBddi_mapdev_intercept\fR Solaris DDI +\fBddi_mapdev_nointercept\fR Solaris DDI +\fBddi_mapdev_set_device_acc_attr\fR Solaris DDI +\fBddi_mem_alloc\fR Solaris DDI +\fBddi_mem_free\fR Solaris DDI +\fBddi_mem_get16\fR Solaris DDI +\fBddi_mem_get32\fR Solaris DDI +\fBddi_mem_get64\fR Solaris DDI +\fBddi_mem_get8\fR Solaris DDI +\fBddi_mem_getb\fR Solaris DDI +\fBddi_mem_getl\fR Solaris DDI +\fBddi_mem_getll\fR Solaris DDI +\fBddi_mem_getw\fR Solaris DDI +\fBddi_mem_put16\fR Solaris DDI +\fBddi_mem_put32\fR Solaris DDI +\fBddi_mem_put64\fR Solaris DDI +\fBddi_mem_put8\fR Solaris DDI +\fBddi_mem_putb\fR Solaris DDI +\fBddi_mem_putl\fR Solaris DDI +\fBddi_mem_putll\fR Solaris DDI +\fBddi_mem_putw\fR Solaris DDI +\fBddi_mem_rep_get16\fR Solaris DDI +\fBddi_mem_rep_get32\fR Solaris DDI +\fBddi_mem_rep_get64\fR Solaris DDI +\fBddi_mem_rep_get8\fR Solaris DDI +\fBddi_mem_rep_getb\fR Solaris DDI +\fBddi_mem_rep_getl\fR Solaris DDI +\fBddi_mem_rep_getll\fR Solaris DDI +\fBddi_mem_rep_getw\fR Solaris DDI +\fBddi_mem_rep_put16\fR Solaris DDI +\fBddi_mem_rep_put32\fR Solaris DDI +\fBddi_mem_rep_put64\fR Solaris DDI +\fBddi_mem_rep_put8\fR Solaris DDI +\fBddi_mem_rep_putb\fR Solaris DDI +\fBddi_mem_rep_putl\fR Solaris DDI +\fBddi_mem_rep_putll\fR Solaris DDI +\fBddi_mem_rep_putw\fR Solaris DDI +\fBddi_mmap_get_model\fR Solaris DDI +\fBddi_model_convert_from\fR Solaris DDI +\fBddi_modopen\fR Solaris DDI +\fBddi_no_info\fR Solaris DDI +\fBddi_node_name\fR Solaris DDI +\fBddi_peek16\fR Solaris DDI +\fBddi_peek32\fR Solaris DDI +\fBddi_peek64\fR Solaris DDI +\fBddi_peek8\fR Solaris DDI +\fBddi_peekc\fR Solaris DDI +\fBddi_peekd\fR Solaris DDI +\fBddi_peekl\fR Solaris DDI +\fBddi_peeks\fR Solaris DDI +\fBddi_periodic_add\fR Solaris DDI +\fBddi_periodic_delete\fR Solaris DDI +\fBddi_poke16\fR Solaris DDI +\fBddi_poke32\fR Solaris DDI +\fBddi_poke64\fR Solaris DDI +\fBddi_poke8\fR Solaris DDI +\fBddi_pokec\fR Solaris DDI +\fBddi_poked\fR Solaris DDI +\fBddi_pokel\fR Solaris DDI +\fBddi_pokes\fR Solaris DDI +\fBddi_prop_create\fR Solaris DDI +\fBddi_prop_exists\fR Solaris DDI +\fBddi_prop_free\fR Solaris DDI +\fBddi_prop_get_int\fR Solaris DDI +\fBddi_prop_lookup\fR Solaris DDI +\fBddi_prop_lookup_byte_array\fR Solaris DDI +\fBddi_prop_lookup_int_array\fR Solaris DDI +\fBddi_prop_lookup_string\fR Solaris DDI +\fBddi_prop_lookup_string_array\fR Solaris DDI +\fBddi_prop_modify\fR Solaris DDI +\fBddi_prop_op\fR Solaris DDI +\fBddi_prop_remove\fR Solaris DDI +\fBddi_prop_remove_all\fR Solaris DDI +\fBddi_prop_undefine\fR Solaris DDI +\fBddi_prop_update\fR Solaris DDI +\fBddi_prop_update_byte_array\fR Solaris DDI +\fBddi_prop_update_int\fR Solaris DDI +\fBddi_prop_update_int_array\fR Solaris DDI +\fBddi_prop_update_string\fR Solaris DDI +\fBddi_prop_update_string_array\fR Solaris DDI +\fBddi_ptob\fR Solaris DDI +\fBddi_put16\fR Solaris DDI +\fBddi_put32\fR Solaris DDI +\fBddi_put64\fR Solaris DDI +\fBddi_put8\fR Solaris DDI +\fBddi_putb\fR Solaris DDI +\fBddi_putl\fR Solaris DDI +\fBddi_putll\fR Solaris DDI +\fBddi_putw\fR Solaris DDI +\fBddi_regs_map_free\fR Solaris DDI +\fBddi_regs_map_setup\fR Solaris DDI +\fBddi_remove_event_handler\fR Solaris DDI +\fBddi_remove_intr\fR Solaris DDI +\fBddi_remove_minor_node\fR Solaris DDI +\fBddi_remove_softintr\fR Solaris DDI +\fBddi_removing_power\fR Solaris DDI +\fBddi_rep_get16\fR Solaris DDI +\fBddi_rep_get32\fR Solaris DDI +\fBddi_rep_get64\fR Solaris DDI +\fBddi_rep_get8\fR Solaris DDI +\fBddi_rep_getb\fR Solaris DDI +\fBddi_rep_getl\fR Solaris DDI +\fBddi_rep_getll\fR Solaris DDI +\fBddi_rep_getw\fR Solaris DDI +\fBddi_rep_put16\fR Solaris DDI +\fBddi_rep_put32\fR Solaris DDI +\fBddi_rep_put64\fR Solaris DDI +\fBddi_rep_put8\fR Solaris DDI +\fBddi_rep_putb\fR Solaris DDI +\fBddi_rep_putl\fR Solaris DDI +\fBddi_rep_putll\fR Solaris DDI +\fBddi_rep_putw\fR Solaris DDI +\fBddi_report_dev\fR Solaris DDI +\fBddi_root_node\fR Solaris DDI +\fBddi_segmap\fR Solaris DDI +\fBddi_segmap_setup\fR Solaris DDI +\fBddi_set_driver_private\fR Solaris DDI +\fBddi_slaveonly\fR Solaris DDI +\fBddi_soft_state\fR Solaris DDI +\fBddi_soft_state_fini\fR Solaris DDI +\fBddi_soft_state_free\fR Solaris DDI +\fBddi_soft_state_init\fR Solaris DDI +\fBddi_soft_state_zalloc\fR Solaris DDI +\fBddi_strlol\fR Solaris DDI +\fBddi_strloul\fR Solaris DDI +\fBddi_trigger_softintr\fR Solaris DDI +\fBddi_umem_alloc\fR Solaris DDI +\fBddi_umem_free\fR Solaris DDI +\fBddi_umem_iosetup\fR Solaris DDI +\fBddi_umem_lock\fR Solaris DDI +\fBddi_unmap_regs\fR Solaris DDI +\fBdelay\fR DDI/DKI +\fBdevmap_default_access\fR Solaris DDI +\fBdevmap_devmem_setup\fR Solaris DDI +\fBdevmap_do_ctxmgt\fR Solaris DDI +\fBdevmap_load\fR Solaris DDI +\fBdevmap_set_ctx_timeout\fR Solaris DDI +\fBdevmap_setup\fR Solaris DDI +\fBdevmap_umem_setup\fR Solaris DDI +\fBdevmap_unload\fR Solaris DDI +\fBdisksort\fR Solaris DDI +\fBdlbindack\fR Solaris DDI +\fBdrv_getparm\fR DDI/DKI +\fBdrv_hztousec\fR DDI/DKI +\fBdrv_priv\fR DDI/DKI +\fBdrv_usectohz\fR DDI/DKI +\fBdrv_usecwait\fR DDI/DKI +\fBfree_pktiopb\fR Solaris DDI +\fBfreerbuf\fR DDI/DKI +\fBget_pktiopb\fR Solaris DDI +\fBgeterror\fR DDI/DKI +\fBgethrtime\fR DDI/DKI +\fBgetmajor\fR DDI/DKI +\fBgetminor\fR DDI/DKI +\fBgetrbuf\fR DDI/DKI +\fBgld\fR Solaris DDI +\fBhat_getkpfnum\fR DKI only +\fBid32_alloc\fR Solaris DDI +\fBinb\fR Solaris x86 DDI +\fBinl\fR Solaris x86 DDI +\fBinw\fR Solaris x86 DDI +\fBkiconv\fR Solaris DDI +\fBkiconv_close\fR Solaris DDI +\fBkiconv_open\fR Solaris DDI +\fBkiconvstr\fR Solaris DDI +\fBkmem_alloc\fR DDI/DKI +\fBkmem_cache_create\fR Solaris DDI +\fBkmem_free\fR DDI/DKI +\fBkmem_zalloc\fR DDI/DKI +\fBkstat_create\fR Solaris DDI +\fBkstat_delete\fR Solaris DDI +\fBkstat_install\fR Solaris DDI +\fBkstat_named_init\fR Solaris DDI +\fBkstat_queue\fR Solaris DDI +\fBkstat_runq_back_to_waitq\fR Solaris DDI +\fBkstat_runq_enter\fR Solaris DDI +\fBkstat_runq_exit\fR Solaris DDI +\fBkstat_waitq_enter\fR Solaris DDI +\fBkstat_waitq_exit\fR Solaris DDI +\fBkstat_waitq_to_runq\fR Solaris DDI +\fBldi_add_event_handler\fR Solaris DDI +\fBldi_aread\fR Solaris DDI +\fBldi_devmap\fR Solaris DDI +\fBldi_dump\fR Solaris DDI +\fBldi_ev_finalize\fR Solaris DDI +\fBldi_ev_get_cookie\fR Solaris DDI +\fBldi_ev_get_type\fR Solaris DDI +\fBldi_ev_notify\fR Solaris DDI +\fBldi_ev_register_callbacks\fR Solaris DDI +\fBldi_ev_remove_callbacks\fR Solaris DDI +\fBldi_get_dev\fR Solaris DDI +\fBldi_get_eventcookie\fR Solaris DDI +\fBldi_get_size\fR Solaris DDI +\fBldi_ident_from_dev\fR Solaris DDI +\fBldi_ioctl\fR Solaris DDI +\fBldi_open_by_dev\fR Solaris DDI +\fBldi_poll\fR Solaris DDI +\fBldi_prop_exists\fR Solaris DDI +\fBldi_prop_get_int\fR Solaris DDI +\fBldi_prop_get_lookup_int_array\fR Solaris DDI +\fBldi_putmsg\fR Solaris DDI +\fBldi_read\fR Solaris DDI +\fBldi_remove_event_handler\fR Solaris DDI +\fBldi_strategy\fR Solaris DDI +\fBmakecom_g0\fR Solaris DDI +\fBmakecom_g0_s\fR Solaris DDI +\fBmakecom_g1\fR Solaris DDI +\fBmakecom_g5\fR Solaris DDI +\fBmakedevice\fR DDI/DKI +\fBmax\fR DDI/DKI +\fBmax\fR DDI/DKI +\fBmembar_ops\fR Solaris DDI +\fBmemchr\fR Solaris DDI +\fBminphys\fR Solaris DDI +\fBmod_info\fR Solaris DDI +\fBmod_install\fR Solaris DDI +\fBmod_remove\fR Solaris DDI +\fBmutex_destroy\fR Solaris DDI +\fBmutex_enter\fR Solaris DDI +\fBmutex_exit\fR Solaris DDI +\fBmutex_init\fR Solaris DDI +\fBmutex_owned\fR Solaris DDI +\fBmutex_tryenter\fR Solaris DDI +\fBnochpoll\fR Solaris DDI +\fBnodev\fR DDI/DKI +\fBnulldev\fR DDI/DKI +\fBnumtos\fR Solaris DDI +\fBnvlist_add_boolean\fR Solaris DDI +\fBnvlist_alloc\fR Solaris DDI +\fBnvlist_lookup_boolean\fR Solaris DDI +\fBnvlist_lookup_nvpair\fR Solaris DDI +\fBnvlist_next_nvpair\fR Solaris DDI +\fBnvlist_remove\fR Solaris DDI +\fBnvlist_value_byte\fR Solaris DDI +\fBoutb\fR Solaris x86 DDI +\fBoutl\fR Solaris x86 DDI +\fBoutw\fR Solaris x86 DDI +\fBpci_config_get16\fR Solaris DDI +\fBpci_config_get32\fR Solaris DDI +\fBpci_config_get64\fR Solaris DDI +\fBpci_config_get8\fR Solaris DDI +\fBpci_config_getb\fR Solaris DDI +\fBpci_config_getl\fR Solaris DDI +\fBpci_config_getw\fR Solaris DDI +\fBpci_config_put16\fR Solaris DDI +\fBpci_config_put32\fR Solaris DDI +\fBpci_config_put64\fR Solaris DDI +\fBpci_config_put8\fR Solaris DDI +\fBpci_config_putb\fR Solaris DDI +\fBpci_config_putl\fR Solaris DDI +\fBpci_config_putw\fR Solaris DDI +\fBpci_config_setup\fR Solaris DDI +\fBpci_config_teardown\fR Solaris DDI +\fBpci_ereport_setup\fR Solaris DDI +\fBpci_report_pmcap\fR Solaris DDI +\fBpci_save_config_regs\fR Solaris DDI +\fBphysio\fR Solaris DDI +\fBpm_busy_component\fR Solaris DDI +\fBpm_power_has_changed\fR Solaris DDI +\fBpm_raise_power\fR Solaris DDI +\fBpm_trans_check\fR Solaris DDI +\fBpollwakeup\fR DDI/DKI +\fBpci_config_teardown\fR Solaris DDI +\fBpci_config_teardown\fR Solaris DDI +\fBpriv_getbyname\fR Solaris DDI +\fBpriv_policy\fR Solaris DDI +\fBproc_signal\fR Solaris DDI +\fBproc_unref\fR Solaris DDI +\fBptob\fR DDI/DKI +\fBrepinsb\fR Solaris x86 DDI +\fBrepinsd\fR Solaris x86 DDI +\fBrepinsw\fR Solaris x86 DDI +\fBrepoutsb\fR Solaris x86 DDI +\fBrepoutsd\fR Solaris x86 DDI +\fBrepoutsw\fR Solaris x86 DDI +\fBrmalloc\fR DDI/DKI +\fBrmalloc_wait\fR DDI/DKI +\fBrmallocmap\fR DDI/DKI +\fBrmallocmap_wait\fR DDI/DKI +\fBrmfree\fR DDI/DKI +\fBrmfreemap\fR DDI/DKI +\fBrw_destroy\fR Solaris DDI +\fBrw_downgrade\fR Solaris DDI +\fBrw_enter\fR Solaris DDI +\fBrw_exit\fR Solaris DDI +\fBrw_init\fR Solaris DDI +\fBrw_read_locked\fR Solaris DDI +\fBrw_tryenter\fR Solaris DDI +\fBrw_tryupgrade\fR Solaris DDI +\fBscsi_abort\fR Solaris DDI +\fBscsi_alloc_consistent_buf\fR Solaris DDI +\fBscsi_cname\fR Solaris DDI +\fBscsi_destroy_pkt\fR Solaris DDI +\fBscsi_dmafree\fR Solaris DDI +\fBscsi_dmaget\fR Solaris DDI +\fBscsi_dname\fR Solaris DDI +\fBscsi_errmsg\fR Solaris DDI +\fBscsi_ext_sense_fields\fR Solaris DDI +\fBscsi_find_sense_descr\fR Solaris DDI +\fBscsi_free_consistent_buf\fR Solaris DDI +\fBscsi_get_device_type_scsi_options\fR Solaris DDI +\fBscsi_get_device_type_string\fR Solaris DDI +\fBscsi_hba_attach\fR Solaris DDI +\fBscsi_hba_attach_setup\fR Solaris DDI +\fBscsi_hba_detach\fR Solaris DDI +\fBscsi_hba_fini\fR Solaris DDI +\fBscsi_hba_init\fR Solaris DDI +\fBscsi_hba_lookup_capstr\fR Solaris DDI +\fBscsi_hba_pkt_alloc\fR Solaris DDI +\fBscsi_hba_pkt_free\fR Solaris DDI +\fBscsi_hba_probe\fR Solaris DDI +\fBscsi_hba_tran_alloc\fR Solaris DDI +\fBscsi_hba_tran_free\fR Solaris DDI +\fBscsi_ifgetcap\fR Solaris DDI +\fBscsi_ifsetcap\fR Solaris DDI +\fBscsi_init_pkt\fR Solaris DDI +\fBscsi_log\fR Solaris DDI +\fBscsi_mname\fR Solaris DDI +\fBscsi_pktalloc\fR Solaris DDI +\fBscsi_pktfree\fR Solaris DDI +\fBscsi_poll\fR Solaris DDI +\fBscsi_probe\fR Solaris DDI +\fBscsi_resalloc\fR Solaris DDI +\fBscsi_reset\fR Solaris DDI +\fBscsi_reset_notify\fR Solaris DDI +\fBscsi_resfree\fR Solaris DDI +\fBscsi_rname\fR Solaris DDI +\fBscsi_sense_key\fR Solaris DDI +\fBscsi_setup_cdb\fR Solaris DDI +\fBscsi_slave\fR Solaris DDI +\fBscsi_sname\fR Solaris DDI +\fBscsi_sync_pkt\fR Solaris DDI +\fBscsi_transport\fR Solaris DDI +\fBscsi_unprobe\fR Solaris DDI +\fBscsi_unslave\fR Solaris DDI +\fBscsi_validate_sense\fR Solaris DDI +\fBscsi_vu_errmsg\fR Solaris DDI +\fBsema_destroy\fR Solaris DDI +\fBsema_init\fR Solaris DDI +\fBsema_p\fR Solaris DDI +\fBsema_p_sig\fR Solaris DDI +\fBsema_tryp\fR Solaris DDI +\fBsema_v\fR Solaris DDI +\fBsprintf\fR Solaris DDI +\fBstoi\fR Solaris DDI +\fBstrchr\fR Solaris DDI +\fBstrcmp\fR Solaris DDI +\fBstrcpy\fR Solaris DDI +\fBstrlen\fR Solaris DDI +\fBstrncmp\fR Solaris DDI +\fBstrncpy\fR Solaris DDI +\fBSTRUCT_DECL\fR Solaris DDI +\fBswab\fR DDI/DKI +\fBtaskq\fR Solaris DDI +\fBtimeout\fR DDI/DKI +\fBu8_strcmp\fR Solaris DDI +\fBu8_textprep_str\fR Solaris DDI +\fBu8_validate\fR Solaris DDI +\fBuconv_u16tou32\fR Solaris DDI +\fBuiomove\fR DDI/DKI +\fBuntimeout\fR DDI/DKI +\fBureadc\fR DDI/DKI +\fBusb_alloc_request\fR Solaris DDI +\fBusb_client_attach\fR Solaris DDI +\fBusb_clr_feature\fR Solaris DDI +\fBusb_create_pm_components\fR Solaris DDI +\fBusb_get_addr\fR Solaris DDI +\fBusb_get_alt_if\fR Solaris DDI +\fBusb_get_cfg\fR Solaris DDI +\fBusb_get_current_frame_number\fR Solaris DDI +\fBusb_get_dev_data\fR Solaris DDI +\fBusb_get_max_pkts_per_ioc_request\fR Solaris DDI +\fBusb_get_status\fR Solaris DDI +\fBusb_get_string_desc\fR Solaris DDI +\fBusb_handle_remote_wakeup\fR Solaris DDI +\fBusb_lookup_ep_data\fR Solaris DDI +\fBusb_parse_data\fR Solaris DDI +\fBusb_pipe_bulk_xfer\fR Solaris DDI +\fBusb_pipe_close\fR Solaris DDI +\fBusb_pipe_ctrl_xfer\fR Solaris DDI +\fBusb_pipe_drain_reqs\fR Solaris DDI +\fBusb_pipe_get_max_bulk_transfer_size\fR Solaris DDI +\fBusb_pipe_get_state\fR Solaris DDI +\fBusb_pipe_intr_xfer\fR Solaris DDI +\fBusb_pipe_isoc_xfer\fR Solaris DDI +\fBusb_pipe_open\fR Solaris DDI +\fBusb_pipe_reset\fR Solaris DDI +\fBusb_pipe_set_private\fR Solaris DDI +\fBusb_register_hotplug_cbs\fR Solaris DDI +\fBusb_reset_device\fR Solaris DDI +\fBuwritec\fR DDI/DKI +\fBva_arg\fR Solaris DDI +\fBva_end\fR Solaris DDI +\fBva_start\fR Solaris DDI +\fBvcmn_err\fR DDI/DKI +\fBvsprintf\fR Solaris DDI .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/OTHERQ.9f b/usr/src/man/man9f/OTHERQ.9f index 4f672a58d7..b2d4ede1f0 100644 --- a/usr/src/man/man9f/OTHERQ.9f +++ b/usr/src/man/man9f/OTHERQ.9f @@ -4,7 +4,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 OTHERQ 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH OTHERQ 9F "Jan 16, 2006" .SH NAME OTHERQ, otherq \- get pointer to queue's partner queue .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 5n -.rt Pointer to the queue. .RE diff --git a/usr/src/man/man9f/RD.9f b/usr/src/man/man9f/RD.9f index f058521722..87ebf21435 100644 --- a/usr/src/man/man9f/RD.9f +++ b/usr/src/man/man9f/RD.9f @@ -4,7 +4,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 RD 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH RD 9F "Jan 16, 2006" .SH NAME RD, rd \- get pointer to the read queue .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (\fBDDI/DKI)\fR. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 5n -.rt Pointer to the \fBwrite\fR queue whose \fBread\fR queue is to be returned. .RE diff --git a/usr/src/man/man9f/SAMESTR.9f b/usr/src/man/man9f/SAMESTR.9f index 9f9689d6db..9c1f2bc3db 100644 --- a/usr/src/man/man9f/SAMESTR.9f +++ b/usr/src/man/man9f/SAMESTR.9f @@ -4,7 +4,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 SAMESTR 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SAMESTR 9F "Jan 16, 2006" .SH NAME SAMESTR, samestr \- test if next queue is in the same stream .SH SYNOPSIS @@ -24,12 +24,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 5n -.rt Pointer to the queue. .RE diff --git a/usr/src/man/man9f/STRUCT_DECL.9f b/usr/src/man/man9f/STRUCT_DECL.9f index 74212391af..235f0a287b 100644 --- a/usr/src/man/man9f/STRUCT_DECL.9f +++ b/usr/src/man/man9f/STRUCT_DECL.9f @@ -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 STRUCT_DECL 9F "20 May 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH STRUCT_DECL 9F "May 20, 2006" .SH NAME STRUCT_DECL, SIZEOF_PTR, SIZEOF_STRUCT, STRUCT_BUF, STRUCT_FADDR, STRUCT_FGET, STRUCT_FGETP, STRUCT_FSET, STRUCT_FSETP, STRUCT_HANDLE, STRUCT_INIT, @@ -89,24 +89,20 @@ Solaris DDI specific (Solaris DDI). The macros take the following parameters: .sp .ne 2 -.mk .na \fB\fIstructname\fR\fR .ad .RS 14n -.rt The structure name that appears \fBafter\fR the \fBC\fR keyword struct of the native form. .RE .sp .ne 2 -.mk .na \fB\fIumodel\fR\fR .ad .RS 14n -.rt A bit field that contains either the \fBILP32\fR model bit (\fBDATAMODEL_ILP32\fR), or the \fBLP64\fR model bit (\fBDATAMODEL_LP64\fR). In an \fBioctl\fR(9E), these bits are present in the flag parameter. In a @@ -117,24 +113,20 @@ current thread. .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 14n -.rt The variable name used to refer to a particular instance of a structure which is handled by these macros. .RE .sp .ne 2 -.mk .na \fB\fIfield\fR\fR .ad .RS 14n -.rt The field name within the structure that can contain substructures. If the structures contain substructures, unions, or arrays, the \fIfield\fR can be whatever complex expression would naturally follow the first . or ->. @@ -172,7 +164,6 @@ block device driver \fBioctl\fR(9E) routine that needs to copy in data from a user-mode program. .sp .ne 2 -.mk .na \fBSTRUCT_DECL(structname, handle)\fR .ad @@ -186,7 +177,6 @@ variable by this macro. .sp .ne 2 -.mk .na \fBvoid STRUCT_INIT(handle, model_t umodel)\fR .ad @@ -204,7 +194,6 @@ with \fBSTRUCT_DECL()\fR. .sp .ne 2 -.mk .na \fBSTRUCT_HANDLE(structname, handle)\fR .ad @@ -216,7 +205,6 @@ does not allocate an instance of "struct". .sp .ne 2 -.mk .na \fBvoid STRUCT_SET_HANDLE(handle, model_t umodel, void *addr)\fR .ad @@ -236,7 +224,6 @@ When used in an \fBioctl\fR(9E), \fIumodel\fR is the flag parameter. In a .SS "Operation Macros" .sp .ne 2 -.mk .na \fBsize_t STRUCT_SIZE(handle)\fR .ad @@ -251,7 +238,6 @@ form is returned. .sp .ne 2 -.mk .na \fBSTRUCT_FGET(handle, field)\fR .ad @@ -263,7 +249,6 @@ according to the data model associated with \fIhandle\fR. .sp .ne 2 -.mk .na \fBSTRUCT_FGETP(handle, field)\fR .ad @@ -277,7 +262,6 @@ failures. .sp .ne 2 -.mk .na \fBSTRUCT_FSET(handle, field, val)\fR .ad @@ -290,7 +274,6 @@ statement. .sp .ne 2 -.mk .na \fBSTRUCT_FSETP(handle, field, val)\fR .ad @@ -303,7 +286,6 @@ expression, but only as a statement. .sp .ne 2 -.mk .na \fBstruct structname *STRUCT_BUF(handle)\fR .ad @@ -316,7 +298,6 @@ Returns a pointer to the native mode instance of the structure described by .SS "Macros Not Using Handles" .sp .ne 2 -.mk .na \fBsize_t SIZEOF_STRUCT(structname, umodel)\fR .ad @@ -327,7 +308,6 @@ Returns size of \fIstructname\fR based on \fIumodel\fR. .sp .ne 2 -.mk .na \fBsize_t SIZEOF_PTR(umodel)\fR .ad @@ -472,13 +452,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/WR.9f b/usr/src/man/man9f/WR.9f index b5f5672689..1b2651a020 100644 --- a/usr/src/man/man9f/WR.9f +++ b/usr/src/man/man9f/WR.9f @@ -4,7 +4,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 WR 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH WR 9F "Jan 16, 2006" .SH NAME WR, wr \- get pointer to the write queue for this module or driver .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 5n -.rt Pointer to the \fIread\fR queue whose \fIwrite\fR queue is to be returned. .RE @@ -64,7 +62,7 @@ module-specific data structure for the minor device. .sp .in +2 .nf - + 1 xxxclose(q, flag) 2 queue_t *q; 3 int flag; diff --git a/usr/src/man/man9f/adjmsg.9f b/usr/src/man/man9f/adjmsg.9f index 5f609cf6bd..ef84bbad54 100644 --- a/usr/src/man/man9f/adjmsg.9f +++ b/usr/src/man/man9f/adjmsg.9f @@ -1,10 +1,10 @@ '\" te -.\" Copyright 1989 AT&T +.\" Copyright 1989 AT&T .\" Copyright (c) 2006, Sun Microsystems, Inc., All Rights Reserved .\" 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 adjmsg 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ADJMSG 9F "Jan 16, 2006" .SH NAME adjmsg \- trim bytes from a message .SH SYNOPSIS @@ -24,23 +24,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 7n -.rt Pointer to the message to be trimmed. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 7n -.rt The number of bytes to be removed. .RE @@ -74,23 +70,19 @@ blocks that occur within the scope of |\fIlen\fR|. The \fBadjmsg()\fR function returns: .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 5n -.rt Successful completion. .RE .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 5n -.rt An error occurred. .RE diff --git a/usr/src/man/man9f/allocb.9f b/usr/src/man/man9f/allocb.9f index 30c0dade13..dee1712720 100644 --- a/usr/src/man/man9f/allocb.9f +++ b/usr/src/man/man9f/allocb.9f @@ -5,7 +5,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 allocb 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ALLOCB 9F "Jan 16, 2006" .SH NAME allocb \- allocate a message block .SH SYNOPSIS @@ -43,45 +43,37 @@ buffer is at least double-word aligned, so it can hold any C data structure. The fields in the \fBmblk_t\fR structure are initialized as follows: .sp .ne 2 -.mk .na \fB\fBb_cont\fR\fR .ad .RS 11n -.rt set to \fINULL\fR .RE .sp .ne 2 -.mk .na \fB\fBb_rptr\fR\fR .ad .RS 11n -.rt points to the beginning of the data buffer .RE .sp .ne 2 -.mk .na \fB\fBb_wptr\fR\fR .ad .RS 11n -.rt points to the beginning of the data buffer .RE .sp .ne 2 -.mk .na \fB\fBb_datap\fR\fR .ad .RS 11n -.rt points to the \fBdblk_t\fR structure .RE @@ -90,34 +82,28 @@ points to the \fBdblk_t\fR structure The fields in the \fBdblk_t\fR structure are initialized as follows: .sp .ne 2 -.mk .na \fB\fBdb_base\fR\fR .ad .RS 11n -.rt points to the first byte of the data buffer .RE .sp .ne 2 -.mk .na \fB\fBdb_lim\fR\fR .ad .RS 11n -.rt points to the last byte + 1 of the buffer .RE .sp .ne 2 -.mk .na \fB\fBdb_type\fR\fR .ad .RS 11n -.rt set to \fBM_DATA\fR .RE @@ -131,23 +117,19 @@ members that are affected when a message block is allocated .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 8n -.rt The number of bytes in the message block. .RE .sp .ne 2 -.mk .na \fB\fIpri\fR\fR .ad .RS 8n -.rt Priority of the request (no longer used). .RE @@ -195,13 +177,13 @@ the \fBputnext\fR(9F) function is used to send the message upstream, returning 3 unsigned char err; 4 { 5 mblk_t *bp; -6 +6 7 if ((bp = allocb(1, BPRI_HI)) == NULL) /* allocate msg. block */ 8 return(0); 9 10 bp->b_datap->db_type = M_ERROR; /* set msg type to M_ERROR */ 11 *bp->b_wptr++ = err; /* increment write pointer */ -12 +12 13 if (!(q->q_flag & QREADR)) /* if not read queue */ 14 q = RD(q); /* get read queue */ 15 putnext(q,bp); /* send message upstream */ diff --git a/usr/src/man/man9f/atomic_add.9f b/usr/src/man/man9f/atomic_add.9f index 236781a98f..fbdf7ba79f 100644 --- a/usr/src/man/man9f/atomic_add.9f +++ b/usr/src/man/man9f/atomic_add.9f @@ -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 atomic_add 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ATOMIC_ADD 9F "Jan 16, 2006" .SH NAME atomic_add, atomic_add_8, atomic_add_char, atomic_add_16, atomic_add_short, atomic_add_32, atomic_add_int, atomic_add_long, atomic_add_64, atomic_add_ptr, @@ -129,13 +129,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/atomic_and.9f b/usr/src/man/man9f/atomic_and.9f index 5c8021317a..2d58b52e44 100644 --- a/usr/src/man/man9f/atomic_and.9f +++ b/usr/src/man/man9f/atomic_and.9f @@ -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 atomic_and 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ATOMIC_AND 9F "Jan 16, 2006" .SH NAME atomic_and, atomic_and_8, atomic_and_uchar, atomic_and_16, atomic_and_ushort, atomic_and_32, atomic_and_uint, atomic_and_ulong, atomic_and_64, @@ -119,13 +119,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/atomic_bits.9f b/usr/src/man/man9f/atomic_bits.9f index b76e06e271..75abf98414 100644 --- a/usr/src/man/man9f/atomic_bits.9f +++ b/usr/src/man/man9f/atomic_bits.9f @@ -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 atomic_bits 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ATOMIC_BITS 9F "Jan 16, 2006" .SH NAME atomic_bits, atomic_set_long_excl, atomic_clear_long_excl \- atomic set and clear bit operations @@ -51,13 +51,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/atomic_cas.9f b/usr/src/man/man9f/atomic_cas.9f index 69cacf0464..23c21eca9a 100644 --- a/usr/src/man/man9f/atomic_cas.9f +++ b/usr/src/man/man9f/atomic_cas.9f @@ -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 atomic_cas 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ATOMIC_CAS 9F "Jan 16, 2006" .SH NAME atomic_cas, atomic_cas_8, atomic_cas_uchar, atomic_cas_16, atomic_cas_ushort, atomic_cas_32, atomic_cas_uint, atomic_cas_ulong, atomic_cas_64, atomic_cas_ptr @@ -13,19 +13,19 @@ atomic_cas_32, atomic_cas_uint, atomic_cas_ulong, atomic_cas_64, atomic_cas_ptr .nf #include <sys/atomic.h> -\fBuint8_t\fR \fBatomic_cas_8\fR(\fBvolatile uint8_t *\fR\fItarget\fR, \fBuint8_t\fR \fIcmp\fR, \fBuint8_t\fR +\fBuint8_t\fR \fBatomic_cas_8\fR(\fBvolatile uint8_t *\fR\fItarget\fR, \fBuint8_t\fR \fIcmp\fR, \fBuint8_t\fR \fInewval\fR); .fi .LP .nf -\fBuchar_t\fR \fBatomic_cas_uchar\fR(\fBvolatile uchar_t *\fR\fItarget\fR, \fBuchar_t\fR \fIcmp\fR, \fBuchar_t\fR +\fBuchar_t\fR \fBatomic_cas_uchar\fR(\fBvolatile uchar_t *\fR\fItarget\fR, \fBuchar_t\fR \fIcmp\fR, \fBuchar_t\fR \fInewval\fR); .fi .LP .nf -\fBuint16_t\fR \fBatomic_cas_16\fR(\fBvolatile uint16_t *\fR\fItarget\fR, \fBuint16_t\fR \fIcmp\fR, \fBuint16_t\fR +\fBuint16_t\fR \fBatomic_cas_16\fR(\fBvolatile uint16_t *\fR\fItarget\fR, \fBuint16_t\fR \fIcmp\fR, \fBuint16_t\fR \fInewval\fR); .fi @@ -37,7 +37,7 @@ atomic_cas_32, atomic_cas_uint, atomic_cas_ulong, atomic_cas_64, atomic_cas_ptr .LP .nf -\fBuint32_t\fR \fBatomic_cas_32\fR(\fBvolatile uint32_t *\fR\fItarget\fR, \fBuint32_t\fR \fIcmp\fR, \fBuint32_t\fR +\fBuint32_t\fR \fBatomic_cas_32\fR(\fBvolatile uint32_t *\fR\fItarget\fR, \fBuint32_t\fR \fIcmp\fR, \fBuint32_t\fR \fInewval\fR); .fi @@ -48,13 +48,13 @@ atomic_cas_32, atomic_cas_uint, atomic_cas_ulong, atomic_cas_64, atomic_cas_ptr .LP .nf -\fBulong_t\fR \fBatomic_cas_ulong\fR(\fBvolatile ulong_t *\fR\fItarget\fR, \fBulong_t\fR \fIcmp\fR, \fBulong_t\fR +\fBulong_t\fR \fBatomic_cas_ulong\fR(\fBvolatile ulong_t *\fR\fItarget\fR, \fBulong_t\fR \fIcmp\fR, \fBulong_t\fR \fInewval\fR); .fi .LP .nf -\fBuint64_t\fR \fBatomic_cas_64\fR(\fBvolatile uint64_t *\fR\fItarget\fR, \fBuint64_t\fR \fIcmp\fR, \fBuint64_t\fR +\fBuint64_t\fR \fBatomic_cas_64\fR(\fBvolatile uint64_t *\fR\fItarget\fR, \fBuint64_t\fR \fIcmp\fR, \fBuint64_t\fR \fInewval\fR); .fi @@ -91,13 +91,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/atomic_dec.9f b/usr/src/man/man9f/atomic_dec.9f index 3a4f3dd101..fc4bd7941e 100644 --- a/usr/src/man/man9f/atomic_dec.9f +++ b/usr/src/man/man9f/atomic_dec.9f @@ -4,7 +4,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 atomic_dec 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ATOMIC_DEC 9F "Jan 16, 2006" .SH NAME atomic_dec, atomic_dec_8, atomic_dec_uchar, atomic_dec_16, atomic_dec_ushort, atomic_dec_32, atomic_dec_uint, atomic_dec_ulong, atomic_dec_64, @@ -131,13 +131,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/atomic_inc.9f b/usr/src/man/man9f/atomic_inc.9f index dc6e931707..3c3eab84f8 100644 --- a/usr/src/man/man9f/atomic_inc.9f +++ b/usr/src/man/man9f/atomic_inc.9f @@ -4,7 +4,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 atomic_inc 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ATOMIC_INC 9F "Jan 16, 2006" .SH NAME atomic_inc, atomic_inc_8, atomic_inc_uchar, atomic_inc_16, atomic_inc_ushort, atomic_inc_32, atomic_inc_uint, atomic_inc_ulong, atomic_inc_64, @@ -131,13 +131,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/atomic_ops.9f b/usr/src/man/man9f/atomic_ops.9f index f48e61e0b0..6c41335ea7 100644 --- a/usr/src/man/man9f/atomic_ops.9f +++ b/usr/src/man/man9f/atomic_ops.9f @@ -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 atomic_ops 9F "28 Mar 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ATOMIC_OPS 9F "Mar 28, 2005" .SH NAME atomic_ops \- atomic operations .SH SYNOPSIS @@ -19,45 +19,37 @@ This collection of functions provides atomic memory operations. There are 8 different classes of atomic operations: .sp .ne 2 -.mk .na \fB\fBatomic_add\fR(9F)\fR .ad .RS 19n -.rt These functions provide an atomic addition of a signed value to a variable. .RE .sp .ne 2 -.mk .na \fB\fBatomic_and\fR(9F)\fR .ad .RS 19n -.rt These functions provide an atomic logical 'and' of a value to a variable. .RE .sp .ne 2 -.mk .na \fB\fBatomic_bits\fR(9F)\fR .ad .RS 19n -.rt These functions provide atomic bit setting and clearing within a variable. .RE .sp .ne 2 -.mk .na \fB\fBatomic_cas\fR(9F)\fR .ad .RS 19n -.rt These functions provide an atomic comparison of a value with a variable. If the comparison is equal, then swap in a new value for the variable, returning the old value of the variable in either case. @@ -65,45 +57,37 @@ old value of the variable in either case. .sp .ne 2 -.mk .na \fB\fBatomic_dec\fR(9F)\fR .ad .RS 19n -.rt These functions provide an atomic decrement on a variable. .RE .sp .ne 2 -.mk .na \fB\fBatomic_inc\fR(9F)\fR .ad .RS 19n -.rt These functions provide an atomic increment on a variable. .RE .sp .ne 2 -.mk .na \fB\fBatomic_or\fR(9F)\fR .ad .RS 19n -.rt These functions provide an atomic logical 'or' of a value to a variable. .RE .sp .ne 2 -.mk .na \fB\fBatomic_swap\fR(9F)\fR .ad .RS 19n -.rt These functions provide an atomic swap of a value with a variable, returning the old value of the variable. .RE @@ -116,13 +100,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/atomic_or.9f b/usr/src/man/man9f/atomic_or.9f index dd4c6455bc..2b94505250 100644 --- a/usr/src/man/man9f/atomic_or.9f +++ b/usr/src/man/man9f/atomic_or.9f @@ -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 atomic_or 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ATOMIC_OR 9F "Jan 16, 2006" .SH NAME atomic_or, atomic_or_8, atomic_or_uchar, atomic_or_16, atomic_or_ushort, atomic_or_32, atomic_or_uint, atomic_or_ulong, atomic_or_64, atomic_or_8_nv, @@ -118,13 +118,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/atomic_swap.9f b/usr/src/man/man9f/atomic_swap.9f index e4e811b63c..240afe3bde 100644 --- a/usr/src/man/man9f/atomic_swap.9f +++ b/usr/src/man/man9f/atomic_swap.9f @@ -4,7 +4,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 atomic_swap 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ATOMIC_SWAP 9F "Jan 16, 2006" .SH NAME atomic_swap, atomic_swap_8, atomic_swap_uchar, atomic_swap_16, atomic_swap_ushort, atomic_swap_32, atomic_swap_uint, atomic_swap_ulong, @@ -83,13 +83,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/backq.9f b/usr/src/man/man9f/backq.9f index 77282c2a6e..8e041b6bb8 100644 --- a/usr/src/man/man9f/backq.9f +++ b/usr/src/man/man9f/backq.9f @@ -5,13 +5,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 backq 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BACKQ 9F "Jan 16, 2006" .SH NAME backq \- get pointer to the queue behind the current queue .SH SYNOPSIS .LP .nf -#include <sys/stream.h> +#include <sys/stream.h> @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIcq\fR\fR .ad .RS 6n -.rt The pointer to the current queue. \fBqueue_t\fR is an alias for the \fBqueue\fR(9S) structure. .RE diff --git a/usr/src/man/man9f/bcanput.9f b/usr/src/man/man9f/bcanput.9f index 42cca877ab..22dbcde4f2 100644 --- a/usr/src/man/man9f/bcanput.9f +++ b/usr/src/man/man9f/bcanput.9f @@ -5,7 +5,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 bcanput 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BCANPUT 9F "Jan 16, 2006" .SH NAME bcanput \- test for flow control in specified priority band .SH SYNOPSIS @@ -25,23 +25,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 7n -.rt Pointer to the message queue. .RE .sp .ne 2 -.mk .na \fB\fIpri\fR\fR .ad .RS 7n -.rt Message priority. .RE @@ -66,23 +62,19 @@ preference to \fBcanput(\fR\fIq\fR\fB\(->q_next)\fR and .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 5n -.rt If a message of priority \fIpri\fR can be placed on the queue. .RE .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 5n -.rt If the priority band is full. .RE diff --git a/usr/src/man/man9f/bcmp.9f b/usr/src/man/man9f/bcmp.9f index 505e75b366..4ced6ed42d 100644 --- a/usr/src/man/man9f/bcmp.9f +++ b/usr/src/man/man9f/bcmp.9f @@ -4,7 +4,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 bcmp 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BCMP 9F "Jan 16, 2006" .SH NAME bcmp \- compare two byte arrays .SH SYNOPSIS @@ -25,34 +25,28 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIs1\fR\fR .ad .RS 7n -.rt Pointer to the first character string. .RE .sp .ne 2 -.mk .na \fB\fIs2\fR\fR .ad .RS 7n -.rt Pointer to the second character string. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 7n -.rt Number of bytes to be compared. .RE diff --git a/usr/src/man/man9f/bcopy.9f b/usr/src/man/man9f/bcopy.9f index 2ac26b9b18..b73276c8c1 100644 --- a/usr/src/man/man9f/bcopy.9f +++ b/usr/src/man/man9f/bcopy.9f @@ -4,7 +4,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 bcopy 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BCOPY 9F "Jan 16, 2006" .SH NAME bcopy \- copy data between address locations in the kernel .SH SYNOPSIS @@ -26,34 +26,28 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIfrom\fR\fR .ad .RS 10n -.rt Source address from which the copy is made. .RE .sp .ne 2 -.mk .na \fB\fIto\fR\fR .ad .RS 10n -.rt Destination address to which copy is made. .RE .sp .ne 2 -.mk .na \fB\fIbcount\fR\fR .ad .RS 10n -.rt The number of bytes moved. .RE @@ -93,8 +87,8 @@ disk and the buffer are part of the kernel address space. .nf 1 #define RAMDNBLK 1000 /* blocks in the RAM disk */ 2 #define RAMDBSIZ 512 /* bytes per block */ - 3 char ramdblks[RAMDNBLK][RAMDBSIZ]; /* blocks forming RAM - /* disk + 3 char ramdblks[RAMDNBLK][RAMDBSIZ]; /* blocks forming RAM + /* disk ... 4 5 if (bp->b_flags & B_READ) /* if read request, copy data */ diff --git a/usr/src/man/man9f/bioclone.9f b/usr/src/man/man9f/bioclone.9f index 97af083291..7f4aaad771 100644 --- a/usr/src/man/man9f/bioclone.9f +++ b/usr/src/man/man9f/bioclone.9f @@ -3,17 +3,17 @@ .\" 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 bioclone 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BIOCLONE 9F "Jan 16, 2006" .SH NAME bioclone \- clone another buffer .SH SYNOPSIS .LP .nf #include <sys/ddi.h> -#include <sys/sunddi.h> +#include <sys/sunddi.h> -\fBstruct buf *\fR\fBbioclone\fR(\fBstruct buf\fR \fI*bp\fR, \fBoff_t\fR \fIoff\fR, \fBsize_t\fR \fIlen\fR, \fBdev_t\fR \fIdev\fR, - \fBdaddr_t\fR \fIblkno\fR, \fBint (\fR\fI*iodone\fR) (struct buf \fI*\fR), \fBstruct buf\fR \fI*bp_mem\fR, +\fBstruct buf *\fR\fBbioclone\fR(\fBstruct buf\fR \fI*bp\fR, \fBoff_t\fR \fIoff\fR, \fBsize_t\fR \fIlen\fR, \fBdev_t\fR \fIdev\fR, + \fBdaddr_t\fR \fIblkno\fR, \fBint (\fR\fI*iodone\fR) (struct buf \fI*\fR), \fBstruct buf\fR \fI*bp_mem\fR, \fBint\fR \fIsleepflag\fR); .fi @@ -24,91 +24,75 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 13n -.rt Pointer to the \fBbuf\fR(9S) structure describing the original \fBI/O\fR request. .RE .sp .ne 2 -.mk .na \fB\fIoff\fR\fR .ad .RS 13n -.rt Offset within original \fBI/O\fR request where new \fBI/O\fR request should start. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 13n -.rt Length of the \fBI/O \fRrequest. .RE .sp .ne 2 -.mk .na \fB\fIdev\fR\fR .ad .RS 13n -.rt Device number. .RE .sp .ne 2 -.mk .na \fB\fIblkno\fR\fR .ad .RS 13n -.rt Block number on device. .RE .sp .ne 2 -.mk .na \fB\fIiodone\fR\fR .ad .RS 13n -.rt Specific \fBbiodone\fR(9F) routine. .RE .sp .ne 2 -.mk .na \fB\fIbp_mem\fR\fR .ad .RS 13n -.rt Pointer to a buffer structure to be filled in or \fBNULL. \fR .RE .sp .ne 2 -.mk .na \fB\fIsleepflag\fR\fR .ad .RS 13n -.rt Determines whether caller can sleep for memory. Possible flags are \fBKM_SLEEP\fR to allow sleeping until memory is available, or \fBKM_NOSLEEP\fR to return \fINULL\fR immediately if memory is not available. @@ -194,7 +178,7 @@ static uint_t xxintr(caddr_t arg) { ... - /* + /* * get bp of completed subrequest. biodone(9F) will * call stripe_done() */ diff --git a/usr/src/man/man9f/biodone.9f b/usr/src/man/man9f/biodone.9f index 4725f53e5d..843745190b 100644 --- a/usr/src/man/man9f/biodone.9f +++ b/usr/src/man/man9f/biodone.9f @@ -1,10 +1,10 @@ '\" te -.\" Copyright 1989 AT&T +.\" Copyright 1989 AT&T .\" Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved .\" 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 biodone 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BIODONE 9F "Jan 16, 2006" .SH NAME biodone \- release buffer after buffer I/O transfer and notify blocked threads .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 6n -.rt Pointer to a \fBbuf\fR(9S) structure. .RE @@ -93,7 +91,7 @@ device, the routine will report an error condition. In either case, report the 23 } else { /* I/O attempt is beyond */ 24 bp->b_error = ENXIO; /* limits of RAM disk */ 25 bp->b_flags |= B_ERROR; /* return error */ -26 } +26 } 27 biodone(bp); /* mark I/O complete (B_DONE) */ 28 /* 29 * Wake any processes awaiting this I/O @@ -101,8 +99,8 @@ device, the routine will report an error condition. In either case, report the 31 * (B_ASYNC) request. 32 */ 33 return (0); -34 } - .\|.\|.\| +34 } + .\|.\|.\| .fi .in -2 diff --git a/usr/src/man/man9f/bioerror.9f b/usr/src/man/man9f/bioerror.9f index 50f326c73f..c242956dd5 100644 --- a/usr/src/man/man9f/bioerror.9f +++ b/usr/src/man/man9f/bioerror.9f @@ -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 bioerror 9F "26 May 1994" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BIOERROR 9F "May 26, 1994" .SH NAME bioerror \- indicate error in buffer header .SH SYNOPSIS @@ -25,23 +25,19 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR \fR .ad .RS 10n -.rt Pointer to the \fBbuf\fR(9S) structure describing the transfer. .RE .sp .ne 2 -.mk .na \fB\fIerror\fR \fR .ad .RS 10n -.rt Error number to be set, or zero to clear an error indication. .RE diff --git a/usr/src/man/man9f/biofini.9f b/usr/src/man/man9f/biofini.9f index b652099bd7..0fd09d444c 100644 --- a/usr/src/man/man9f/biofini.9f +++ b/usr/src/man/man9f/biofini.9f @@ -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 biofini 9F "20 Nov 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BIOFINI 9F "Nov 20, 1996" .SH NAME biofini \- uninitialize a buffer structure .SH SYNOPSIS @@ -22,12 +22,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 6n -.rt Pointer to the buffer header structure. .RE diff --git a/usr/src/man/man9f/bioinit.9f b/usr/src/man/man9f/bioinit.9f index a908500be6..a302cb608d 100644 --- a/usr/src/man/man9f/bioinit.9f +++ b/usr/src/man/man9f/bioinit.9f @@ -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 bioinit 9F "20 Nov 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BIOINIT 9F "Nov 20, 1996" .SH NAME bioinit \- initialize a buffer structure .SH SYNOPSIS @@ -22,12 +22,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 6n -.rt Pointer to the buffer header structure. .RE @@ -51,7 +49,7 @@ The \fBbioinit()\fR function can be called from any context. .nf struct buf *bp = kmem_alloc(biosize(), KM_SLEEP); -bioinit(bp); +bioinit(bp); /* use buffer */ .fi .in -2 diff --git a/usr/src/man/man9f/biomodified.9f b/usr/src/man/man9f/biomodified.9f index 361a2084cf..8cba5a3d39 100644 --- a/usr/src/man/man9f/biomodified.9f +++ b/usr/src/man/man9f/biomodified.9f @@ -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 biomodified 9F "20 Nov 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BIOMODIFIED 9F "Nov 20, 1996" .SH NAME biomodified \- check if a buffer is modified .SH SYNOPSIS @@ -22,12 +22,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 6n -.rt Pointer to the buffer header structure. .RE @@ -59,34 +57,28 @@ user program during the time the buffer is written to multiple submirrors. The \fBbiomodified()\fR function returns the following values: .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 6n -.rt Buffer is modified. .RE .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 6n -.rt Buffer is not modified. .RE .sp .ne 2 -.mk .na \fB\fB-1\fR\fR .ad .RS 6n -.rt Buffer is not used for paged \fBI/O\fR request. .RE diff --git a/usr/src/man/man9f/bioreset.9f b/usr/src/man/man9f/bioreset.9f index 401b8d4c30..53480990ba 100644 --- a/usr/src/man/man9f/bioreset.9f +++ b/usr/src/man/man9f/bioreset.9f @@ -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 bioreset 9F "15 Nov 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BIORESET 9F "Nov 15, 1996" .SH NAME bioreset \- reuse a private buffer header after I/O is complete .SH SYNOPSIS @@ -24,12 +24,10 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR \fR .ad .RS 7n -.rt Pointer to the \fBbuf\fR(9S) structure. .RE diff --git a/usr/src/man/man9f/biosize.9f b/usr/src/man/man9f/biosize.9f index b1b9c5295a..b763924b17 100644 --- a/usr/src/man/man9f/biosize.9f +++ b/usr/src/man/man9f/biosize.9f @@ -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 biosize 9F "20 Nov 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BIOSIZE 9F "Nov 20, 1996" .SH NAME biosize \- returns size of a buffer structure .SH SYNOPSIS diff --git a/usr/src/man/man9f/biowait.9f b/usr/src/man/man9f/biowait.9f index 3ef6243a42..b282671e11 100644 --- a/usr/src/man/man9f/biowait.9f +++ b/usr/src/man/man9f/biowait.9f @@ -1,10 +1,10 @@ '\" te .\" Copyright 1989 AT&T -.\" Copyright (c) 1997, Sun Microsystems, Inc., All Rights Reserved +.\" Copyright (c) 1997, Sun Microsystems, Inc., All Rights Reserved .\" 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 biowait 9F "11 Apr 1991" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BIOWAIT 9F "Apr 11, 1991" .SH NAME biowait \- suspend processes pending completion of block I/O .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR \fR .ad .RS 7n -.rt Pointer to the \fBbuf\fR structure describing the transfer. .RE @@ -48,23 +46,19 @@ interrupt routine. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB0\fR \fR .ad .RS 12n -.rt Upon success .RE .sp .ne 2 -.mk .na \fB\fBnon-zero\fR\fR .ad .RS 12n -.rt Upon \fBI/O\fR failure. \fBbiowait()\fR calls \fBgeterror\fR(9F) to retrieve the error number which it returns. .RE diff --git a/usr/src/man/man9f/bp_copyin.9f b/usr/src/man/man9f/bp_copyin.9f index 7e970b525a..4c9030d7ac 100644 --- a/usr/src/man/man9f/bp_copyin.9f +++ b/usr/src/man/man9f/bp_copyin.9f @@ -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 bp_copyin 9F "16 Oct 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BP_COPYIN 9F "Oct 16, 2007" .SH NAME bp_copyin \- copy from a buf(9S) into a driver buffer .SH SYNOPSIS @@ -15,7 +15,7 @@ bp_copyin \- copy from a buf(9S) into a driver buffer -\fBint\fR \fBbp_copyin\fR(\fBstruct buf *\fR\fIbp\fR, \fBvoid *\fR\fIdriverbuf\fR, \fBoffset_t\fR \fIoffset\fR, +\fBint\fR \fBbp_copyin\fR(\fBstruct buf *\fR\fIbp\fR, \fBvoid *\fR\fIdriverbuf\fR, \fBoffset_t\fR \fIoffset\fR, \fBsize_t\fR \fIsize\fR); .fi @@ -26,45 +26,37 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 13n -.rt Pointer to the buffer header structure to copy from. .RE .sp .ne 2 -.mk .na \fB\fIdriverbuf\fR\fR .ad .RS 13n -.rt Driver buffer to copy to. .RE .sp .ne 2 -.mk .na \fB\fIoffset\fR\fR .ad .RS 13n -.rt Offset into \fIbp\fR where to start copying. .RE .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 13n -.rt Size of copy. .RE diff --git a/usr/src/man/man9f/bp_copyout.9f b/usr/src/man/man9f/bp_copyout.9f index f7464e5126..40feafdfd7 100644 --- a/usr/src/man/man9f/bp_copyout.9f +++ b/usr/src/man/man9f/bp_copyout.9f @@ -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 bp_copyout 9F "16 Oct 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BP_COPYOUT 9F "Oct 16, 2007" .SH NAME bp_copyout \- copy from a driver buffer into a buf(9S) .SH SYNOPSIS @@ -15,7 +15,7 @@ bp_copyout \- copy from a driver buffer into a buf(9S) -\fBint\fR \fBbp_copyout\fR(\fBvoid *\fR\fIdriverbuf\fR, \fBstruct buf *\fR\fIbp\fR, \fBoffset_t\fR \fIoffset\fR, +\fBint\fR \fBbp_copyout\fR(\fBvoid *\fR\fIdriverbuf\fR, \fBstruct buf *\fR\fIbp\fR, \fBoffset_t\fR \fIoffset\fR, \fBsize_t\fR \fIsize\fR); .fi @@ -26,45 +26,37 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 13n -.rt Pointer to the buffer header structure to copy to. .RE .sp .ne 2 -.mk .na \fB\fIdriverbuf\fR\fR .ad .RS 13n -.rt Driver buffer to copy from. .RE .sp .ne 2 -.mk .na \fB\fIoffset\fR\fR .ad .RS 13n -.rt Offset into \fIbp\fR where to start copying. .RE .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 13n -.rt Size of copy. .RE diff --git a/usr/src/man/man9f/bp_mapin.9f b/usr/src/man/man9f/bp_mapin.9f index 78f0de23d8..594118d57c 100644 --- a/usr/src/man/man9f/bp_mapin.9f +++ b/usr/src/man/man9f/bp_mapin.9f @@ -4,7 +4,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 bp_mapin 9F "13 Sep 1992" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BP_MAPIN 9F "Sep 13, 1992" .SH NAME bp_mapin \- allocate virtual address space .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR \fR .ad .RS 7n -.rt Pointer to the buffer header structure. .RE diff --git a/usr/src/man/man9f/bp_mapout.9f b/usr/src/man/man9f/bp_mapout.9f index cc038777f9..2cbb13218e 100644 --- a/usr/src/man/man9f/bp_mapout.9f +++ b/usr/src/man/man9f/bp_mapout.9f @@ -4,7 +4,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 bp_mapout 9F "15 Nov 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BP_MAPOUT 9F "Nov 15, 1996" .SH NAME bp_mapout \- deallocate virtual address space .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR \fR .ad .RS 7n -.rt Pointer to the buffer header structure. .RE diff --git a/usr/src/man/man9f/btop.9f b/usr/src/man/man9f/btop.9f index bce83c6ef5..7524c12ee5 100644 --- a/usr/src/man/man9f/btop.9f +++ b/usr/src/man/man9f/btop.9f @@ -4,7 +4,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 btop 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BTOP 9F "Jan 16, 2006" .SH NAME btop \- convert size in bytes to size in pages (round down) .SH SYNOPSIS @@ -24,12 +24,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInumbytes\fR\fR .ad .RS 12n -.rt Number of bytes. .RE diff --git a/usr/src/man/man9f/btopr.9f b/usr/src/man/man9f/btopr.9f index c1e5e3cff8..048b579ab8 100644 --- a/usr/src/man/man9f/btopr.9f +++ b/usr/src/man/man9f/btopr.9f @@ -4,7 +4,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 btopr 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BTOPR 9F "Jan 16, 2006" .SH NAME btopr \- convert size in bytes to size in pages (round up) .SH SYNOPSIS @@ -24,12 +24,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInumbytes\fR\fR .ad .RS 12n -.rt Number of bytes. .RE diff --git a/usr/src/man/man9f/bufcall.9f b/usr/src/man/man9f/bufcall.9f index b4fdb57918..dadc4f2169 100644 --- a/usr/src/man/man9f/bufcall.9f +++ b/usr/src/man/man9f/bufcall.9f @@ -4,7 +4,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 bufcall 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BUFCALL 9F "Jan 16, 2006" .SH NAME bufcall \- call a function when a buffer becomes available .SH SYNOPSIS @@ -15,7 +15,7 @@ bufcall \- call a function when a buffer becomes available -\fBbufcall_id_t\fR \fBbufcall\fR(\fBsize_t\fR \fIsize\fR, \fBuint_t\fR \fIpri\fR, \fBvoid \fR\fI*func\fRvoid \fI*arg\fR, +\fBbufcall_id_t\fR \fBbufcall\fR(\fBsize_t\fR \fIsize\fR, \fBuint_t\fR \fIpri\fR, \fBvoid \fR\fI*func\fRvoid \fI*arg\fR, \fBvoid\fR \fI*arg\fR); .fi @@ -26,45 +26,37 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 8n -.rt Number of bytes required for the buffer. .RE .sp .ne 2 -.mk .na \fB\fIpri\fR\fR .ad .RS 8n -.rt Priority of the \fBallocb\fR(9F) allocation request (not used). .RE .sp .ne 2 -.mk .na \fB\fIfunc\fR\fR .ad .RS 8n -.rt Function or driver routine to be called when a buffer becomes available. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 8n -.rt Argument to the function to be called when a buffer becomes available. .RE diff --git a/usr/src/man/man9f/bzero.9f b/usr/src/man/man9f/bzero.9f index 713f1c4331..41185de295 100644 --- a/usr/src/man/man9f/bzero.9f +++ b/usr/src/man/man9f/bzero.9f @@ -1,10 +1,10 @@ '\" te -.\" Copyright 1989 AT&T +.\" Copyright 1989 AT&T .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved .\" 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 bzero 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH BZERO 9F "Jan 16, 2006" .SH NAME bzero \- clear memory for a given number of bytes .SH SYNOPSIS @@ -25,23 +25,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIaddr\fR\fR .ad .RS 9n -.rt Starting virtual address of memory to be cleared. .RE .sp .ne 2 -.mk .na \fB\fIbytes\fR\fR .ad .RS 9n -.rt The number of bytes to clear starting at \fIaddr\fR. .RE diff --git a/usr/src/man/man9f/canput.9f b/usr/src/man/man9f/canput.9f index e81f323971..dfeab6c291 100644 --- a/usr/src/man/man9f/canput.9f +++ b/usr/src/man/man9f/canput.9f @@ -4,7 +4,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 canput 9F "11 Apr 1991" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CANPUT 9F "Apr 11, 1991" .SH NAME canput \- test for room in a message queue .SH SYNOPSIS @@ -24,12 +24,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR \fR .ad .RS 6n -.rt Pointer to the message queue. .RE @@ -49,23 +47,19 @@ pri\fR\fB)\fR should always be used in preference to .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB1\fR \fR .ad .RS 6n -.rt If the message queue is not full. .RE .sp .ne 2 -.mk .na \fB\fB0\fR \fR .ad .RS 6n -.rt If the queue is full. .RE diff --git a/usr/src/man/man9f/clrbuf.9f b/usr/src/man/man9f/clrbuf.9f index 184419e9b6..a64e0ddeb9 100644 --- a/usr/src/man/man9f/clrbuf.9f +++ b/usr/src/man/man9f/clrbuf.9f @@ -4,7 +4,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 clrbuf 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CLRBUF 9F "Jan 16, 2006" .SH NAME clrbuf \- erase the contents of a buffer .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 6n -.rt Pointer to the \fBbuf\fR(9S) structure. .RE diff --git a/usr/src/man/man9f/cmn_err.9f b/usr/src/man/man9f/cmn_err.9f index 6b19ae958d..b58a537ebe 100644 --- a/usr/src/man/man9f/cmn_err.9f +++ b/usr/src/man/man9f/cmn_err.9f @@ -4,7 +4,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 cmn_err 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CMN_ERR 9F "Jan 16, 2006" .SH NAME cmn_err, vcmn_err, zcmn_err \- display an error message or panic the system .SH SYNOPSIS @@ -45,23 +45,19 @@ Architecture independent level 1 (DDI/DKI). .SS "cmn_err(\|)" .sp .ne 2 -.mk .na \fB\fIlevel\fR\fR .ad .RS 10n -.rt A constant indicating the severity of the error condition. .RE .sp .ne 2 -.mk .na \fB\fIformat\fR\fR .ad .RS 10n -.rt Message to be displayed. .RE @@ -72,12 +68,10 @@ The \fBvcmn_err()\fR function takes \fIlevel\fR and \fIformat\fR as described for \fBcmn_err()\fR, but its third argument is different: .sp .ne 2 -.mk .na \fB\fIap\fR\fR .ad .RS 6n -.rt Variable argument list passed to the function. .RE @@ -88,12 +82,10 @@ The \fBzcmn_err()\fR function works exactly like \fBcmn_err()\fR, but includes an additional argument: .sp .ne 2 -.mk .na \fB\fIzoneid\fR\fR .ad .RS 10n -.rt Zone to which log messages should be directed. See \fBzones\fR(5). .RE @@ -112,12 +104,10 @@ attempt to write a core file, and halt system processing. See the four severity levels are: .sp .ne 2 -.mk .na \fB\fBCE_CONT\fR\fR .ad .RS 12n -.rt Used to continue another message or to display an informative message not associated with an error. Note that multiple \fBCE_CONT\fR messages without a newline may or may not appear on the system console or in the system log as a @@ -128,12 +118,10 @@ message with \fBsprintf\fR(9F) or \fBvsprintf\fR(9F) before calling .sp .ne 2 -.mk .na \fB\fBCE_NOTE\fR\fR .ad .RS 12n -.rt Used to display a message preceded with \fBNOTICE\fR. This message is used to report system events that do not necessarily require user action, but may interest the system administrator. For example, a message saying that a sector @@ -143,12 +131,10 @@ might be noteworthy. .sp .ne 2 -.mk .na \fB\fBCE_WARN\fR\fR .ad .RS 12n -.rt Used to display a message preceded with \fBWARNING\fR. This message is used to report system events that require immediate attention, such as those where if an action is not taken, the system may panic. For example, when a peripheral @@ -157,12 +143,10 @@ device does not initialize correctly, this level should be used. .sp .ne 2 -.mk .na \fB\fBCE_PANIC\fR\fR .ad .RS 12n -.rt Used to display a message preceded with \fB"panic"\fR, and to panic the system. Drivers should specify this level only under the most severe conditions or when debugging a driver. A valid use of this level is when the system cannot @@ -195,12 +179,10 @@ any other conversion character is ignored. A character indicating the type of conversion to be applied: .sp .ne 2 -.mk .na \fB\fBd\fR,\fBD\fR,\fBo\fR,\fBO\fR,\fBx\fR,\fBX\fR,\fBu\fR\fR .ad .RS 17n -.rt The integer argument is converted to signed decimal (\fBd\fR, \fBD\fR), unsigned octal (\fBo\fR, \fBO\fR), unsigned hexadecimal (\fBx\fR, \fBX\fR), or unsigned decimal (\fBu\fR), respectively, and displayed. The letters @@ -209,23 +191,19 @@ unsigned decimal (\fBu\fR), respectively, and displayed. The letters .sp .ne 2 -.mk .na \fB\fBc\fR\fR .ad .RS 17n -.rt The character value of the argument is displayed. .RE .sp .ne 2 -.mk .na \fB\fBb\fR\fR .ad .RS 17n -.rt The \fB%b\fR conversion specification allows bit values to be displayed meaningfully. Each \fB%b\fR takes an integer value and a format string from the argument list. The first character of the format string should be the output @@ -239,12 +217,10 @@ is displayed after the numerical value. See EXAMPLE section. .sp .ne 2 -.mk .na \fBp\fR .ad .RS 17n -.rt The argument is taken to be a pointer; the value of the pointer is displayed in unsigned hexadecimal. The display format is equivalent to \fB%lx\fR. To avoid lint warnings, cast pointers to type \fBvoid *\fR when using the \fB%p\fR @@ -253,12 +229,10 @@ format specifier. .sp .ne 2 -.mk .na \fB\fBs\fR\fR .ad .RS 17n -.rt The argument is taken to be a string (character pointer), and characters from the string are displayed until a null character is encountered. If the character pointer is \fINULL\fR, the string \fB<null string>\fR is used in its @@ -267,12 +241,10 @@ place. .sp .ne 2 -.mk .na \fB\fB%\fR\fR .ad .RS 17n -.rt Copy a \fB%\fR; no argument is converted. .RE @@ -281,34 +253,28 @@ Copy a \fB%\fR; no argument is converted. The first character in \fIformat\fR affects where the message will be written: .sp .ne 2 -.mk .na \fB\fB!\fR\fR .ad .RS 5n -.rt The message goes only to the system log. .RE .sp .ne 2 -.mk .na \fB\fB^\fR\fR .ad .RS 5n -.rt The message goes only to the console. .RE .sp .ne 2 -.mk .na \fB\fB?\fR\fR .ad .RS 5n -.rt If \fIlevel\fR is also \fBCE_CONT,\fR the message is always sent to the system log, but is only written to the console when the system has been booted in verbose mode. See \fBkernel\fR(1M). If neither condition is met, the '?\|' @@ -376,34 +342,34 @@ both the system console and in the system log (line 28). .sp .in +2 .nf -1 struct reg { -2 uchar_t data; -3 uchar_t csr; -4 }; -5 -6 struct xxstate { -7 .\|.\|. -8 dev_info_t *dip; -9 struct reg *regp; -10 .\|.\|. -11 }; -12 -13 dev_t dev; -14 struct xxstate *xsp; -15 .\|.\|. -16 #ifdef DEBUG /* in debugging mode, log function call */ -17 cmn_err(CE_CONT, "!%s%d: xxopen function called.", -18 ddi_binding_name(xsp->dip), getminor(dev)); -19 #endif /* end DEBUG */ -20 .\|.\|. -21 /* display device power failure on system console */ -22 if ((xsp->regp->csr & POWER) == OFF) -23 cmn_err(CE_NOTE, "^OFF.", -24 ddi_binding_name(xsp->dip), getminor(dev)); -25 .\|.\|. -26 /* display warning if device has bad VTOC */ -27 if (xsp->regp->csr & BADVTOC) -28 cmn_err(CE_WARN, "%s%d: xxopen: Bad VTOC.", +1 struct reg { +2 uchar_t data; +3 uchar_t csr; +4 }; +5 +6 struct xxstate { +7 .\|.\|. +8 dev_info_t *dip; +9 struct reg *regp; +10 .\|.\|. +11 }; +12 +13 dev_t dev; +14 struct xxstate *xsp; +15 .\|.\|. +16 #ifdef DEBUG /* in debugging mode, log function call */ +17 cmn_err(CE_CONT, "!%s%d: xxopen function called.", +18 ddi_binding_name(xsp->dip), getminor(dev)); +19 #endif /* end DEBUG */ +20 .\|.\|. +21 /* display device power failure on system console */ +22 if ((xsp->regp->csr & POWER) == OFF) +23 cmn_err(CE_NOTE, "^OFF.", +24 ddi_binding_name(xsp->dip), getminor(dev)); +25 .\|.\|. +26 /* display warning if device has bad VTOC */ +27 if (xsp->regp->csr & BADVTOC) +28 cmn_err(CE_WARN, "%s%d: xxopen: Bad VTOC.", 29 ddi_binding_name(xsp->dip), getminor(dev)); .fi .in -2 @@ -455,11 +421,11 @@ error message before calling \fBcmn_err()\fR. #include <sys/varargs.h> #include <sys/ddi.h> #include <sys/sunddi.h> -#define MAX_MSG 256; +#define MAX_MSG 256; -void -xxerror(dev_info_t *dip, int level, const char *fmt, .\|.\|.\|) -{ +void +xxerror(dev_info_t *dip, int level, const char *fmt, .\|.\|.\|) +{ va_list ap; int instance; char buf[MAX_MSG], *name; @@ -475,7 +441,7 @@ va_end(ap); /* pass formatted string to cmn_err(9F) */ -cmn_err(level, "%s%d: %s", name, instance, buf); +cmn_err(level, "%s%d: %s", name, instance, buf); } .fi diff --git a/usr/src/man/man9f/condvar.9f b/usr/src/man/man9f/condvar.9f index 11ca0ed3a3..2bb1b85ce0 100644 --- a/usr/src/man/man9f/condvar.9f +++ b/usr/src/man/man9f/condvar.9f @@ -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 condvar 9F "15 Dec 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CONDVAR 9F "Dec 15, 2003" .SH NAME condvar, cv_init, cv_destroy, cv_wait, cv_signal, cv_broadcast, cv_wait_sig, cv_timedwait, cv_timedwait_sig \- condition variable routines .SH SYNOPSIS .LP .nf -#include <sys/ksynch.h> +#include <sys/ksynch.h> @@ -59,69 +59,57 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIcvp\fR\fR .ad .RS 11n -.rt A pointer to an abstract data type \fBkcondvar_t\fR. .RE .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 11n -.rt A pointer to a mutual exclusion lock (\fBkmutex_t\fR), initialized by \fBmutex_init\fR(9F) and held by the caller. .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 11n -.rt Descriptive string. This is obsolete and should be \fINULL\fR. (Non-\fINULL\fR strings are legal, but they're a waste of kernel memory.) .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 11n -.rt The constant \fBCV_DRIVER\fR. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 11n -.rt A type-specific argument, drivers should pass arg as \fINULL\fR. .RE .sp .ne 2 -.mk .na \fB\fItimeout\fR\fR .ad .RS 11n -.rt A time, in absolute ticks since boot, when \fBcv_timedwait()\fR or \fBcv_timedwait_sig()\fR should return. .RE @@ -183,12 +171,10 @@ calling \fBddi_get_lbolt\fR(9F). .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 9n -.rt For \fBcv_wait_sig()\fR and \fBcv_timedwait_sig()\fR indicates that the condition was not necessarily signaled and the function returned because a signal (as in \fBkill\fR(2)) was pending. @@ -196,12 +182,10 @@ signal (as in \fBkill\fR(2)) was pending. .sp .ne 2 -.mk .na \fB\fB\(mi1\fR\fR .ad .RS 9n -.rt For \fBcv_timedwait()\fR and \fBcv_timedwait_sig()\fR indicates that the condition was not necessarily signaled and the function returned because the timeout time was reached. @@ -209,12 +193,10 @@ timeout time was reached. .sp .ne 2 -.mk .na \fB\fB>0\fR\fR .ad .RS 9n -.rt For \fBcv_wait_sig()\fR, \fBcv_timedwait()\fR or \fBcv_timedwait_sig()\fR indicates that the condition was met and the function returned due to a call to \fBcv_signal()\fR or \fBcv_broadcast()\fR, or due to a premature wakeup (see diff --git a/usr/src/man/man9f/copyb.9f b/usr/src/man/man9f/copyb.9f index 881ab0d3f9..591aa8a477 100644 --- a/usr/src/man/man9f/copyb.9f +++ b/usr/src/man/man9f/copyb.9f @@ -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 copyb 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH COPYB 9F "Jan 16, 2006" .SH NAME copyb \- copy a message block .SH SYNOPSIS @@ -23,12 +23,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 6n -.rt Pointer to the message block from which data is copied. .RE @@ -75,7 +73,7 @@ of the list, reschedule this routine. 4 queue_t *r_outq; 5 struct retrans *r_next; 6 }; - 7 + 7 8 struct protoheader { \&.\|.\|. 9 int h_address; diff --git a/usr/src/man/man9f/copyin.9f b/usr/src/man/man9f/copyin.9f index 8f02f1056a..9d23b29426 100644 --- a/usr/src/man/man9f/copyin.9f +++ b/usr/src/man/man9f/copyin.9f @@ -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 copyin 9F "27 Sep 2002" "SunOS 5.11" "Kernel Functions for Drivers" +.TH COPYIN 9F "Sep 27, 2002" .SH NAME copyin \- copy data from a user program to a driver buffer .SH SYNOPSIS @@ -24,34 +24,28 @@ This interface is obsolete. \fBddi_copyin\fR(9F) should be used instead. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIuserbuf\fR \fR .ad .RS 14n -.rt User program source address from which data is transferred. .RE .sp .ne 2 -.mk .na \fB\fIdriverbuf\fR \fR .ad .RS 14n -.rt Driver destination address to which data is transferred. .RE .sp .ne 2 -.mk .na \fB\fIcn\fR \fR .ad .RS 14n -.rt Number of bytes transferred. .RE @@ -120,7 +114,7 @@ returned. .sp .in +2 .nf - + 1 struct device { /* layout of physical device registers */ 2 int control; /* physical device control word */ 3 int status; /* physical device status word */ @@ -156,13 +150,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/copymsg.9f b/usr/src/man/man9f/copymsg.9f index 2a2bd5f053..33b1fd3f47 100644 --- a/usr/src/man/man9f/copymsg.9f +++ b/usr/src/man/man9f/copymsg.9f @@ -1,10 +1,10 @@ '\" te -.\" Copyright 1989 AT&T +.\" Copyright 1989 AT&T .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved .\" 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 copymsg 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH COPYMSG 9F "Jan 16, 2006" .SH NAME copymsg \- copy a message .SH SYNOPSIS @@ -24,12 +24,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 6n -.rt Pointer to the message to be copied. .RE @@ -67,7 +65,7 @@ message is returned (line 21). .sp .in +2 .nf - + 1 mblk_t *lctouc(mp) 2 mblk_t *mp; 3 { diff --git a/usr/src/man/man9f/copyout.9f b/usr/src/man/man9f/copyout.9f index b1767e4b30..bf6407ddad 100644 --- a/usr/src/man/man9f/copyout.9f +++ b/usr/src/man/man9f/copyout.9f @@ -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 copyout 9F "27 Sep 2002" "SunOS 5.11" "Kernel Functions for Drivers" +.TH COPYOUT 9F "Sep 27, 2002" .SH NAME copyout \- copy data from a driver to a user program .SH SYNOPSIS @@ -24,34 +24,28 @@ This interface is obsolete. \fBddi_copyout\fR(9F) should be used instead. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdriverbuf\fR \fR .ad .RS 14n -.rt Source address in the driver from which the data is transferred. .RE .sp .ne 2 -.mk .na \fB\fIuserbuf\fR \fR .ad .RS 14n -.rt Destination address in the user program to which the data is transferred. .RE .sp .ne 2 -.mk .na \fB\fIcn\fR \fR .ad .RS 14n -.rt Number of bytes moved. .RE @@ -154,13 +148,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/csx_AccessConfigurationRegister.9f b/usr/src/man/man9f/csx_AccessConfigurationRegister.9f index 0ff1d94257..622d14252b 100644 --- a/usr/src/man/man9f/csx_AccessConfigurationRegister.9f +++ b/usr/src/man/man9f/csx_AccessConfigurationRegister.9f @@ -3,18 +3,18 @@ .\" 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 csx_AccessConfigurationRegister 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_ACCESSCONFIGURATIONREGISTER 9F "Jul 19, 1996" .SH NAME csx_AccessConfigurationRegister \- read or write a PC Card Configuration Register .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> -\fBint32_t\fR \fBcsx_AccessConfigurationRegister\fR(\fBclient_handle_t\fR \fIch\fR, +\fBint32_t\fR \fBcsx_AccessConfigurationRegister\fR(\fBclient_handle_t\fR \fIch\fR, \fBaccess_config_reg_t *\fR\fIacr\fR); .fi @@ -25,23 +25,19 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIacr\fR\fR .ad .RS 7n -.rt Pointer to an \fBaccess_config_reg_t\fR structure. .RE @@ -69,24 +65,20 @@ uint32_t Value; /* value read or written*/ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBSocket\fR\fR .ad .RS 10n -.rt Not used in Solaris, but for portability with other Card Services implementations, it should be set to the logical socket number. .RE .sp .ne 2 -.mk .na \fB\fBAction\fR\fR .ad .RS 10n -.rt May be set to \fBCONFIG_REG_READ\fR or \fBCONFIG_REG_WRITE\fR. All other values in the \fBAction\fR field are reserved for future use. If the \fBAction\fR field is set to \fBCONFIG_REG_WRITE,\fR the \fBValue\fR field is written to the @@ -97,12 +89,10 @@ only updated by a \fBCONFIG_REG_READ\fR request. .sp .ne 2 -.mk .na \fB\fBOffset\fR\fR .ad .RS 10n -.rt Specifies the byte offset for the desired configuration register from the \fBPC \fRCard configuration register base specified in \fBcsx_RequestConfiguration\fR(9F). @@ -110,12 +100,10 @@ Specifies the byte offset for the desired configuration register from the \fBPC .sp .ne 2 -.mk .na \fB\fBValue\fR\fR .ad .RS 10n -.rt Contains the value read from the \fBPC \fRCard Configuration Register for a read operation. For a write operation, the \fBValue\fR field contains the value to write to the configuration register. As noted above, on return from a write @@ -142,69 +130,57 @@ appropriate card state after the reset operation is complete. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_ARGS\fR\fR .ad .RS 27n -.rt Specified arguments are invalid. Client specifies an \fBOffset\fR that is out of range or neither \fBCONFIG_REG_READ\fR or \fBCONFIG_REG_WRITE\fR is set. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_MODE\fR\fR .ad .RS 27n -.rt Client has not called \fBcsx_RequestConfiguration\fR(9F) before calling this function. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRcard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_CS_DDI_Info.9f b/usr/src/man/man9f/csx_CS_DDI_Info.9f index 5ff618eeec..3d4595df59 100644 --- a/usr/src/man/man9f/csx_CS_DDI_Info.9f +++ b/usr/src/man/man9f/csx_CS_DDI_Info.9f @@ -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 csx_CS_DDI_Info 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_CS_DDI_INFO 9F "Jul 19, 1996" .SH NAME csx_CS_DDI_Info \- obtain DDI information .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -23,12 +23,10 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIcdi\fR \fR .ad .RS 8n -.rt Pointer to a \fBcs_ddi_info_t\fR structure. .RE @@ -58,24 +56,20 @@ int32_t instance; /* instance */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBSocket\fR \fR .ad .RS 16n -.rt This field must be set to the physical socket number that the client is interested in getting information about. .RE .sp .ne 2 -.mk .na \fB\fBdriver_name\fR \fR .ad .RS 16n -.rt This field must be set to a string containing the name of the client driver to get information about. .RE @@ -94,34 +88,28 @@ the \fBinstance\fR fields for the requested driver instance. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_SOCKET\fR \fR .ad .RS 28n -.rt Client not found on \fBSocket\fR. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE @@ -150,7 +138,7 @@ pcepp_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, cs_ddi_info_t cs_ddi_info; switch (cmd) { - + case DDI_INFO_DEVT2DEVINFO: cs_ddi_info.Socket = getminor((dev_t)arg) & 0x3f; cs_ddi_info.driver_name = pcepp_name; diff --git a/usr/src/man/man9f/csx_ConvertSize.9f b/usr/src/man/man9f/csx_ConvertSize.9f index 15fbca72b7..a7aa89f78c 100644 --- a/usr/src/man/man9f/csx_ConvertSize.9f +++ b/usr/src/man/man9f/csx_ConvertSize.9f @@ -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 csx_ConvertSize 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_CONVERTSIZE 9F "Jul 19, 1996" .SH NAME csx_ConvertSize \- convert device sizes .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -23,12 +23,10 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIcs\fR \fR .ad .RS 7n -.rt Pointer to a \fBconvert_size_t\fR structure. .RE @@ -56,33 +54,27 @@ uint32_t devsize; The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBAttributes\fR \fR .ad .RS 15n -.rt This is a bit-mapped field that identifies the type of size conversion to be performed. The field is defined as follows: .sp .ne 2 -.mk .na \fB\fBCONVERT_BYTES_TO_DEVSIZE\fR\fR .ad .RS 28n -.rt Converts \fIbytes\fR to \fIdevsize\fR format. .RE .sp .ne 2 -.mk .na \fB\fBCONVERT_DEVSIZE_TO_BYTES\fR\fR .ad .RS 28n -.rt Converts \fIdevsize\fR format to \fIbytes\fR. .RE @@ -90,24 +82,20 @@ Converts \fIdevsize\fR format to \fIbytes\fR. .sp .ne 2 -.mk .na \fB\fBbytes\fR \fR .ad .RS 15n -.rt If \fBCONVERT_BYTES_TO_DEVSIZE\fR is set, the value in the \fBbytes\fR field is converted to a \fIdevsize\fR format and returned in the \fBdevsize\fR field. .RE .sp .ne 2 -.mk .na \fB\fBdevsize\fR \fR .ad .RS 15n -.rt If \fBCONVERT_DEVSIZE_TO_BYTES\fR is set, the value in the \fBdevsize\fR field is converted to a \fIbytes\fR value and returned in the \fBbytes\fR field. .RE @@ -115,34 +103,28 @@ is converted to a \fIbytes\fR value and returned in the \fBbytes\fR field. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_SIZE\fR \fR .ad .RS 28n -.rt Invalid \fIbytes\fR or \fIdevsize\fR. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_ConvertSpeed.9f b/usr/src/man/man9f/csx_ConvertSpeed.9f index ef3acb351b..e434730de1 100644 --- a/usr/src/man/man9f/csx_ConvertSpeed.9f +++ b/usr/src/man/man9f/csx_ConvertSpeed.9f @@ -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 csx_ConvertSpeed 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_CONVERTSPEED 9F "Jul 19, 1996" .SH NAME csx_ConvertSpeed \- convert device speeds .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -23,12 +23,10 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIcs\fR \fR .ad .RS 7n -.rt Pointer to a \fBconvert_speed_t\fR structure. .RE @@ -56,33 +54,27 @@ uint32_t devspeed; The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBAttributes\fR \fR .ad .RS 15n -.rt This is a bit-mapped field that identifies the type of speed conversion to be performed. The field is defined as follows: .sp .ne 2 -.mk .na \fB\fBCONVERT_NS_TO_DEVSPEED\fR\fR .ad .RS 26n -.rt Converts \fInS\fR to \fIdevspeed\fR format .RE .sp .ne 2 -.mk .na \fB\fBCONVERT_DEVSPEED_TO_NS\fR\fR .ad .RS 26n -.rt Converts \fIdevspeed\fR format to \fInS\fR .RE @@ -90,24 +82,20 @@ Converts \fIdevspeed\fR format to \fInS\fR .sp .ne 2 -.mk .na \fB\fBnS\fR \fR .ad .RS 15n -.rt If \fBCONVERT_NS_TO_DEVSPEED\fR is set, the value in the \fBnS\fR field is converted to a \fIdevspeed\fR format and returned in the \fBdevspeed\fR field. .RE .sp .ne 2 -.mk .na \fB\fBdevspeed\fR \fR .ad .RS 15n -.rt If \fBCONVERT_DEVSPEED_TO_NS\fR is set, the value in the \fBdevspeed\fR field is converted to an \fInS\fR value and returned in the \fBnS\fR field. .RE @@ -115,45 +103,37 @@ is converted to an \fInS\fR value and returned in the \fBnS\fR field. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_SPEED\fR \fR .ad .RS 28n -.rt Invalid \fInS\fR or \fIdevspeed\fR. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_ATTRIBUTE\fR \fR .ad .RS 28n -.rt Bad \fBAttributes\fR value. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_DeregisterClient.9f b/usr/src/man/man9f/csx_DeregisterClient.9f index a996248a00..babb0b7988 100644 --- a/usr/src/man/man9f/csx_DeregisterClient.9f +++ b/usr/src/man/man9f/csx_DeregisterClient.9f @@ -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 csx_DeregisterClient 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_DEREGISTERCLIENT 9F "Jul 19, 1996" .SH NAME csx_DeregisterClient \- remove client from Card Services list .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -23,12 +23,10 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR \fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE @@ -45,45 +43,37 @@ called. If any resources have not been released, \fBCS_IN_USE\fR is returned. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_IN_USE\fR \fR .ad .RS 28n -.rt Resources not released by this client. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_DupHandle.9f b/usr/src/man/man9f/csx_DupHandle.9f index 17d5b8de94..392828eed1 100644 --- a/usr/src/man/man9f/csx_DupHandle.9f +++ b/usr/src/man/man9f/csx_DupHandle.9f @@ -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 csx_DupHandle 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_DUPHANDLE 9F "Jul 19, 1996" .SH NAME csx_DupHandle \- duplicate access handle .SH SYNOPSIS @@ -24,35 +24,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle1\fR \fR .ad .RS 12n -.rt The access handle returned from \fBcsx_RequestIO\fR(9F) or \fBcsx_RequestWindow\fR(9F) that is to be duplicated. .RE .sp .ne 2 -.mk .na \fB\fIhandle2\fR \fR .ad .RS 12n -.rt A pointer to the newly-created duplicated data access handle. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR \fR .ad .RS 12n -.rt The access attributes that will be applied to the new handle. .RE @@ -100,24 +94,20 @@ data access functions. The ability to specify the order in which the \fBCPU of the following bits may be specified: .sp .ne 2 -.mk .na \fB\fBWIN_ACC_STRICT_ORDER\fR \fR .ad .RS 28n -.rt The data references must be issued by a \fBCPU \fRin program order. Strict ordering is the default behavior. .RE .sp .ne 2 -.mk .na \fB\fBWIN_ACC_UNORDERED_OK\fR \fR .ad .RS 28n -.rt The \fBCPU \fRmay re-order the data references. This includes all kinds of re-ordering (that is, a load followed by a store may be replaced by a store followed by a load). @@ -125,12 +115,10 @@ followed by a load). .sp .ne 2 -.mk .na \fB\fBWIN_ACC_MERGING_OK\fR \fR .ad .RS 28n -.rt The \fBCPU \fRmay merge individual stores to consecutive locations. For example, the \fBCPU \fRmay turn two consecutive byte stores into one halfword store. It may also batch individual loads. For example, the \fBCPU \fRmay turn @@ -140,12 +128,10 @@ implies re-ordering. .sp .ne 2 -.mk .na \fB\fBWIN_ACC_LOADCACHING_OK\fR \fR .ad .RS 28n -.rt The \fBCPU \fRmay cache the data it fetches and reuse it until another store occurs. The default behavior is to fetch new data on every load. Setting this bit also implies merging and re-ordering. @@ -153,12 +139,10 @@ bit also implies merging and re-ordering. .sp .ne 2 -.mk .na \fB\fBWIN_ACC_STORECACHING_OK\fR \fR .ad .RS 28n -.rt The \fBCPU \fRmay keep the data in the cache and push it to the device (perhaps with other data) at a later time. The default behavior is to push the data right away. Setting this bit also implies load caching, merging, and @@ -173,35 +157,29 @@ and cached together. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_FAILURE\fR \fR .ad .RS 28n -.rt Error in \fIflags\fR argument or handle could not be duplicated for some reason. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Error2Text.9f b/usr/src/man/man9f/csx_Error2Text.9f index 1a6c474b44..ec01fb57ee 100644 --- a/usr/src/man/man9f/csx_Error2Text.9f +++ b/usr/src/man/man9f/csx_Error2Text.9f @@ -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 csx_Error2Text 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_ERROR2TEXT 9F "Jul 19, 1996" .SH NAME csx_Error2Text \- convert error return codes to text strings .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -23,12 +23,10 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIer\fR \fR .ad .RS 7n -.rt Pointer to an \fBerror2text_t\fR structure. .RE @@ -62,23 +60,19 @@ Card Services error return code specified in the item field is not found, the .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE @@ -98,7 +92,7 @@ if ((ret = csx_RegisterClient(&client_handle, & error2text_t error2text; error2text.item = ret; csx_Error2Text(&error2text); - cmn_err(CE_CONT, "RegisterClient failed %s (0x%x)", + cmn_err(CE_CONT, "RegisterClient failed %s (0x%x)", error2text.text, ret); } .fi diff --git a/usr/src/man/man9f/csx_Event2Text.9f b/usr/src/man/man9f/csx_Event2Text.9f index 0c6b04b562..8331c65d7e 100644 --- a/usr/src/man/man9f/csx_Event2Text.9f +++ b/usr/src/man/man9f/csx_Event2Text.9f @@ -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 csx_Event2Text 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_EVENT2TEXT 9F "Jul 19, 1996" .SH NAME csx_Event2Text \- convert events to text strings .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -23,12 +23,10 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIev\fR\fR .ad .RS 6n -.rt Pointer to an \fBevent2text_t\fR structure. .RE @@ -46,7 +44,7 @@ The structure members of \fBevent2text_t\fR are: .nf event_t event; /*the event code*/ char text[CS_EVENT_MAX_BUFSIZE] /*the event code*/ - + .fi .in -2 @@ -55,47 +53,39 @@ char text[CS_EVENT_MAX_BUFSIZE] /*the event code*/ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBevent\fR\fR .ad .RS 9n -.rt The text for the event code in the \fBevent\fR field is returned in the \fBtext\fR field. .RE .sp .ne 2 -.mk .na \fB\fBtext\fR\fR .ad .RS 9n -.rt The text string describing the name of the event. .RE .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE @@ -109,13 +99,13 @@ This function may be called from user or kernel context. .sp .in +2 .nf -xx_event(event_t event, int priority, event_callback_args_t *eca) +xx_event(event_t event, int priority, event_callback_args_t *eca) { event2text_t event2text; - event2text.event = event; - csx_Event2Text(&event2text); - cmn_err(CE_CONT, "event %s (0x%x)", event2text.text, (int)event); + event2text.event = event; + csx_Event2Text(&event2text); + cmn_err(CE_CONT, "event %s (0x%x)", event2text.text, (int)event); } .fi .in -2 diff --git a/usr/src/man/man9f/csx_FreeHandle.9f b/usr/src/man/man9f/csx_FreeHandle.9f index 8eec13b0ad..f5a74242a3 100644 --- a/usr/src/man/man9f/csx_FreeHandle.9f +++ b/usr/src/man/man9f/csx_FreeHandle.9f @@ -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 csx_FreeHandle 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_FREEHANDLE 9F "Jul 19, 1996" .SH NAME csx_FreeHandle \- free access handle .SH SYNOPSIS @@ -23,12 +23,10 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 11n -.rt The access handle returned from \fBcsx_RequestIO\fR(9F), \fBcsx_RequestWindow\fR(9F), or \fBcsx_DupHandle\fR(9F). .RE @@ -44,23 +42,19 @@ function, this function will release the resources associated with this handle. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Get8.9f b/usr/src/man/man9f/csx_Get8.9f index e1164b91d1..544413006e 100644 --- a/usr/src/man/man9f/csx_Get8.9f +++ b/usr/src/man/man9f/csx_Get8.9f @@ -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 csx_Get8 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_GET8 9F "Jul 19, 1996" .SH NAME csx_Get8, csx_Get16, csx_Get32, csx_Get64 \- read data from device address .SH SYNOPSIS @@ -38,24 +38,20 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 11n -.rt The access handle returned from \fBcsx_RequestIO\fR(9F), \fBcsx_RequestWindow\fR(9F), or \fBcsx_DupHandle\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIoffset\fR \fR .ad .RS 11n -.rt The offset in bytes from the base of the mapped resource. .RE diff --git a/usr/src/man/man9f/csx_GetFirstClient.9f b/usr/src/man/man9f/csx_GetFirstClient.9f index 59c14623d8..c1e799eca1 100644 --- a/usr/src/man/man9f/csx_GetFirstClient.9f +++ b/usr/src/man/man9f/csx_GetFirstClient.9f @@ -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 csx_GetFirstClient 9F "16 May 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_GETFIRSTCLIENT 9F "May 16, 1997" .SH NAME csx_GetFirstClient, csx_GetNextClient \- return first or next client .SH SYNOPSIS @@ -28,12 +28,10 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIfnc\fR \fR .ad .RS 8n -.rt Pointer to a \fBget_firstnext_client_t\fR structure. .RE @@ -62,29 +60,24 @@ uint32_t num_clients; /* number of clients */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBSocket\fR \fR .ad .RS 18n -.rt If the \fBCS_GET_FIRSTNEXT_CLIENT_SOCKET_ONLY\fR attribute is set, return information only on the \fBPC \fRcard installed in this socket. .RE .sp .ne 2 -.mk .na \fB\fBAttributes\fR \fR .ad .RS 18n -.rt This field indicates the type of client. The field is bit-mapped; the following bits are defined: .sp .ne 2 -.mk .na \fBCS_GET_FIRSTNEXT_CLIENT_ALL_CLIENTS\fR .ad @@ -95,7 +88,6 @@ Return information on all clients. .sp .ne 2 -.mk .na \fBCS_GET_FIRSTNEXT_CLIENT_SOCKET_ONLY\fR .ad @@ -108,90 +100,74 @@ Return client information for the specified socket only. .sp .ne 2 -.mk .na \fB\fBclient_handle\fR \fR .ad .RS 18n -.rt The client handle of the \fBPC \fRcard driver is returned in this field. .RE .sp .ne 2 -.mk .na \fB\fBnum_clients\fR \fR .ad .RS 18n -.rt The number of clients is returned in this field. .RE .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_SOCKET\fR \fR .ad .RS 28n -.rt Socket number is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR \fR .ad .RS 28n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_MORE_ITEMS\fR \fR .ad .RS 28n -.rt \fBPC \fRCard driver does not handle the \fBCS_EVENT_CLIENT_INFO\fR event. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_GetFirstTuple.9f b/usr/src/man/man9f/csx_GetFirstTuple.9f index e09eb60cd5..6ab28891d3 100644 --- a/usr/src/man/man9f/csx_GetFirstTuple.9f +++ b/usr/src/man/man9f/csx_GetFirstTuple.9f @@ -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 csx_GetFirstTuple 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_GETFIRSTTUPLE 9F "Dec 20, 1996" .SH NAME csx_GetFirstTuple, csx_GetNextTuple \- return Card Information Structure tuple .SH SYNOPSIS @@ -28,23 +28,19 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 6n -.rt Pointer to a \fBtuple_t\fR structure. .RE @@ -74,28 +70,23 @@ cisdata_t TupleLink; /* tuple data body size */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBSocket\fR\fR .ad .RS 23n -.rt Not used in Solaris, but for portability with other Card Services implementations, it should be set to the logical socket number. .RE .sp .ne 2 -.mk .na \fB\fBAttributes\fR\fR .ad .RS 23n -.rt This field is bit-mapped. The following bits are defined: .sp .ne 2 -.mk .na \fBTUPLE_RETURN_LINK\fR .ad @@ -118,7 +109,6 @@ returned by this function if the \fBTUPLE_RETURN_LINK\fR bit in the .sp .ne 2 -.mk .na \fBTUPLE_RETURN_IGNORED_TUPLES\fR .ad @@ -135,12 +125,10 @@ location setup by the previous \fBcsx_GetFirstTuple()\fR or .sp .ne 2 -.mk .na \fB\fBDesiredTuple\fR\fR .ad .RS 23n -.rt This field is the tuple value desired. If it is \fBRETURN_FIRST_TUPLE,\fR the very first tuple of the \fBCIS \fRis returned (if it exists). If this field is set to \fBRETURN_NEXT_TUPLE,\fR the very next tuple of the \fBCIS \fRis @@ -150,12 +138,10 @@ entry, the \fBCIS \fRis searched in an attempt to locate a tuple which matches. .sp .ne 2 -.mk .na \fB\fBTupleCode,TupleLink\fR\fR .ad .RS 23n -.rt These fields are the values returned from the tuple found. If there are no tuples on the card, \fBCS_NO_MORE_ITEMS\fR is returned. .RE @@ -170,67 +156,55 @@ client. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRcard. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_MORE_ITEMS\fR\fR .ad .RS 27n -.rt Desired tuple not found. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_GetHandleOffset.9f b/usr/src/man/man9f/csx_GetHandleOffset.9f index 31c24e3a12..ee4cf2d740 100644 --- a/usr/src/man/man9f/csx_GetHandleOffset.9f +++ b/usr/src/man/man9f/csx_GetHandleOffset.9f @@ -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 csx_GetHandleOffset 9F "16 May 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_GETHANDLEOFFSET 9F "May 16, 1997" .SH NAME csx_GetHandleOffset \- return current access handle offset .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> \fBint32_t\fR \fBcsx_GetHandleOffset\fR(\fBacc_handle_t\fR \fIhandle\fR, \fBuint32_t *\fR\fIoffset\fR); .fi @@ -21,23 +21,19 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 11n -.rt Access handle returned by \fBcsx_RequestIRQ\fR(9F) or \fBcsx_RequestIO\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIoffset\fR \fR .ad .RS 11n -.rt Pointer to a \fBuint32_t\fR in which the current access handle offset is returned. .RE @@ -50,12 +46,10 @@ in \fIoffset\fR. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 15n -.rt Successful operation. .RE diff --git a/usr/src/man/man9f/csx_GetMappedAddr.9f b/usr/src/man/man9f/csx_GetMappedAddr.9f index 06f24725c0..133f11ba59 100644 --- a/usr/src/man/man9f/csx_GetMappedAddr.9f +++ b/usr/src/man/man9f/csx_GetMappedAddr.9f @@ -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 csx_GetMappedAddr 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_GETMAPPEDADDR 9F "Jul 19, 1996" .SH NAME csx_GetMappedAddr \- return mapped virtual address .SH SYNOPSIS @@ -23,24 +23,20 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 11n -.rt The access handle returned from \fBcsx_RequestIO\fR(9F), \fBcsx_RequestWindow\fR(9F), or \fBcsx_DupHandle\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIaddr\fR \fR .ad .RS 11n -.rt The virtual or \fBI/O \fRport number represented by the handle. .RE @@ -52,24 +48,20 @@ number represented by the handle, \fIhandle\fR. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt The resulting address or \fBI/O \fRport number can be directly accessed by the caller. .RE .sp .ne 2 -.mk .na \fB\fBCS_FAILURE\fR \fR .ad .RS 28n -.rt The resulting address or \fBI/O \fRport number can not be directly accessed by the caller; the caller must make all accesses to the mapped area via the common access functions. @@ -77,12 +69,10 @@ access functions. .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_GetStatus.9f b/usr/src/man/man9f/csx_GetStatus.9f index c701e04801..24e600d361 100644 --- a/usr/src/man/man9f/csx_GetStatus.9f +++ b/usr/src/man/man9f/csx_GetStatus.9f @@ -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 csx_GetStatus 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_GETSTATUS 9F "Jul 19, 1996" .SH NAME csx_GetStatus \- return the current status of a PC Card and its socket .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -23,23 +23,19 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR \fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIgs\fR \fR .ad .RS 7n -.rt Pointer to a \fBget_status_t\fR structure. .RE @@ -66,30 +62,25 @@ uint32_t raw_CardState; /* raw live card status */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBSocket\fR \fR .ad .RS 18n -.rt Not used in Solaris, but for portability with other Card Services implementations, it should be set to the logical socket number. .RE .sp .ne 2 -.mk .na \fB\fBCardState\fR \fR .ad .RS 18n -.rt The \fBCardState\fR field is the bit-mapped output data returned from Card Services. The bits identify what Card Services thinks the current state of the installed \fBPC \fRCard is. The bits are: .sp .ne 2 -.mk .na \fBCS_STATUS_WRITE_PROTECTED\fR .ad @@ -100,7 +91,6 @@ Card is write protected .sp .ne 2 -.mk .na \fBCS_STATUS_CARD_LOCKED\fR .ad @@ -111,7 +101,6 @@ Card is locked .sp .ne 2 -.mk .na \fBCS_STATUS_EJECTION_REQUEST\fR .ad @@ -122,7 +111,6 @@ Ejection request in progress .sp .ne 2 -.mk .na \fBCS_STATUS_INSERTION_REQUEST\fR .ad @@ -133,7 +121,6 @@ Insertion request in progress .sp .ne 2 -.mk .na \fBCS_STATUS_BATTERY_DEAD\fR .ad @@ -144,7 +131,6 @@ Card battery is dead .sp .ne 2 -.mk .na \fBCS_STATUS_BATTERY_DEAD\fR .ad @@ -155,7 +141,6 @@ Card battery is dead (\fBBVD1\fR) .sp .ne 2 -.mk .na \fBCS_STATUS_BATTERY_LOW\fR .ad @@ -166,7 +151,6 @@ Card battery is low (\fBBVD2\fR) .sp .ne 2 -.mk .na \fBCS_STATUS_CARD_READY\fR .ad @@ -177,7 +161,6 @@ Card is READY .sp .ne 2 -.mk .na \fBCS_STATUS_CARD_INSERTED\fR .ad @@ -188,7 +171,6 @@ Card is inserted .sp .ne 2 -.mk .na \fBCS_STATUS_REQ_ATTN\fR .ad @@ -199,7 +181,6 @@ Extended status attention request .sp .ne 2 -.mk .na \fBCS_STATUS_RES_EVT1\fR .ad @@ -210,7 +191,6 @@ Extended status reserved event status .sp .ne 2 -.mk .na \fBCS_STATUS_RES_EVT2\fR .ad @@ -221,7 +201,6 @@ Extended status reserved event status .sp .ne 2 -.mk .na \fB CS_STATUS_RES_EVT3\fR .ad @@ -232,7 +211,6 @@ Extended status reserved event status .sp .ne 2 -.mk .na \fBCS_STATUS_VCC_50\fR .ad @@ -243,7 +221,6 @@ Extended status reserved event status .sp .ne 2 -.mk .na \fBCS_STATUS_VCC_33\fR .ad @@ -254,7 +231,6 @@ Extended status reserved event status .sp .ne 2 -.mk .na \fBCS_STATUS_VCC_XX\fR .ad @@ -272,89 +248,73 @@ not present in the \fBPRR\fR or \fBESR\fR, a simulated state bit value is returned as defined below: .sp .ne 2 -.mk .na \fBCS_STATUS_WRITE_PROTECTED\fR .ad .RS 29n -.rt Not write protected .RE .sp .ne 2 -.mk .na \fBCS_STATUS_BATTERY_DEAD\fR .ad .RS 29n -.rt Power good .RE .sp .ne 2 -.mk .na \fBPCS_STATUS_BATTERY_LOW\fR .ad .RS 29n -.rt Power good .RE .sp .ne 2 -.mk .na \fBCS_STATUS_CARD_READY\fR .ad .RS 29n -.rt Ready .RE .sp .ne 2 -.mk .na \fBCS_STATUS_REQ_ATTN\fR .ad .RS 29n -.rt Not set .RE .sp .ne 2 -.mk .na \fBCS_STATUS_RES_EVT1\fR .ad .RS 29n -.rt Not set .RE .sp .ne 2 -.mk .na \fBCS_STATUS_RES_EVT2\fR .ad .RS 29n -.rt Not set .RE .sp .ne 2 -.mk .na \fBCS_STATUS_RES_EVT3\fR .ad .RS 29n -.rt Not set .RE @@ -362,17 +322,14 @@ Not set .sp .ne 2 -.mk .na \fB\fBSocketState\fR \fR .ad .RS 18n -.rt The \fBSocketState\fR field is a bit-map of the current card and socket state. The bits are: .sp .ne 2 -.mk .na \fBCS_SOCK_STATUS_WRITE_PROTECT_CHANGE\fR .ad @@ -383,7 +340,6 @@ Write Protect .sp .ne 2 -.mk .na \fBECS_SOCK_STATUS_CARD_LOCK_CHANGE\fR .ad @@ -394,7 +350,6 @@ Card Lock Change .sp .ne 2 -.mk .na \fBCS_SOCK_STATUS_EJECTION_PENDING\fR .ad @@ -405,7 +360,6 @@ Ejection Request .sp .ne 2 -.mk .na \fBCS_SOCK_STATUS_INSERTION_PENDING\fR .ad @@ -416,7 +370,6 @@ Insertion Request .sp .ne 2 -.mk .na \fBCS_SOCK_STATUS_BATTERY_DEAD_CHANGE\fR .ad @@ -427,7 +380,6 @@ Battery Dead .sp .ne 2 -.mk .na \fBCS_SOCK_STATUS_BATTERY_LOW_CHANGE\fR .ad @@ -438,7 +390,6 @@ Battery Low .sp .ne 2 -.mk .na \fBCS_SOCK_STATUS_CARD_READY_CHANGE\fR .ad @@ -449,7 +400,6 @@ Ready Change .sp .ne 2 -.mk .na \fBCS_SOCK_STATUS_CARD_INSERTION_CHANGE\fR .ad @@ -470,12 +420,10 @@ only on the state reported in the \fBCardState\fR field. .sp .ne 2 -.mk .na \fB\fBraw_CardState\fR \fR .ad .RS 18n -.rt The \fBraw_CardState\fR field is a Solaris-specific extension that allows the client to determine if any card is inserted in the socket. The bit definitions in the \fBraw_CardState\fR field are identical to those in the \fBCardState\fR @@ -486,45 +434,37 @@ field with the exception that the \fBCS_STATUS_CARD_INSERTED\fR bit in the .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_SOCKET\fR \fR .ad .RS 28n -.rt Error getting socket state. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_GetTupleData.9f b/usr/src/man/man9f/csx_GetTupleData.9f index f2ab402235..ed59e10e13 100644 --- a/usr/src/man/man9f/csx_GetTupleData.9f +++ b/usr/src/man/man9f/csx_GetTupleData.9f @@ -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 csx_GetTupleData 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_GETTUPLEDATA 9F "Dec 20, 1996" .SH NAME csx_GetTupleData \- return the data portion of a tuple .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -23,23 +23,19 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 6n -.rt Pointer to a \fBtuple_t\fR structure. .RE @@ -72,60 +68,50 @@ cisdata_t TupleLink; /* tuple link */ .sp .ne 2 -.mk .na \fB\fBSocket\fR\fR .ad .RS 16n -.rt Not used in Solaris, but for portability with other Card Services implementations, it should be set to the logical socket number. .RE .sp .ne 2 -.mk .na \fB\fBAttributes\fR\fR .ad .RS 16n -.rt Initialized by \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F); the client must not modify the value in this field. .RE .sp .ne 2 -.mk .na \fB\fBDesiredTuple\fR\fR .ad .RS 16n -.rt Initialized by \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F); the client must not modify the value in this field. .RE .sp .ne 2 -.mk .na \fB\fBTupleOffset\fR\fR .ad .RS 16n -.rt This field allows partial tuple information to be retrieved, starting anywhere within the tuple. .RE .sp .ne 2 -.mk .na \fB\fBTupleDataMax\fR\fR .ad .RS 16n -.rt This field is the size of the tuple data buffer that Card Services uses to return raw tuple data from \fBcsx_GetTupleData\fR. It can be larger than the number of bytes in the tuple data body. Card Services ignores any value placed @@ -134,47 +120,39 @@ here by the client. .sp .ne 2 -.mk .na \fB\fBTupleDataLen\fR\fR .ad .RS 16n -.rt This field is the actual size of the tuple data body. It represents the number of tuple data body bytes returned. .RE .sp .ne 2 -.mk .na \fB\fBTupleData\fR\fR .ad .RS 16n -.rt This field is an array of bytes containing the raw tuple data body contents. .RE .sp .ne 2 -.mk .na \fB\fBTupleCode\fR\fR .ad .RS 16n -.rt Initialized by \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F); the client must not modify the value in this field. .RE .sp .ne 2 -.mk .na \fB\fBTupleLink\fR\fR .ad .RS 16n -.rt Initialized by \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F); the client must not modify the value in this field. .RE @@ -182,79 +160,65 @@ client must not modify the value in this field. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_ARGS\fR\fR .ad .RS 27n -.rt Data from prior \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F) is corrupt. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_MORE_ITEMS\fR\fR .ad .RS 27n -.rt Card Services was not able to read the tuple from the \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_MakeDeviceNode.9f b/usr/src/man/man9f/csx_MakeDeviceNode.9f index bd52f24683..1888d83c94 100644 --- a/usr/src/man/man9f/csx_MakeDeviceNode.9f +++ b/usr/src/man/man9f/csx_MakeDeviceNode.9f @@ -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 csx_MakeDeviceNode 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_MAKEDEVICENODE 9F "Jul 19, 1996" .SH NAME csx_MakeDeviceNode, csx_RemoveDeviceNode \- create and remove minor nodes on behalf of the client .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -29,23 +29,19 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR \fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIdn\fR \fR .ad .RS 7n -.rt Pointer to a \fBmake_device_node_t\fR or \fBremove_device_node_t\fR structure. .RE @@ -102,12 +98,10 @@ The \fBAction\fR field is used to specify the operation that The following \fBAction\fR values are defined for \fBcsx_MakeDeviceNode()\fR: .sp .ne 2 -.mk .na \fBCREATE_DEVICE_NODE\fR .ad .RS 22n -.rt Create \fBNumDevNodes\fR minor nodes .RE @@ -116,23 +110,19 @@ Create \fBNumDevNodes\fR minor nodes The following \fBAction\fR values are defined for \fBcsx_RemoveDeviceNode()\fR: .sp .ne 2 -.mk .na \fBREMOVE_DEVICE_NODE\fR .ad .RS 27n -.rt Remove \fBNumDevNodes\fR minor nodes .RE .sp .ne 2 -.mk .na \fBREMOVE_ALL_DEVICE_NODES\fR .ad .RS 27n -.rt Remove all minor nodes for this client .RE @@ -141,12 +131,10 @@ Remove all minor nodes for this client For \fBcsx_MakeDeviceNode()\fR, if the \fBAction\fR field is: .sp .ne 2 -.mk .na \fB\fBCREATE_DEVICE_NODE\fR \fR .ad .RS 23n -.rt The \fBNumDevNodes\fR field must be set to the number of minor devices to create, and the client must allocate the quantity of \fBdevnode_desc_t\fR structures specified by \fBNumDevNodes\fR and fill out the fields in the @@ -161,12 +149,10 @@ the parameters of the same name to the \fBddi_create_minor_node\fR(9F) \fBDDI For \fBcsx_RemoveDeviceNode()\fR, if the \fBAction\fR field is: .sp .ne 2 -.mk .na \fB\fBREMOVE_DEVICE_NODE\fR \fR .ad .RS 28n -.rt The \fBNumDevNodes\fR field must be set to the number of minor devices to remove, and the client must allocate the quantity of \fBdevnode_desc_t\fR structures specified by \fBNumDevNodes\fR and fill out the fields in the @@ -178,12 +164,10 @@ the parameters of the same name to the \fBddi_remove_minor_node\fR(9F) \fBDDI .sp .ne 2 -.mk .na \fB\fBREMOVE_ALL_DEVICE_NODES\fR \fR .ad .RS 28n -.rt The \fBNumDevNodes\fR field must be set to \fB0\fR and the \fBdevnode_desc_t\fR structure pointer must be set to \fINULL\fR. All device nodes for this client will be removed from the filesystem. @@ -192,67 +176,55 @@ will be removed from the filesystem. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_ATTRIBUTE\fR \fR .ad .RS 28n -.rt The value of one or more arguments is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_ARGS\fR \fR .ad .RS 28n -.rt Action is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_OUT_OF_RESOURCE\fR \fR .ad .RS 28n -.rt Unable to create or remove device node. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_MapLogSocket.9f b/usr/src/man/man9f/csx_MapLogSocket.9f index 0f65eedca7..5a5092f6c4 100644 --- a/usr/src/man/man9f/csx_MapLogSocket.9f +++ b/usr/src/man/man9f/csx_MapLogSocket.9f @@ -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 csx_MapLogSocket 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_MAPLOGSOCKET 9F "Jul 19, 1996" .SH NAME csx_MapLogSocket \- return the physical socket number associated with the client handle .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -24,23 +24,19 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR \fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIls\fR \fR .ad .RS 7n -.rt Pointer to a \fBmap_log_socket_t\fR structure. .RE @@ -67,36 +63,30 @@ uint32_t PhySocket; /* physical socket number */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBLogSocket\fR \fR .ad .RS 15n -.rt Not used by this implementation of Card Services and can be set to any arbitrary value. .RE .sp .ne 2 -.mk .na \fB\fBPhyAdapter\fR \fR .ad .RS 15n -.rt Returns the physical adapter number, which is always \fB0\fR in the Solaris implementation of Card Services. .RE .sp .ne 2 -.mk .na \fB\fBPhySocket\fR \fR .ad .RS 15n -.rt Returns the physical socket number associated with the client handle. The physical socket number is typically used as part of an error or message string or if the client creates minor nodes based on the physical socket number. @@ -105,34 +95,28 @@ or if the client creates minor nodes based on the physical socket number. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_MapMemPage.9f b/usr/src/man/man9f/csx_MapMemPage.9f index 06ad098dda..6d670ccd96 100644 --- a/usr/src/man/man9f/csx_MapMemPage.9f +++ b/usr/src/man/man9f/csx_MapMemPage.9f @@ -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 csx_MapMemPage 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_MAPMEMPAGE 9F "Jul 19, 1996" .SH NAME csx_MapMemPage \- map the memory area on a PC Card .SH SYNOPSIS @@ -23,23 +23,19 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIwh\fR \fR .ad .RS 7n -.rt Window handle returned from \fBcsx_RequestWindow\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fImp\fR \fR .ad .RS 7n -.rt Pointer to a \fBmap_mem_page_t\fR structure. .RE @@ -65,24 +61,20 @@ uint32_t Page; /* page number */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBCardOffset\fR \fR .ad .RS 15n -.rt The absolute offset in bytes from the beginning of the \fBPC \fRCard to map into system memory. .RE .sp .ne 2 -.mk .na \fB\fBPage\fR \fR .ad .RS 15n -.rt Used internally by Card Services; clients must set this field to \fB0\fR before calling this function. .RE @@ -90,67 +82,55 @@ calling this function. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_OFFSET\fR \fR .ad .RS 28n -.rt Offset is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_PAGE\fR \fR .ad .RS 28n -.rt Page is not zero. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR \fR .ad .RS 28n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_ModifyConfiguration.9f b/usr/src/man/man9f/csx_ModifyConfiguration.9f index fedbbfb6f0..ef403999b7 100644 --- a/usr/src/man/man9f/csx_ModifyConfiguration.9f +++ b/usr/src/man/man9f/csx_ModifyConfiguration.9f @@ -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 csx_ModifyConfiguration 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_MODIFYCONFIGURATION 9F "Jul 19, 1996" .SH NAME csx_ModifyConfiguration \- modify socket and PC Card Configuration Register .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -23,23 +23,19 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR \fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fImc\fR \fR .ad .RS 7n -.rt Pointer to a \fBmodify_config_t\fR structure. .RE @@ -68,80 +64,66 @@ uint32_t Vpp2; /* Vpp2 value */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBSocket\fR \fR .ad .RS 15n -.rt Not used in Solaris, but for portability with other Card Services implementations, it should be set to the logical socket number. .RE .sp .ne 2 -.mk .na \fB\fBAttributes\fR \fR .ad .RS 15n -.rt This field is bit-mapped. The following bits are defined: .sp .ne 2 -.mk .na \fBCONF_ENABLE_IRQ_STEERING\fR .ad .RS 28n -.rt Enable IRQ steering. Set to connect the \fBPC \fRCard \fBIREQ \fRline to a previously selected system interrupt. .RE .sp .ne 2 -.mk .na \fBCONF_IRQ_CHANGE_VALID\fR .ad .RS 28n -.rt IRQ change valid. Set to request the \fBIRQ \fRsteering enable to be changed. .RE .sp .ne 2 -.mk .na \fBCONF_VPP1_CHANGE_VALID\fR .ad .RS 28n -.rt Vpp1 change valid. These bits are set to request a change to the corresponding voltage level for the \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fBCONF_VPP2_CHANGE_VALID\fR .ad .RS 28n -.rt Vpp2 change valid. These bits are set to request a change to the corresponding voltage level for the \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fBCONF_VSOVERRIDE\fR .ad .RS 28n -.rt Override VS pins. For Low Voltage keyed cards, must be set if a client desires to apply a voltage inappropriate for this card to any pin. After card insertion and prior to the first \fBcsx_RequestConfiguration\fR(9F) call for this client, @@ -153,12 +135,10 @@ Interface Specification. (See \fBWARNINGS\fR.) .sp .ne 2 -.mk .na \fB\fBVpp1\fR, \fBVpp2\fR\fR .ad .RS 15n -.rt Represent voltages expressed in tenths of a volt. Values from \fB0\fR to \fB25.5\fR volts may be set. To be valid, the exact voltage must be available from the system. To be compliant with the \fIPC Card 95 Standard, @@ -169,67 +149,55 @@ and \fBVpp\fR. (See \fBWARNINGS\fR.) .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid or \fBcsx_RequestConfiguration\fR(9F) not done. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_SOCKET\fR \fR .ad .RS 28n -.rt Error getting/setting socket hardware parameters. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_VPP\fR \fR .ad .RS 28n -.rt Requested \fBVpp\fR is not available on socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR \fR .ad .RS 28n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_ModifyWindow.9f b/usr/src/man/man9f/csx_ModifyWindow.9f index d1881b4eac..575e237304 100644 --- a/usr/src/man/man9f/csx_ModifyWindow.9f +++ b/usr/src/man/man9f/csx_ModifyWindow.9f @@ -4,13 +4,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 csx_ModifyWindow 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_MODIFYWINDOW 9F "Jul 19, 1996" .SH NAME csx_ModifyWindow \- modify window attributes .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -24,23 +24,19 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIwh\fR \fR .ad .RS 7n -.rt Window handle returned from \fBcsx_RequestWindow\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fImw\fR \fR .ad .RS 7n -.rt Pointer to a \fBmodify_win_t\fR structure. .RE @@ -73,56 +69,46 @@ uint32_t AccessSpeed; /* window access speed */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBAttributes\fR \fR .ad .RS 15n -.rt This field is bit-mapped and defined as follows: .sp .ne 2 -.mk .na \fBWIN_MEMORY_TYPE_CM\fR .ad .RS 26n -.rt Window points to Common Memory area. Set this to map the window to Common Memory. .RE .sp .ne 2 -.mk .na \fBWIN_MEMORY_TYPE_AM\fR .ad .RS 26n -.rt Window points to Attribute Memory area. Set this to map the window to Attribute Memory. .RE .sp .ne 2 -.mk .na \fBWIN_ENABLE\fR .ad .RS 26n -.rt Enable Window. The client must set this to enable the window. .RE .sp .ne 2 -.mk .na \fBWIN_ACCESS_SPEED_VALID\fR .ad .RS 26n -.rt \fBAccessSpeed\fR valid. The client must set this when the \fBAccessSpeed\fR field has a value that the client wants set for the window. .RE @@ -131,12 +117,10 @@ field has a value that the client wants set for the window. .sp .ne 2 -.mk .na \fB\fBAccessSpeed\fR\fR .ad .RS 15n -.rt The bit definitions for this field use the format of the extended speed byte of the Device \fBID \fRtuple. If the mantissa is \fB0\fR (noted as reserved in the \fIPC Card 95 Standard\fR), the lower bits are a binary code representing a @@ -144,67 +128,55 @@ speed from the list below. Numbers in the first column are codes; items in the second column are speeds. .sp .ne 2 -.mk .na \fB0\fR .ad .RS 9n -.rt Reserved: do not use .RE .sp .ne 2 -.mk .na \fB1\fR .ad .RS 9n -.rt \fB250 nsec\fR .RE .sp .ne 2 -.mk .na \fB2\fR .ad .RS 9n -.rt \fB200 nsec\fR .RE .sp .ne 2 -.mk .na \fB3\fR .ad .RS 9n -.rt \fB150 nsec\fR .RE .sp .ne 2 -.mk .na \fB4\fR .ad .RS 9n -.rt \fB100 nsec\fR .RE .sp .ne 2 -.mk .na \fB5 - 7\fR .ad .RS 9n -.rt Reserved: do not use .RE @@ -216,78 +188,64 @@ perturbing the \fBAccessSpeed\fR field. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Window handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR \fR .ad .RS 28n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_OFFSET\fR \fR .ad .RS 28n -.rt Error getting/setting window hardware parameters. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_WINDOW\fR \fR .ad .RS 28n -.rt Error getting/setting window hardware parameters. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_SPEED\fR \fR .ad .RS 28n -.rt \fBAccessSpeed\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_ParseTuple.9f b/usr/src/man/man9f/csx_ParseTuple.9f index ccab40cce1..4d5416a5ca 100644 --- a/usr/src/man/man9f/csx_ParseTuple.9f +++ b/usr/src/man/man9f/csx_ParseTuple.9f @@ -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 csx_ParseTuple 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSETUPLE 9F "Dec 20, 1996" .SH NAME csx_ParseTuple \- generic tuple parser .SH SYNOPSIS @@ -24,47 +24,39 @@ Solaris \fBDDI\fR Specific (Solaris \fBDDI\fR) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR \fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR \fR .ad .RS 7n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcp\fR \fR .ad .RS 7n -.rt Pointer to a \fBcisparse_t\fR structure that unifies all tuple parsing structures. .RE .sp .ne 2 -.mk .na \fB\fIcd\fR \fR .ad .RS 7n -.rt Extended tuple data for some tuples. .RE @@ -111,78 +103,64 @@ The structure members of \fBcisparse_t\fR are: .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR \fR .ad .RS 28n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR \fR .ad .RS 28n -.rt No \fBPC\fR Card in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_CIS\fR \fR .ad .RS 28n -.rt Generic parser error. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR \fR .ad .RS 28n -.rt No Card Information Structure (\fBCIS\fR) on \fBPC\fR Card. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA\fR hardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_BATTERY.9f b/usr/src/man/man9f/csx_Parse_CISTPL_BATTERY.9f index 9cf78c8187..d674de04b3 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_BATTERY.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_BATTERY.9f @@ -3,17 +3,17 @@ .\" 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 csx_Parse_CISTPL_BATTERY 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_BATTERY 9F "Dec 20, 1996" .SH NAME csx_Parse_CISTPL_BATTERY \- parse the Battery Replacement Date tuple .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> -\fBint32_t\fR \fBcsx_Parse_CISTPL_BATTERY\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, +\fBint32_t\fR \fBcsx_Parse_CISTPL_BATTERY\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_battery_t *\fR\fIcb\fR); .fi @@ -24,35 +24,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 6n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcb\fR\fR .ad .RS 6n -.rt Pointer to a \fBcistpl_battery_t\fR structure which contains the parsed \fBCISTPL_BATTERY\fR tuple information upon return from this function. .RE @@ -85,90 +79,74 @@ uint32_t xday; /* date battery due for replacement */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBrday\fR\fR .ad .RS 8n -.rt This field indicates the date on which the battery was last replaced. .RE .sp .ne 2 -.mk .na \fB\fBxday\fR\fR .ad .RS 8n -.rt This field indicates the date on which the battery should be replaced. .RE .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_BYTEORDER.9f b/usr/src/man/man9f/csx_Parse_CISTPL_BYTEORDER.9f index ac5e82dd2b..12bcffd451 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_BYTEORDER.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_BYTEORDER.9f @@ -4,13 +4,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 csx_Parse_CISTPL_BYTEORDER 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_BYTEORDER 9F "Dec 20, 1996" .SH NAME csx_Parse_CISTPL_BYTEORDER \- parse the Byte Order tuple .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -25,35 +25,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR \fR .ad .RS 8n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR \fR .ad .RS 8n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcbo\fR \fR .ad .RS 8n -.rt Pointer to a \fBcistpl_byteorder_t\fR structure which contains the parsed \fBCISTPL_BYTEORDER\fR tuple information upon return from this function. .RE @@ -85,32 +79,26 @@ uint32_t map; /* byte mapping code */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBorder\fR \fR .ad .RS 10n -.rt This field specifies the byte order for multi-byte numeric data. .sp .ne 2 -.mk .na \fBTPLBYTEORD_LOW\fR .ad .RS 18n -.rt Little endian order .RE .sp .ne 2 -.mk .na \fBTPLBYTEORD_VS\fR .ad .RS 18n -.rt Vendor specific .RE @@ -118,43 +106,35 @@ Vendor specific .sp .ne 2 -.mk .na \fB\fBmap\fR \fR .ad .RS 10n -.rt This field specifies the byte mapping for 16-bit or wider cards. .sp .ne 2 -.mk .na \fBTPLBYTEMAP_LOW\fR .ad .RS 19n -.rt Byte zero is least significant byte .RE .sp .ne 2 -.mk .na \fBTPLBYTEMAP_HIGH\fR .ad .RS 19n -.rt Byte zero is most significant byte .RE .sp .ne 2 -.mk .na \fBTPLBYTEMAP_VS\fR .ad .RS 19n -.rt Vendor specific mapping .RE @@ -163,67 +143,55 @@ Vendor specific mapping .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR \fR .ad .RS 28n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR \fR .ad .RS 28n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR \fR .ad .RS 28n -.rt No Card Information Structure (CIS) \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_CFTABLE_ENTRY.9f b/usr/src/man/man9f/csx_Parse_CISTPL_CFTABLE_ENTRY.9f index 29585a591e..053b5b3ef9 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_CFTABLE_ENTRY.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_CFTABLE_ENTRY.9f @@ -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 csx_Parse_CISTPL_CFTABLE_ENTRY 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_CFTABLE_ENTRY 9F "Dec 20, 1996" .SH NAME csx_Parse_CISTPL_CFTABLE_ENTRY \- parse 16-bit Card Configuration Table Entry tuple .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -25,35 +25,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 7n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcft\fR\fR .ad .RS 7n -.rt Pointer to a \fBcistpl_cftable_entry_t\fR structure which contains the parsed \fBCISTPL_CFTABLE_ENTRY\fR tuple information upon return from this function. .RE @@ -87,7 +81,7 @@ cistpl_cftable_entry_speed_t speed; /* device speed description */ cistpl_cftable_entry_io_t io; /* device I/O map */ cistpl_cftable_entry_irq_t irq; /* device IRQ utilization */ cistpl_cftable_entry_mem_t mem; /* device memory space */ -cistpl_cftable_entry_misc_t misc; /* miscellaneous +cistpl_cftable_entry_misc_t misc; /* miscellaneous /* device features */ .fi .in -2 @@ -97,7 +91,6 @@ cistpl_cftable_entry_misc_t misc; /* miscellaneous The \fBflags\fR field is defined and bit-mapped as follows: .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_DEFAULT\fR .ad @@ -108,7 +101,6 @@ This is a default configuration .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_IF\fR .ad @@ -119,7 +111,6 @@ If configuration byte exists .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_PWR\fR .ad @@ -130,7 +121,6 @@ Power information exists .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_TD\fR .ad @@ -141,7 +131,6 @@ Timing information exists .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_IO\fR .ad @@ -152,7 +141,6 @@ I/O information exists .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_IRQ\fR .ad @@ -163,7 +151,6 @@ IRQ information exists .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_MEM\fR .ad @@ -174,7 +161,6 @@ MEM space information exists .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_MISC\fR .ad @@ -185,7 +171,6 @@ MISC information exists .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_STCE_EV\fR .ad @@ -196,7 +181,6 @@ STCE_EV exists .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_STCE_PD\fR .ad @@ -211,7 +195,6 @@ If the \fBCISTPL_CFTABLE_TPCE_IF\fR flag is set, the \fBifc\fR field is bit-mapped and defined as follows: .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_IF_MEMORY\fR .ad @@ -222,7 +205,6 @@ Memory interface .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_IF_IO_MEM\fR .ad @@ -233,7 +215,6 @@ IO and memory .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_IF_CUSTOM_0\fR .ad @@ -244,7 +225,6 @@ Custom interface 0 .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_IF_CUSTOM_1\fR .ad @@ -255,7 +235,6 @@ Custom interface 1 .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_IF_CUSTOM_2\fR .ad @@ -266,7 +245,6 @@ Custom interface 2 .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_IF_CUSTOM_3\fR .ad @@ -277,7 +255,6 @@ Custom interface 3 .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_IF_MASK\fR .ad @@ -288,7 +265,6 @@ Interface type mask .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_IF_BVD\fR .ad @@ -299,7 +275,6 @@ BVD active in PRR .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_IF_WP\fR .ad @@ -310,7 +285,6 @@ WP active in PRR .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_IF_RDY\fR .ad @@ -321,7 +295,6 @@ RDY active in PRR .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_IF_MWAIT\fR .ad @@ -354,7 +327,6 @@ cistpl_cftable_entry_pwr_t pd_vpp2; /* Vpp2 power description */ This \fBflags\fR field is bit-mapped and defined as follows: .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_PWR_VCC\fR .ad @@ -365,7 +337,6 @@ Vcc description valid .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_PWR_VPP1\fR .ad @@ -376,7 +347,6 @@ Vpp1 description valid .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_PWR_VPP2\fR .ad @@ -414,78 +384,64 @@ uint32_t pdownI_flags; \fBpeakI_flag\fR, and \fBpdownI\fR are defined and bit-mapped as follows: .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_PD_NOMV\fR .ad .RS 29n -.rt Nominal supply voltage .RE .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_PD_MINV\fR .ad .RS 29n -.rt Minimum supply voltage .RE .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_PD_MAXV\fR .ad .RS 29n -.rt Maximum supply voltage .RE .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_PD_STATICI\fR .ad .RS 29n -.rt Continuous supply current .RE .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_PD_AVGI\fR .ad .RS 29n -.rt Maximum current required averaged over 1 second .RE .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_PD_PEAKI\fR .ad .RS 29n -.rt Maximum current required averaged over 10mS .RE .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_PD_PDOWNI\fR .ad .RS 29n -.rt Power down supply current required .RE @@ -496,56 +452,46 @@ Power down supply current required bit-mapped as follows: .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_PD_EXISTS\fR .ad .RS 30n -.rt This parameter exists .RE .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_PD_MUL10\fR .ad .RS 30n -.rt Multiply return value by 10 .RE .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_PD_NC_SLEEP\fR .ad .RS 30n -.rt No connection on sleep/power down .RE .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_PD_ZERO\fR .ad .RS 30n -.rt Zero value required .RE .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_PD_NC\fR .ad .RS 30n -.rt No connection ever .RE @@ -570,7 +516,6 @@ uint32_t nS_rsvd; /* max RSVD time in nS */ The \fBflags\fR field is bit-mapped and defined as follows: .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_TD_WAIT\fR .ad @@ -581,7 +526,6 @@ WAIT timing exists .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_TD_RDY\fR .ad @@ -592,7 +536,6 @@ RDY/BSY timing exists .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_TD_RSVD\fR .ad @@ -620,7 +563,6 @@ cistpl_cftable_entry_io_range_t The \fBflags\fR field is defined and bit-mapped as follows: .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_IO_BUS\fR .ad @@ -631,7 +573,6 @@ Bus width mask .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_IO_BUS8\fR .ad @@ -642,7 +583,6 @@ Bus width mask .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_IO_BUS16\fR .ad @@ -653,7 +593,6 @@ Bus width mask .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_IO_RANGE\fR .ad @@ -702,7 +641,6 @@ cistpl_cftable_entry_mem_window_t The \fBflags\fR field is defined and bit-mapped as follows: .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_MEM3\fR .ad @@ -713,7 +651,6 @@ Space descriptors .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_MEM2\fR .ad @@ -724,7 +661,6 @@ Space descriptors .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_MEM1\fR .ad @@ -735,7 +671,6 @@ Card address=0 any host address .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_FS_MEM_HOST\fR .ad @@ -771,7 +706,6 @@ uint32_t flags; /* miscellaneous features flags */ The \fBflags\fR field is defined and bit-mapped as follows: .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_MI_MTC_MASK\fR .ad @@ -782,7 +716,6 @@ Max twin cards mask .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_MI_AUDIO\fR .ad @@ -793,7 +726,6 @@ Audio on BVD2 .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_MI_READONLY\fR .ad @@ -804,7 +736,6 @@ R/O storage .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_MI_PWRDOWN\fR .ad @@ -815,7 +746,6 @@ Powerdown capable .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_MI_DRQ_MASK\fR .ad @@ -826,7 +756,6 @@ DMAREQ mask .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_MI_DRQ_SPK\fR .ad @@ -837,7 +766,6 @@ DMAREQ on SPKR .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_MI_DRQ_IOIS\fR .ad @@ -848,7 +776,6 @@ DMAREQ on IOIS16 .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_MI_DRQ_INP\fR .ad @@ -859,7 +786,6 @@ DMAREQ on INPACK .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_MI_DMA_8\fR .ad @@ -870,7 +796,6 @@ DMA width 8 bits .sp .ne 2 -.mk .na \fBCISTPL_CFTABLE_TPCE_MI_DMA_16\fR .ad @@ -882,67 +807,55 @@ DMA width 16 bits .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_CONFIG.9f b/usr/src/man/man9f/csx_Parse_CISTPL_CONFIG.9f index 777b25b686..4bbf84e1a1 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_CONFIG.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_CONFIG.9f @@ -3,17 +3,17 @@ .\" 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 csx_Parse_CISTPL_CONFIG 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_CONFIG 9F "Dec 20, 1996" .SH NAME csx_Parse_CISTPL_CONFIG \- parse Configuration tuple .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> -\fBint32_t\fR \fBcsx_Parse_CISTPL_CONFIG\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, +\fBint32_t\fR \fBcsx_Parse_CISTPL_CONFIG\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_config_t *\fR\fIcc\fR); .fi @@ -24,35 +24,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 6n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcc\fR\fR .ad .RS 6n -.rt Pointer to a \fBcistpl_config_t\fR structure which contains the parsed \fBCISTPL_CONFIG\fR tuple information upon return from this function. .RE @@ -87,121 +81,99 @@ uint32_t last; /* last config index */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBpresent\fR\fR .ad .RS 11n -.rt This field indicates which configuration registers are present on the \fBPC \fRCard. .sp .ne 2 -.mk .na \fBCONFIG_OPTION_REG_PRESENT\fR .ad .RS 30n -.rt Configuration Option Register present .RE .sp .ne 2 -.mk .na \fBCONFIG_STATUS_REG_PRESENT\fR .ad .RS 30n -.rt Configuration Status Register present .RE .sp .ne 2 -.mk .na \fBCONFIG_PINREPL_REG_PRESENT\fR .ad .RS 30n -.rt Pin Replacement Register present .RE .sp .ne 2 -.mk .na \fBCONFIG_COPY_REG_PRESENT\fR .ad .RS 30n -.rt Copy Register present .RE .sp .ne 2 -.mk .na \fBCONFIG_EXSTAT_REG_PRESENT\fR .ad .RS 30n -.rt Extended Status Register present .RE .sp .ne 2 -.mk .na \fBCONFIG_IOBASE0_REG_PRESENT\fR .ad .RS 30n -.rt IO Base 0 Register present .RE .sp .ne 2 -.mk .na \fBCONFIG_IOBASE1_REG_PRESENT\fR .ad .RS 30n -.rt IO Base 1 Register present .RE .sp .ne 2 -.mk .na \fBCONFIG_IOBASE2_REG_PRESENT\fR .ad .RS 30n -.rt IO Base2 Register present .RE .sp .ne 2 -.mk .na \fBCONFIG_IOBASE3_REG_PRESENT\fR .ad .RS 30n -.rt IO Base3 Register present .RE .sp .ne 2 -.mk .na \fBCONFIG_IOLIMIT_REG_PRESENT\fR .ad .RS 30n -.rt IO Limit Register present .RE @@ -209,36 +181,30 @@ IO Limit Register present .sp .ne 2 -.mk .na \fB\fBnr\fR\fR .ad .RS 11n -.rt This field specifies the number of configuration registers that are present on the \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBhr\fR\fR .ad .RS 11n -.rt This field specifies the highest configuration register number that is present on the \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBregs\fR\fR .ad .RS 11n -.rt This array contains the offset from the start of Attribute Memory space for each configuration register that is present on the \fBPC \fRCard. If a configuration register is not present on the \fBPC \fRCard, the value in the @@ -247,24 +213,20 @@ corresponding entry in the \fBregs\fR array is undefined. .sp .ne 2 -.mk .na \fB\fBbase\fR\fR .ad .RS 11n -.rt This field contains the offset from the start of Attribute Memory space to the base of the \fBPC \fRCard configuration register space. .RE .sp .ne 2 -.mk .na \fB\fBlast\fR\fR .ad .RS 11n -.rt This field contains the value of the last valid configuration index for this \fBPC \fRCard. .RE @@ -272,67 +234,55 @@ This field contains the value of the last valid configuration index for this .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_DATE.9f b/usr/src/man/man9f/csx_Parse_CISTPL_DATE.9f index 98d45b8f40..b84bcae7f0 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_DATE.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_DATE.9f @@ -3,17 +3,17 @@ .\" 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 csx_Parse_CISTPL_DATE 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_DATE 9F "Dec 20, 1996" .SH NAME csx_Parse_CISTPL_DATE \- parse the Card Initialization Date tuple .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> -\fBint32_t\fR \fBcsx_Parse_CISTPL_DATE\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, +\fBint32_t\fR \fBcsx_Parse_CISTPL_DATE\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_date_t *\fR\fIcd\fR); .fi @@ -24,35 +24,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 6n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcd\fR\fR .ad .RS 6n -.rt Pointer to a \fBcistpl_date_t\fR structure which contains the parsed \fBCISTPL_DATE\fR tuple information upon return from this function. .RE @@ -84,90 +78,74 @@ uint32_t day The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBtime\fR\fR .ad .RS 8n -.rt This field indicates the time at which the \fBPC \fRCard was initialized. .RE .sp .ne 2 -.mk .na \fB\fBday\fR\fR .ad .RS 8n -.rt This field indicates the date the \fBPC \fRCard was initialized. .RE .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_DEVICE.9f b/usr/src/man/man9f/csx_Parse_CISTPL_DEVICE.9f index 7b2b9abc1d..d467b353c0 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_DEVICE.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_DEVICE.9f @@ -3,18 +3,18 @@ .\" 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 csx_Parse_CISTPL_DEVICE 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_DEVICE 9F "Dec 20, 1996" .SH NAME csx_Parse_CISTPL_DEVICE, csx_Parse_CISTPL_DEVICE_A, csx_Parse_CISTPL_DEVICE_OC, csx_Parse_CISTPL_DEVICE_OA \- parse Device Information tuples .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> -\fBint32_t\fR \fBcsx_Parse_CISTPL_DEVICE\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, +\fBint32_t\fR \fBcsx_Parse_CISTPL_DEVICE\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_device_t *\fR\fIcd\fR); .fi @@ -43,35 +43,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 6n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcd\fR\fR .ad .RS 6n -.rt Pointer to a \fBcistpl_device_t\fR structure which contains the parsed \fBCISTPL_DEVICE,\fR \fBCISTPL_DEVICE_A,\fR \fBCISTPL_DEVICE_OC,\fR or \fBCISTPL_DEVICE_OA\fR tuple information upon return from these functions, @@ -121,7 +115,7 @@ The structure members of \fBcistpl_device_node_t\fR are: .in +2 .nf uint32_t flags; /* flags specific to this device */ -uint32_t speed; /* device speed in device +uint32_t speed; /* device speed in device /* speed code format */ uint32_t nS_speed; /* device speed in nS */ uint32_t type; /* device type */ @@ -135,22 +129,18 @@ uint32_t size_in_bytes; /* device size in bytes */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBflags\fR\fR .ad .RS 9n -.rt This field indicates whether or not the device is writable, and describes a \fBVcc\fR voltage at which the \fBPC \fRCard can be operated. .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_WPS\fR .ad .RS 21n -.rt Write Protect Switch bit is set .RE @@ -158,67 +148,55 @@ Bits which are applicable only for \fBCISTPL_DEVICE_OC\fR and \fBCISTPL_DEVICE_OA\fR are: .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_OC_MWAIT\fR .ad .RS 29n -.rt Use MWAIT .RE .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_OC_Vcc_MASK\fR .ad .RS 29n -.rt Mask for \fBVcc\fR value .RE .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_OC_Vcc5\fR .ad .RS 29n -.rt 5.0 volt operation .RE .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_OC_Vcc33\fR .ad .RS 29n -.rt 3.3 volt operation .RE .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_OC_VccXX\fR .ad .RS 29n -.rt X.X volt operation .RE .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_OC_VccYY\fR .ad .RS 29n -.rt Y.Y volt operation .RE @@ -226,12 +204,10 @@ Y.Y volt operation .sp .ne 2 -.mk .na \fB\fBspeed\fR\fR .ad .RS 17n -.rt The device speed value described in the device speed code unit. If this field is set to \fBCISTPL_DEVICE_SPEED_SIZE_IGNORE,\fR then the speed information will be ignored. @@ -239,23 +215,19 @@ will be ignored. .sp .ne 2 -.mk .na \fB\fBnS_speed\fR\fR .ad .RS 17n -.rt The device speed value described in nanosecond units. .RE .sp .ne 2 -.mk .na \fB\fBsize\fR\fR .ad .RS 17n -.rt The device size value described in the device size code unit. If this field is set to \fBCISTPL_DEVICE_SPEED_SIZE_IGNORE,\fR then the size information will be ignored. @@ -263,27 +235,22 @@ ignored. .sp .ne 2 -.mk .na \fB\fBsize_in_bytes\fR\fR .ad .RS 17n -.rt The device size value described in byte units. .RE .sp .ne 2 -.mk .na \fB\fBtype\fR\fR .ad .RS 17n -.rt This is the device type code field which is defined as follows: .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_DTYPE_NULL\fR .ad @@ -294,7 +261,6 @@ No device .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_DTYPE_ROM\fR .ad @@ -305,7 +271,6 @@ Masked ROM .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_DTYPE_OTPROM\fR .ad @@ -316,7 +281,6 @@ One Time Programmable ROM .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_DTYPE_EPROM\fR .ad @@ -327,7 +291,6 @@ UV EPROM .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_DTYPE_EEPROM\fR .ad @@ -338,7 +301,6 @@ EEPROM .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_DTYPE_FLASH\fR .ad @@ -349,7 +311,6 @@ FLASH .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_DTYPE_SRAM\fR .ad @@ -360,7 +321,6 @@ Static RAM .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_DTYPE_DRAM\fR .ad @@ -371,7 +331,6 @@ Dynamic RAM .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_DTYPE_FUNCSPEC\fR .ad @@ -382,7 +341,6 @@ Function-specific memory address range .sp .ne 2 -.mk .na \fBCISTPL_DEVICE_DTYPE_EXTEND\fR .ad @@ -396,67 +354,55 @@ Extended type follows .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_DEVICEGEO.9f b/usr/src/man/man9f/csx_Parse_CISTPL_DEVICEGEO.9f index bd6e5f07cb..25780efec7 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_DEVICEGEO.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_DEVICEGEO.9f @@ -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 csx_Parse_CISTPL_DEVICEGEO 9F "16 May 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_DEVICEGEO 9F "May 16, 1997" .SH NAME csx_Parse_CISTPL_DEVICEGEO \- parse the Device Geo tuple .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -24,35 +24,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR \fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItp\fR \fR .ad .RS 7n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIpt\fR \fR .ad .RS 7n -.rt Pointer to a \fBcistpl_devicegeo_t\fR structure which contains the parsed Device Geo tuple information upon return from this function. .RE @@ -87,7 +81,6 @@ uint32_t info[CISTPL_DEVICEGEO_MAX_PARTITIONS].hwil; The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBinfo[CISTPL_DEVICEGEO_MAX_PARTITIONS].bus\fR \fR .ad @@ -98,7 +91,6 @@ This field indicates the card interface width in bytes for the given partition. .sp .ne 2 -.mk .na \fB\fBinfo[CISTPL_DEVICEGEO_MAX_PARTITIONS].ebs\fR \fR .ad @@ -109,7 +101,6 @@ This field indicates the minimum erase block size for the given partition. .sp .ne 2 -.mk .na \fB\fBinfo[CISTPL_DEVICEGEO_MAX_PARTITIONS].rbs\fR \fR .ad @@ -120,7 +111,6 @@ This field indicates the minimum read block size for the given partition. .sp .ne 2 -.mk .na \fB\fBinfo[CISTPL_DEVICEGEO_MAX_PARTITIONS].wbs\fR \fR .ad @@ -131,7 +121,6 @@ This field indicates the minimum write block size for the given partition. .sp .ne 2 -.mk .na \fB\fBinfo[CISTPL_DEVICEGEO_MAX_PARTITIONS].part\fR \fR .ad @@ -143,7 +132,6 @@ partition. .sp .ne 2 -.mk .na \fB\fBinfo[CISTPL_DEVICEGEO_MAX_PARTITIONS].hwil\fR \fR .ad @@ -155,67 +143,55 @@ This field indicates the hardware interleave .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR \fR .ad .RS 28n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR \fR .ad .RS 28n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR \fR .ad .RS 28n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_DEVICEGEO_A.9f b/usr/src/man/man9f/csx_Parse_CISTPL_DEVICEGEO_A.9f index c565bfd4b7..c311e8b2d6 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_DEVICEGEO_A.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_DEVICEGEO_A.9f @@ -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 csx_Parse_CISTPL_DEVICEGEO_A 9F "16 May 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_DEVICEGEO_A 9F "May 16, 1997" .SH NAME csx_Parse_CISTPL_DEVICEGEO_A \- parse the Device Geo A tuple .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> @@ -24,35 +24,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR \fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItp\fR \fR .ad .RS 7n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIpt\fR \fR .ad .RS 7n -.rt Pointer to a \fBcistpl_devicegeo_t\fR structure which contains the parsed Device Geo A tuple information upon return from this function. .RE @@ -87,7 +81,6 @@ uint32_t info[CISTPL_DEVICEGEO_MAX_PARTITIONS].hwil; The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBinfo[CISTPL_DEVICEGEO_MAX_PARTITIONS].bus\fR \fR .ad @@ -98,7 +91,6 @@ This field indicates the card interface width in bytes for the given partition. .sp .ne 2 -.mk .na \fB\fBinfo[CISTPL_DEVICEGEO_MAX_PARTITIONS].ebs\fR \fR .ad @@ -109,7 +101,6 @@ This field indicates the minimum erase block size for the given partition. .sp .ne 2 -.mk .na \fB\fBinfo[CISTPL_DEVICEGEO_MAX_PARTITIONS].rbs\fR \fR .ad @@ -120,7 +111,6 @@ This field indicates the minimum read block size for the given partition. .sp .ne 2 -.mk .na \fB\fBinfo[CISTPL_DEVICEGEO_MAX_PARTITIONS].wbs\fR \fR .ad @@ -131,7 +121,6 @@ This field indicates the minimum write block size for the given partition. .sp .ne 2 -.mk .na \fB\fBinfo[CISTPL_DEVICEGEO_MAX_PARTITIONS].part\fR \fR .ad @@ -143,7 +132,6 @@ partition. .sp .ne 2 -.mk .na \fB\fBinfo[CISTPL_DEVICEGEO_MAX_PARTITIONS].hwil\fR \fR .ad @@ -155,67 +143,55 @@ This field indicates the hardware interleave for the given partition. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR \fR .ad .RS 28n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR \fR .ad .RS 28n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR \fR .ad .RS 28n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_FORMAT.9f b/usr/src/man/man9f/csx_Parse_CISTPL_FORMAT.9f index eaacf1f8ee..c5e9abb1d7 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_FORMAT.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_FORMAT.9f @@ -3,17 +3,17 @@ .\" 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 csx_Parse_CISTPL_FORMAT 9F "24 Jan 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_FORMAT 9F "Jan 24, 1997" .SH NAME csx_Parse_CISTPL_FORMAT \- parse the Data Recording Format tuple .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> -\fBint32_t\fR \fBcsx_Parse_CISTPL_FORMAT\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, +\fBint32_t\fR \fBcsx_Parse_CISTPL_FORMAT\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_format_t *\fR\fIpt\fR); .fi @@ -24,35 +24,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 6n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIpt\fR\fR .ad .RS 6n -.rt Pointer to a \fBcistpl_format_t\fR structure which contains the parsed \fBCISTPL_FORMAT\fR tuple information upon return from this function. .RE @@ -93,43 +87,35 @@ uint32_t dev.mem.edcloc; The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBtype\fR\fR .ad .RS 20n -.rt This field indicates the type of device: .sp .ne 2 -.mk .na \fBTPLFMTTYPE_DISK\fR .ad .RS 19n -.rt disk-like device .RE .sp .ne 2 -.mk .na \fBTPLFMTTYPE_MEM\fR .ad .RS 19n -.rt memory-like device .RE .sp .ne 2 -.mk .na \fBTPLFMTTYPE_VS\fR .ad .RS 19n -.rt vendor-specific device .RE @@ -137,110 +123,90 @@ vendor-specific device .sp .ne 2 -.mk .na \fB\fBedc_length\fR\fR .ad .RS 20n -.rt This field indicates the error detection code length. .RE .sp .ne 2 -.mk .na \fB\fBedc_type\fR\fR .ad .RS 20n -.rt This field indicates the error detection code type. .RE .sp .ne 2 -.mk .na \fB\fBoffset\fR\fR .ad .RS 20n -.rt This field indicates the offset of the first byte of data in this partition. .RE .sp .ne 2 -.mk .na \fB\fBnbytes\fR\fR .ad .RS 20n -.rt This field indicates the number of bytes of data in this partition .RE .sp .ne 2 -.mk .na \fB\fBdev.disk.bksize\fR\fR .ad .RS 20n -.rt This field indicates the block size, for disk devices. .RE .sp .ne 2 -.mk .na \fB\fBdev.disk.nblocks\fR\fR .ad .RS 20n -.rt This field indicates the number of blocks, for disk devices. .RE .sp .ne 2 -.mk .na \fB\fBdev.disk.edcloc\fR\fR .ad .RS 20n -.rt This field indicates the location of the error detection code, for disk devices. .RE .sp .ne 2 -.mk .na \fB\fBdev.mem.flags\fR\fR .ad .RS 20n -.rt This field provides flags, for memory devices. Valid flags are: .sp .ne 2 -.mk .na \fBTPLFMTFLAGS_ADDR\fR .ad .RS 20n -.rt address is valid .RE .sp .ne 2 -.mk .na \fBTPLFMTFLAGS_AUTO\fR .ad .RS 20n -.rt automatically map memory region .RE @@ -248,34 +214,28 @@ automatically map memory region .sp .ne 2 -.mk .na \fB\fBdev.mem.reserved\fR\fR .ad .RS 20n -.rt This field is reserved. .RE .sp .ne 2 -.mk .na \fB\fBdev.mem.address\fR\fR .ad .RS 20n -.rt This field indicates the physical address, for memory devices. .RE .sp .ne 2 -.mk .na \fB\fBdev.mem.edcloc\fR\fR .ad .RS 20n -.rt This field indicates the location of the error detection code, for memory devices. .RE @@ -283,67 +243,55 @@ devices. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_FUNCE.9f b/usr/src/man/man9f/csx_Parse_CISTPL_FUNCE.9f index 5da4463e5c..ccb6f1b7ed 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_FUNCE.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_FUNCE.9f @@ -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 csx_Parse_CISTPL_FUNCE 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_FUNCE 9F "Dec 20, 1996" .SH NAME csx_Parse_CISTPL_FUNCE \- parse Function Extension tuple .SH SYNOPSIS @@ -13,7 +13,7 @@ csx_Parse_CISTPL_FUNCE \- parse Function Extension tuple -\fBint32_t\fR \fBcsx_Parse_CISTPL_FUNCE\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, +\fBint32_t\fR \fBcsx_Parse_CISTPL_FUNCE\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_funce_t *\fR\fIcf\fR, \fBuint32_t\fR \fIfid\fR); .fi @@ -25,47 +25,39 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 7n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcf\fR\fR .ad .RS 7n -.rt Pointer to a \fBcistpl_funce_t\fR structure which contains the parsed \fBCISTPL_FUNCE\fR tuple information upon return from this function. .RE .sp .ne 2 -.mk .na \fB\fIfid\fR\fR .ad .RS 7n -.rt The function \fBID \fRcode to which this \fBCISTPL_FUNCE\fR tuple refers. See \fBcsx_Parse_CISTPL_FUNCID\fR(9F). .RE @@ -104,7 +96,7 @@ union { struct data_modem { uint32_t ud; /* highest data rate */ uint32_t ms; /* modulation standards */ - uint32_t em; /* err correct proto and + uint32_t em; /* err correct proto and /* non-CCITT modulation */ uint32_t dc; /* data compression protocols */ uint32_t cm; /* command protocols */ @@ -148,132 +140,108 @@ union { The fields are defined as follows: .sp .ne 2 -.mk .na \fBfunction\fR .ad .RS 15n -.rt This field identifies the type of extended information provided about a function by the \fBCISTPL_FUNCE\fR tuple. This field is defined as follows: .sp .ne 2 -.mk .na \fBTPLFE_SUB_SERIAL\fR .ad .RS 26n -.rt Serial port interface .RE .sp .ne 2 -.mk .na \fBTPLFE_SUB_MODEM_COMMON\fR .ad .RS 26n -.rt Common modem interface .RE .sp .ne 2 -.mk .na \fBTPLFE_SUB_MODEM_DATA\fR .ad .RS 26n -.rt Data modem services .RE .sp .ne 2 -.mk .na \fBTPLFE_SUB_MODEM_FAX\fR .ad .RS 26n -.rt Fax modem services .RE .sp .ne 2 -.mk .na \fBTPLFE_SUB_VOICE\fR .ad .RS 26n -.rt Voice services .RE .sp .ne 2 -.mk .na \fBTPLFE_CAP_MODEM_DATA\fR .ad .RS 26n -.rt Capabilities of the data modem interface .RE .sp .ne 2 -.mk .na \fBTPLFE_CAP_MODEM_FAX\fR .ad .RS 26n -.rt Capabilities of the fax modem interface .RE .sp .ne 2 -.mk .na \fBTPLFE_CAP_MODEM_VOICE\fR .ad .RS 26n -.rt Capabilities of the voice modem interface .RE .sp .ne 2 -.mk .na \fBTPLFE_CAP_SERIAL_DATA\fR .ad .RS 26n -.rt Serial port interface for data modem services .RE .sp .ne 2 -.mk .na \fBTPLFE_CAP_SERIAL_FAX\fR .ad .RS 26n -.rt Serial port interface for fax modem services .RE .sp .ne 2 -.mk .na \fBTPLFE_CAP_SERIAL_VOICE\fR .ad .RS 26n -.rt Serial port interface for voice modem services .RE @@ -281,12 +249,10 @@ Serial port interface for voice modem services .sp .ne 2 -.mk .na \fB\fBsubfunction\fR\fR .ad .RS 15n -.rt This is for identifying a sub-category of services provided by a function in the \fBCISTPL_FUNCE\fR tuple. The numeric value of the code is in the range of \fB1\fR to \fB15\fR. @@ -294,43 +260,35 @@ the \fBCISTPL_FUNCE\fR tuple. The numeric value of the code is in the range of .sp .ne 2 -.mk .na \fB\fBua\fR\fR .ad .RS 15n -.rt This is the serial port \fBUART \fRidentification and is defined as follows: .sp .ne 2 -.mk .na \fBTPLFE_UA_8250\fR .ad .RS 18n -.rt Intel 8250 .RE .sp .ne 2 -.mk .na \fBTPLFE_UA_16450\fR .ad .RS 18n -.rt NS 16450 .RE .sp .ne 2 -.mk .na \fBTPLFE_UA_16550\fR .ad .RS 18n -.rt NS 16550 .RE @@ -338,132 +296,108 @@ NS 16550 .sp .ne 2 -.mk .na \fB\fBuc\fR\fR .ad .RS 15n -.rt This identifies the serial port \fBUART \fRcapabilities and is defined as follows: .sp .ne 2 -.mk .na \fBTPLFE_UC_PARITY_SPACE\fR .ad .RS 25n -.rt Space parity supported .RE .sp .ne 2 -.mk .na \fBTPLFE_UC_PARITY_MARK\fR .ad .RS 25n -.rt Mark parity supported .RE .sp .ne 2 -.mk .na \fBTPLFE_UC_PARITY_ODD\fR .ad .RS 25n -.rt Odd parity supported .RE .sp .ne 2 -.mk .na \fBTPLFE_UC_PARITY_EVEN\fR .ad .RS 25n -.rt Even parity supported .RE .sp .ne 2 -.mk .na \fBTPLFE_UC_CS5\fR .ad .RS 25n -.rt 5 bit characters supported .RE .sp .ne 2 -.mk .na \fBTPLFE_UC_CS6\fR .ad .RS 25n -.rt 6 bit characters supported .RE .sp .ne 2 -.mk .na \fBTPLFE_UC_CS7\fR .ad .RS 25n -.rt 7 bit characters supported .RE .sp .ne 2 -.mk .na \fBTPLFE_UC_CS8\fR .ad .RS 25n -.rt 8 bit characters supported .RE .sp .ne 2 -.mk .na \fBTPLFE_UC_STOP_1\fR .ad .RS 25n -.rt 1 stop bit supported .RE .sp .ne 2 -.mk .na \fBTPLFE_UC_STOP_15\fR .ad .RS 25n -.rt 1.5 stop bits supported .RE .sp .ne 2 -.mk .na \fBTPLFE_UC_STOP_2\fR .ad .RS 25n -.rt 2 stop bits supported .RE @@ -471,219 +405,179 @@ Even parity supported .sp .ne 2 -.mk .na \fB\fBfc\fR\fR .ad .RS 15n -.rt This identifies the modem flow control methods and is defined as follows: .sp .ne 2 -.mk .na \fBTPLFE_FC_TX_XONOFF\fR .ad .RS 22n -.rt Transmit XON/XOFF .RE .sp .ne 2 -.mk .na \fBTPLFE_FC_RX_XONOFF\fR .ad .RS 22n -.rt Receiver XON/XOFF .RE .sp .ne 2 -.mk .na \fBTPLFE_FC_TX_HW\fR .ad .RS 22n -.rt Transmit hardware flow control (CTS) .RE .sp .ne 2 -.mk .na \fBTPLFE_FC_RX_HW\fR .ad .RS 22n -.rt Receiver hardware flow control (RTS) .RE .sp .ne 2 -.mk .na \fBTPLFE_FC_TRANS\fR .ad .RS 22n -.rt Transparent flow control .RE .sp .ne 2 -.mk .na \fBms\fR .ad .RS 6n -.rt This identifies the modem modulation standards and is defined as follows: .RE .sp .ne 2 -.mk .na \fBTPLFE_MS_BELL103\fR .ad .RS 20n -.rt 300bps .RE .sp .ne 2 -.mk .na \fBTPLFE_MS_V21\fR .ad .RS 20n -.rt 300bps (V.21) .RE .sp .ne 2 -.mk .na \fBTPLFE_MS_V23\fR .ad .RS 20n -.rt 600/1200bps (V.23) .RE .sp .ne 2 -.mk .na \fBTPLFE_MS_V22AB\fR .ad .RS 20n -.rt 1200bps (V.22A V.22B) .RE .sp .ne 2 -.mk .na \fBTPLFE_MS_BELL212\fR .ad .RS 20n -.rt 2400bps (US Bell 212 .RE .sp .ne 2 -.mk .na \fBTPLFE_MS_V22BIS\fR .ad .RS 20n -.rt 2400bps (V.22bis) .RE .sp .ne 2 -.mk .na \fBTPLFE_MS_V26\fR .ad .RS 20n -.rt 2400bps leased line (V.26) .RE .sp .ne 2 -.mk .na \fBTPLFE_MS_V26BIS\fR .ad .RS 20n -.rt 2400bps (V.26bis) .RE .sp .ne 2 -.mk .na \fBTPLFE_MS_V27BIS\fR .ad .RS 20n -.rt 4800/2400bps leased line (V.27bis) .RE .sp .ne 2 -.mk .na \fBTPLFE_MS_V29\fR .ad .RS 20n -.rt 9600/7200/4800 leased line (V.29) .RE .sp .ne 2 -.mk .na \fBTPLFE_MS_V32\fR .ad .RS 20n -.rt Up to 9600bps (V.32) .RE .sp .ne 2 -.mk .na \fBTPLFE_MS_V32BIS\fR .ad .RS 20n -.rt Up to 14400bps (V.32bis) .RE .sp .ne 2 -.mk .na \fBTPLFE_MS_VFAST\fR .ad .RS 20n -.rt Up to 28800 V.FAST .RE @@ -691,33 +585,27 @@ Up to 28800 V.FAST .sp .ne 2 -.mk .na \fB\fBem\fR\fR .ad .RS 15n -.rt This identifies modem error correction/detection protocols and is defined as follows: .sp .ne 2 -.mk .na \fBTPLFE_EM_MNP\fR .ad .RS 16n -.rt MNP levels 2-4 .RE .sp .ne 2 -.mk .na \fBTPLFE_EM_V42\fR .ad .RS 16n -.rt CCITT LAPM (V.42) .RE @@ -725,32 +613,26 @@ CCITT LAPM (V.42) .sp .ne 2 -.mk .na \fB\fBdc\fR\fR .ad .RS 15n -.rt This identifies modem data compression protocols and is defined as follows: .sp .ne 2 -.mk .na \fBTPLFE_DC_V42BI\fR .ad .RS 18n -.rt CCITT compression V.42 .RE .sp .ne 2 -.mk .na \fBTPLFE_DC_MNP5\fR .ad .RS 18n -.rt MNP compression (uses MNP 2, 3 or 4) .RE @@ -758,87 +640,71 @@ MNP compression (uses MNP 2, 3 or 4) .sp .ne 2 -.mk .na \fB\fBcm\fR\fR .ad .RS 15n -.rt This identifies modem command protocols and is defined as follows: .sp .ne 2 -.mk .na \fBTPLFE_CM_AT1\fR .ad .RS 19n -.rt ANSI/EIA/TIA 602 "Action" commands .RE .sp .ne 2 -.mk .na \fBTPLFE_CM_AT2\fR .ad .RS 19n -.rt ANSI/EIA/TIA 602 "ACE/DCE IF Params" .RE .sp .ne 2 -.mk .na \fBTPLFE_CM_AT3\fR .ad .RS 19n -.rt ANSI/EIA/TIA 602 "Ace Parameters" .RE .sp .ne 2 -.mk .na \fBTPLFE_CM_MNP_AT\fR .ad .RS 19n -.rt MNP specification AT commands .RE .sp .ne 2 -.mk .na \fBTPLFE_CM_V25BIS\fR .ad .RS 19n -.rt V.25bis calling commands .RE .sp .ne 2 -.mk .na \fBTPLFE_CM_V25A\fR .ad .RS 19n -.rt V.25bis test procedures .RE .sp .ne 2 -.mk .na \fBTPLFE_CM_DMCL\fR .ad .RS 19n -.rt DMCL command mode .RE @@ -846,43 +712,35 @@ DMCL command mode .sp .ne 2 -.mk .na \fB\fBex\fR\fR .ad .RS 15n -.rt This identifies the modem escape mechanism and is defined as follows: .sp .ne 2 -.mk .na \fBTPLFE_EX_BREAK\fR .ad .RS 18n -.rt BREAK support standardized .RE .sp .ne 2 -.mk .na \fBTPLFE_EX_PLUS\fR .ad .RS 18n -.rt +++ returns to command mode .RE .sp .ne 2 -.mk .na \fBTPLFE_EX_UD\fR .ad .RS 18n -.rt User defined escape character .RE @@ -890,33 +748,27 @@ User defined escape character .sp .ne 2 -.mk .na \fB\fBdy\fR\fR .ad .RS 15n -.rt This identifies modem standardized data encryption and is a reserved field for future use and must be set to \fB0\fR. .RE .sp .ne 2 -.mk .na \fB\fBef\fR\fR .ad .RS 15n -.rt This identifies modem miscellaneous features and is defined as follows: .sp .ne 2 -.mk .na \fBTPLFE_EF_CALLERID\fR .ad .RS 21n -.rt Caller ID is supported .RE @@ -924,65 +776,53 @@ Caller ID is supported .sp .ne 2 -.mk .na \fB\fBfm\fR\fR .ad .RS 15n -.rt This identifies fax modulation standards and is defined as follows: .sp .ne 2 -.mk .na \fBTPLFE_FM_V21C2\fR .ad .RS 19n -.rt 300bps (V.21-C2) .RE .sp .ne 2 -.mk .na \fBTPLFE_FM_V27TER\fR .ad .RS 19n -.rt 4800/2400bps (V.27ter) .RE .sp .ne 2 -.mk .na \fBTPLFE_FM_V29\fR .ad .RS 19n -.rt 9600/7200/4800 leased line (V.29) .RE .sp .ne 2 -.mk .na \fBTPLFE_FM_V17\fR .ad .RS 19n -.rt 14.4K/12K/9600/7200bps (V.17) .RE .sp .ne 2 -.mk .na \fBTPLFE_FM_V33\fR .ad .RS 19n -.rt 4.4K/12K/9600/7200 leased line (V.33) .RE @@ -990,98 +830,80 @@ This identifies fax modulation standards and is defined as follows: .sp .ne 2 -.mk .na \fB\fBfs\fR\fR .ad .RS 15n -.rt This identifies the fax feature selection and is defined as follows: .sp .ne 2 -.mk .na \fBTPLFE_FS_T3\fR .ad .RS 21n -.rt Group 2 (T.3) service class .RE .sp .ne 2 -.mk .na \fBTPLFE_FS_T4\fR .ad .RS 21n -.rt Group 3 (T.4) service class .RE .sp .ne 2 -.mk .na \fBTPLFE_FS_T6\fR .ad .RS 21n -.rt Group 4 (T.6) service class .RE .sp .ne 2 -.mk .na \fBTPLFE_FS_ECM\fR .ad .RS 21n -.rt Error Correction Mode .RE .sp .ne 2 -.mk .na \fBTPLFE_FS_VOICEREQ\fR .ad .RS 21n -.rt Voice requests allowed .RE .sp .ne 2 -.mk .na \fBTPLFE_FS_POLLING\fR .ad .RS 21n -.rt Polling support .RE .sp .ne 2 -.mk .na \fBTPLFE_FS_FTP\fR .ad .RS 21n -.rt File transfer support .RE .sp .ne 2 -.mk .na \fBTPLFE_FS_PASSWORD\fR .ad .RS 21n -.rt Password support .RE @@ -1089,87 +911,71 @@ Password support .sp .ne 2 -.mk .na \fB\fBtech\fR\fR .ad .RS 15n -.rt This identifies the \fBLAN \fRtechnology type and is defined as follows: .sp .ne 2 -.mk .na \fBTPLFE_LAN_TECH_ARCNET\fR .ad .RS 28n -.rt Arcnet .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_TECH_ETHERNET\fR .ad .RS 28n -.rt Ethernet .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_TECH_TOKENRING\fR .ad .RS 28n -.rt Token Ring .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_TECH_LOCALTALK\fR .ad .RS 28n -.rt Local Talk .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_TECH_FDDI\fR .ad .RS 28n -.rt FDDI/CDDI .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_TECH_ATM\fR .ad .RS 28n -.rt ATM .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_TECH_WIRELESS\fR .ad .RS 28n -.rt Wireless .RE @@ -1177,131 +983,107 @@ Wireless .sp .ne 2 -.mk .na \fB\fBmedia\fR\fR .ad .RS 15n -.rt This identifies the \fBLAN \fRmedia type and is defined as follows: .sp .ne 2 -.mk .na \fBTPLFE_LAN_MEDIA_INHERENT\fR .ad .RS 30n -.rt Generic interface .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_MEDIA_UTP\fR .ad .RS 30n -.rt Unshielded twisted pair .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_MEDIA_STP\fR .ad .RS 30n -.rt Shielded twisted pair .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_MEDIA_THIN_COAX\fR .ad .RS 30n -.rt Thin coax .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_MEDIA_THICK_COAX\fR .ad .RS 30n -.rt Thick coax .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_MEDIA_FIBER\fR .ad .RS 30n -.rt Fiber .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_MEDIA_SSR_902\fR .ad .RS 30n -.rt Spread spectrum radio 902-928 MHz .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_MEDIA_SSR_2_4\fR .ad .RS 30n -.rt Spread spectrum radio 2.4 GHz .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_MEDIA_SSR_5_4\fR .ad .RS 30n -.rt Spread spectrum radio 5.4 GHz .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_MEDIA_DIFFUSE_IR\fR .ad .RS 30n -.rt Diffuse infra red .RE .sp .ne 2 -.mk .na \fBTPLFE_LAN_MEDIA_PTP_IR\fR .ad .RS 30n -.rt Point to point infra red .RE @@ -1310,67 +1092,55 @@ Point to point infra red .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_FUNCID.9f b/usr/src/man/man9f/csx_Parse_CISTPL_FUNCID.9f index 2a2085540e..1d1de256aa 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_FUNCID.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_FUNCID.9f @@ -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 csx_Parse_CISTPL_FUNCID 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_FUNCID 9F "Dec 20, 1996" .SH NAME csx_Parse_CISTPL_FUNCID \- parse Function Identification tuple .SH SYNOPSIS @@ -13,7 +13,7 @@ csx_Parse_CISTPL_FUNCID \- parse Function Identification tuple -\fBint32_t\fR \fBcsx_Parse_CISTPL_FUNCID\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, +\fBint32_t\fR \fBcsx_Parse_CISTPL_FUNCID\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_funcid_t *\fR\fIcf\fR); .fi @@ -24,35 +24,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 6n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcf\fR\fR .ad .RS 6n -.rt Pointer to a \fBcistpl_funcid_t\fR structure which contains the parsed \fBCISTPL_FUNCID\fR tuple information upon return from this function. .RE @@ -87,142 +81,116 @@ uint32_t sysinit; /* system initialization mask */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBfunction\fR\fR .ad .RS 12n -.rt This is the function type for \fBCISTPL_FUNCID:\fR .sp .ne 2 -.mk .na \fBTPLFUNC_MULTI\fR .ad .RS 27n -.rt Vendor-specific multifunction card .RE .sp .ne 2 -.mk .na \fBTPLFUNC_MEMORY\fR .ad .RS 27n -.rt Memory card .RE .sp .ne 2 -.mk .na \fBTPLFUNC_SERIAL\fR .ad .RS 27n -.rt Serial I/O port .RE .sp .ne 2 -.mk .na \fBTPLFUNC_PARALLEL\fR .ad .RS 27n -.rt Parallel printer port .RE .sp .ne 2 -.mk .na \fBTPLFUNC_FIXED\fR .ad .RS 27n -.rt Fixed disk, silicon or removable .RE .sp .ne 2 -.mk .na \fBTPLFUNC_VIDEO\fR .ad .RS 27n -.rt Video interface .RE .sp .ne 2 -.mk .na \fBTPLFUNC_LAN\fR .ad .RS 27n -.rt Local Area Network adapter .RE .sp .ne 2 -.mk .na \fBTPLFUNC_AIMS\fR .ad .RS 27n -.rt Auto Incrementing Mass Storage .RE .sp .ne 2 -.mk .na \fBTPLFUNC_SCSI\fR .ad .RS 27n -.rt SCSI bridge .RE .sp .ne 2 -.mk .na \fBTPLFUNC_SECURITY\fR .ad .RS 27n -.rt Security cards .RE .sp .ne 2 -.mk .na \fBTPLFUNC_VENDOR_SPECIFIC\fR .ad .RS 27n -.rt Vendor specific .RE .sp .ne 2 -.mk .na \fBTPLFUNC_UNKNOWN\fR .ad .RS 27n -.rt Unknown function(s) .RE @@ -230,32 +198,26 @@ Unknown function(s) .sp .ne 2 -.mk .na \fB\fBsysinit\fR\fR .ad .RS 11n -.rt This field is bit-mapped and defined as follows: .sp .ne 2 -.mk .na \fBTPLINIT_POST\fR .ad .RS 16n -.rt POST should attempt configure .RE .sp .ne 2 -.mk .na \fBTPLINIT_ROM\fR .ad .RS 16n -.rt Map ROM during sys init .RE @@ -264,67 +226,55 @@ Map ROM during sys init .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_GEOMETRY.9f b/usr/src/man/man9f/csx_Parse_CISTPL_GEOMETRY.9f index 3f1d073e04..7159f29fa6 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_GEOMETRY.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_GEOMETRY.9f @@ -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 csx_Parse_CISTPL_GEOMETRY 9F "24 Jan 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_GEOMETRY 9F "Jan 24, 1997" .SH NAME csx_Parse_CISTPL_GEOMETRY \- parse the Geometry tuple .SH SYNOPSIS @@ -24,35 +24,29 @@ Solaris \fBDDI\fR Specific (Solaris \fBDDI\fR) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 6n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIpt\fR\fR .ad .RS 6n -.rt Pointer to a \fBcistpl_geometry_t\fR structure which contains the parsed \fBCISTPL_GEOMETRY\fR tuple information upon return from this function. .RE @@ -83,101 +77,83 @@ The structure members of \fBcistpl_geometry_t\fR are: The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBspt\fR\fR .ad .RS 8n -.rt This field indicates the number of sectors per track. .RE .sp .ne 2 -.mk .na \fB\fBtpc\fR\fR .ad .RS 8n -.rt This field indicates the number of tracks per cylinder. .RE .sp .ne 2 -.mk .na \fB\fBncyl\fR\fR .ad .RS 8n -.rt This field indicates the number of cylinders. .RE .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC\fR Card in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (\fBCIS\fR) on \fBPC\fR Card. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA\fR hardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_JEDEC_C.9f b/usr/src/man/man9f/csx_Parse_CISTPL_JEDEC_C.9f index 789eb87374..0d8a4d0d1e 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_JEDEC_C.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_JEDEC_C.9f @@ -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 csx_Parse_CISTPL_JEDEC_C 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_JEDEC_C 9F "Dec 20, 1996" .SH NAME csx_Parse_CISTPL_JEDEC_C, csx_Parse_CISTPL_JEDEC_A \- parse JEDEC Identifier tuples @@ -14,13 +14,13 @@ tuples -\fBint32_t\fR \fBcsx_Parse_CISTPL_JEDEC_C\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, +\fBint32_t\fR \fBcsx_Parse_CISTPL_JEDEC_C\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_jedec_t *\fR\fIcj\fR); .fi .LP .nf -\fBint32_t\fR \fBcsx_Parse_CISTPL_JEDEC_A\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, +\fBint32_t\fR \fBcsx_Parse_CISTPL_JEDEC_A\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_jedec_t *\fR\fIcj\fR); .fi @@ -31,35 +31,29 @@ Solaris \fBDDI\fR Specific (Solaris \fBDDI\fR) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 6n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcj\fR\fR .ad .RS 6n -.rt Pointer to a \fBcistpl_jedec_t\fR structure which contains the parsed \fBCISTPL_JEDEC_C\fR or \fBCISTPL_JEDEC_A\fR tuple information upon return from these functions, respectively. @@ -102,67 +96,55 @@ The structure members of \fBjedec_ident_t\fR are: .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC\fR Card in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (\fBCIS\fR) on \fBPC\fR Card. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA\fR hardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_LINKTARGET.9f b/usr/src/man/man9f/csx_Parse_CISTPL_LINKTARGET.9f index 3808cd25ed..4d99088577 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_LINKTARGET.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_LINKTARGET.9f @@ -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 csx_Parse_CISTPL_LINKTARGET 9F "24 Jan 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_LINKTARGET 9F "Jan 24, 1997" .SH NAME csx_Parse_CISTPL_LINKTARGET \- parse the Link Target tuple .SH SYNOPSIS .LP .nf #include <sys/pccard.h> - + \fBint32_t\fR \fBcsx_Parse_CISTPL_LINKTARGET\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_linktarget_t *\fR\fIpt\fR); @@ -23,35 +23,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR \fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR \fR .ad .RS 7n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIpt\fR \fR .ad .RS 7n -.rt Pointer to a \fBcistpl_linktarget_t\fR structure which contains the parsed \fBCISTPL_LINKTARGET\fR tuple information upon return from this function. .RE @@ -83,90 +77,74 @@ char tpltg_tag[CIS_MAX_TUPLE_DATA_LEN]; The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBlength\fR \fR .ad .RS 14n -.rt This field indicates the number of bytes in \fBtpltg_tag\fR. .RE .sp .ne 2 -.mk .na \fB\fBtpltg_tag\fR \fR .ad .RS 14n -.rt This field provides the Link Target tuple information. .RE .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR \fR .ad .RS 28n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR \fR .ad .RS 28n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR \fR .ad .RS 28n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_LONGLINK_A.9f b/usr/src/man/man9f/csx_Parse_CISTPL_LONGLINK_A.9f index c2c9c92fda..4a17849e66 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_LONGLINK_A.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_LONGLINK_A.9f @@ -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 csx_Parse_CISTPL_LONGLINK_A 9F "24 Jan 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_LONGLINK_A 9F "Jan 24, 1997" .SH NAME csx_Parse_CISTPL_LONGLINK_A, csx_Parse_CISTPL_LONGLINK_C \- parse the Long Link A and C tuples @@ -31,35 +31,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR \fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR \fR .ad .RS 7n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIpt\fR \fR .ad .RS 7n -.rt Pointer to a \fBcistpl_longlink_ac_t\fR structure which contains the parsed \fBCISTPL_LONGLINK_A\fR or \fBCISTPL_LONGLINK_C\fR tuple information upon return from this function. @@ -91,32 +85,26 @@ uint32_t tpll_addr; The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBflags\fR \fR .ad .RS 14n -.rt This field indicates the type of memory: .sp .ne 2 -.mk .na \fB\fBCISTPL_LONGLINK_AC_AM\fR\fR .ad .RS 25n -.rt long link to Attribute Memory .RE .sp .ne 2 -.mk .na \fB\fBCISTPL_LONGLINK_AC_CM\fR\fR .ad .RS 25n -.rt long link to Common Memory .RE @@ -124,12 +112,10 @@ long link to Common Memory .sp .ne 2 -.mk .na \fB\fBtpll_addr\fR \fR .ad .RS 14n -.rt This field provides the offset from the beginning of the specified address space. .RE @@ -137,67 +123,55 @@ space. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR \fR .ad .RS 28n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR \fR .ad .RS 28n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR \fR .ad .RS 28n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_LONGLINK_MFC.9f b/usr/src/man/man9f/csx_Parse_CISTPL_LONGLINK_MFC.9f index 1d798f0c7c..b44a5bb3c2 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_LONGLINK_MFC.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_LONGLINK_MFC.9f @@ -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 csx_Parse_CISTPL_LONGLINK_MFC 9F "24 Jan 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_LONGLINK_MFC 9F "Jan 24, 1997" .SH NAME csx_Parse_CISTPL_LONGLINK_MFC \- parse the Multi-Function tuple .SH SYNOPSIS @@ -24,35 +24,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR \fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR \fR .ad .RS 7n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIpt\fR \fR .ad .RS 7n -.rt Pointer to a \fBcistpl_longlink_mfc_t\fR structure which contains the parsed \fBCISTPL_LONGLINK_MFC\fR tuple information upon return from this function. .RE @@ -85,7 +79,6 @@ uint32_t function[CIS_MAX_FUNCTIONS].addr The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBnfuncs\fR \fR .ad @@ -96,7 +89,6 @@ This field indicates the number of functions on the \fBPC \fRcard. .sp .ne 2 -.mk .na \fB\fBnregs\fR \fR .ad @@ -107,7 +99,6 @@ This field indicates the number of configuration register sets. .sp .ne 2 -.mk .na \fB\fBfunction[CIS_MAX_FUNCTIONS].tas\fR \fR .ad @@ -117,7 +108,6 @@ This field provides the target address space for each function on the \fBPC \fRcard. This field can be one of: .sp .ne 2 -.mk .na \fB\fBCISTPL_LONGLINK_MFC_TAS_AM\fR\fR .ad @@ -128,7 +118,6 @@ CIS in attribute memory .sp .ne 2 -.mk .na \fB\fBCISTPL_LONGLINK_MFC_TAS_CM\fR\fR .ad @@ -139,7 +128,6 @@ CIS in common memory .sp .ne 2 -.mk .na \fB\fBfunction[CIS_MAX_FUNCTIONS].addr\fR \fR .ad @@ -154,67 +142,55 @@ This field provides the target address offset for each function on the \fBPC .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR \fR .ad .RS 28n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR \fR .ad .RS 28n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR \fR .ad .RS 28n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_MANFID.9f b/usr/src/man/man9f/csx_Parse_CISTPL_MANFID.9f index 25581860d0..60baa632dc 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_MANFID.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_MANFID.9f @@ -3,17 +3,17 @@ .\" 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 csx_Parse_CISTPL_MANFID 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_MANFID 9F "Dec 20, 1996" .SH NAME csx_Parse_CISTPL_MANFID \- parse Manufacturer Identification tuple .SH SYNOPSIS .LP .nf -#include <sys/pccard.h> +#include <sys/pccard.h> -\fBint32_t\fR \fBcsx_Parse_CISTPL_MANFID\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, +\fBint32_t\fR \fBcsx_Parse_CISTPL_MANFID\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_manfid_t *\fR\fIcm\fR); .fi @@ -24,35 +24,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 6n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcm\fR\fR .ad .RS 6n -.rt Pointer to a \fBcistpl_manfid_t\fR structure which contains the parsed \fBCISTPL_MANFID\fR tuple information upon return from this function. .RE @@ -75,7 +69,7 @@ The structure members of \fBcistpl_manfid_t\fR are: .in +2 .nf uint32_t manf; /* PCMCIA assigned manufacturer code */ -uint32_t card; /* manufacturer information +uint32_t card; /* manufacturer information (part number and/or revision) */ .fi .in -2 @@ -83,67 +77,55 @@ uint32_t card; /* manufacturer information .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRcard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_ORG.9f b/usr/src/man/man9f/csx_Parse_CISTPL_ORG.9f index 8a23b41b7c..060629bf9c 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_ORG.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_ORG.9f @@ -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 csx_Parse_CISTPL_ORG 9F "24 Jan 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_ORG 9F "Jan 24, 1997" .SH NAME csx_Parse_CISTPL_ORG \- parse the Data Organization tuple .SH SYNOPSIS @@ -13,7 +13,7 @@ csx_Parse_CISTPL_ORG \- parse the Data Organization tuple -\fBint32_t\fR \fBcsx_Parse_CISTPL_ORG\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, +\fBint32_t\fR \fBcsx_Parse_CISTPL_ORG\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_org_t *\fR\fIpt\fR); .fi @@ -24,35 +24,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 6n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIpt\fR\fR .ad .RS 6n -.rt Pointer to a \fBcistpl_org_t\fR structure which contains the parsed \fBCISTPL_ORG\fR tuple information upon return from this function. .RE @@ -82,7 +76,6 @@ char desc[CIS_MAX_TUPLE_DATA_LEN]; The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBtype\fR\fR .ad @@ -93,7 +86,6 @@ This field indicates type of data organization. .sp .ne 2 -.mk .na \fB\fBdesc[CIS_MAX_TUPLE_DATA_LEN]\fR\fR .ad @@ -105,67 +97,55 @@ This field provides the text description of this organization. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_SPCL.9f b/usr/src/man/man9f/csx_Parse_CISTPL_SPCL.9f index 69787df1e9..21138c72a8 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_SPCL.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_SPCL.9f @@ -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 csx_Parse_CISTPL_SPCL 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_SPCL 9F "Dec 20, 1996" .SH NAME csx_Parse_CISTPL_SPCL \- parse the Special Purpose tuple .SH SYNOPSIS @@ -13,7 +13,7 @@ csx_Parse_CISTPL_SPCL \- parse the Special Purpose tuple -\fBint32_t\fR \fBcsx_Parse_CISTPL_SPCL\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, +\fBint32_t\fR \fBcsx_Parse_CISTPL_SPCL\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_spcl_t *\fR\fIcsp\fR); .fi @@ -24,35 +24,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 7n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcsp\fR\fR .ad .RS 7n -.rt Pointer to a \fBcistpl_spcl_t\fR structure which contains the parsed \fBCISTPL_SPCL\fR tuple information upon return from this function. .RE @@ -89,12 +83,10 @@ uchar_t data[CIS_MAX_TUPLE_DATA_LEN]; The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBid\fR\fR .ad .RS 9n -.rt This field contains a \fBPCMCIA \fRor \fBJEIDA \fRassigned value that identifies this series of one or more \fBCISTPL_SPCL\fR tuples. These field values are assigned by contacting either \fBPCMCIA \fRor \fBJEIDA\fR. @@ -102,103 +94,85 @@ values are assigned by contacting either \fBPCMCIA \fRor \fBJEIDA\fR. .sp .ne 2 -.mk .na \fB\fBseq\fR\fR .ad .RS 9n -.rt This field contains a data sequence number. \fBCISTPL_SPCL_SEQ_END\fR is the last tuple in sequence. .RE .sp .ne 2 -.mk .na \fB\fBbytes\fR\fR .ad .RS 9n -.rt This field contains the number of data bytes in the \fBdata[CIS_MAX_TUPLE_DATA_LEN]\fR. .RE .sp .ne 2 -.mk .na \fB\fBdata\fR\fR .ad .RS 9n -.rt The data component of this tuple. .RE .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_SWIL.9f b/usr/src/man/man9f/csx_Parse_CISTPL_SWIL.9f index 11b27a1d39..cbf00e90c7 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_SWIL.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_SWIL.9f @@ -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 csx_Parse_CISTPL_SWIL 9F "24 Jan 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_SWIL 9F "Jan 24, 1997" .SH NAME csx_Parse_CISTPL_SWIL \- parse the Software Interleaving tuple .SH SYNOPSIS @@ -13,7 +13,7 @@ csx_Parse_CISTPL_SWIL \- parse the Software Interleaving tuple -\fBint32_t\fR \fBcsx_Parse_CISTPL_SWIL\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, +\fBint32_t\fR \fBcsx_Parse_CISTPL_SWIL\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_swil_t *\fR\fIpt\fR); .fi @@ -24,35 +24,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 6n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIpt\fR\fR .ad .RS 6n -.rt Pointer to a \fBcistpl_swil_t\fR structure which contains the parsed \fBCISTPL_SWIL\fR tuple information upon return from this function. .RE @@ -82,79 +76,65 @@ uint32_t intrlv; The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBintrlv\fR\fR .ad .RS 10n -.rt This field provides the software interleaving for a partition. .RE .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_VERS_1.9f b/usr/src/man/man9f/csx_Parse_CISTPL_VERS_1.9f index a5210f1144..dff92c9bba 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_VERS_1.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_VERS_1.9f @@ -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 csx_Parse_CISTPL_VERS_1 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_VERS_1 9F "Dec 20, 1996" .SH NAME csx_Parse_CISTPL_VERS_1 \- parse Level-1 Version/Product Information tuple .SH SYNOPSIS @@ -13,7 +13,7 @@ csx_Parse_CISTPL_VERS_1 \- parse Level-1 Version/Product Information tuple -\fBint32_t\fR \fBcsx_Parse_CISTPL_VERS_1\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, +\fBint32_t\fR \fBcsx_Parse_CISTPL_VERS_1\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_vers_1_t *\fR\fIcv1\fR); .fi @@ -24,35 +24,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 7n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcv1\fR\fR .ad .RS 7n -.rt Pointer to a \fBcistpl_vers_1_t\fR structure which contains the parsed \fBCISTPL_VERS_1\fR tuple information upon return from this function. .RE @@ -76,7 +70,7 @@ The structure members of \fBcistpl_vers_1_t\fR are: uint32_t major; /* major version number */ uint32_t minor; /* minor version number */ uint32_t ns; /* number of information strings */ -char pi[CISTPL_VERS_1_MAX_PROD_STRINGS] +char pi[CISTPL_VERS_1_MAX_PROD_STRINGS] [CIS_MAX_TUPLE_DATA_LEN]; /* pointers to product information strings */ .fi @@ -85,67 +79,55 @@ char pi[CISTPL_VERS_1_MAX_PROD_STRINGS] .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Parse_CISTPL_VERS_2.9f b/usr/src/man/man9f/csx_Parse_CISTPL_VERS_2.9f index 4704edcb1d..98b76edc9c 100644 --- a/usr/src/man/man9f/csx_Parse_CISTPL_VERS_2.9f +++ b/usr/src/man/man9f/csx_Parse_CISTPL_VERS_2.9f @@ -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 csx_Parse_CISTPL_VERS_2 9F "20 Dec 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PARSE_CISTPL_VERS_2 9F "Dec 20, 1996" .SH NAME csx_Parse_CISTPL_VERS_2 \- parse Level-2 Version and Information tuple .SH SYNOPSIS @@ -13,7 +13,7 @@ csx_Parse_CISTPL_VERS_2 \- parse Level-2 Version and Information tuple -\fBint32_t\fR \fBcsx_Parse_CISTPL_VERS_2\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, +\fBint32_t\fR \fBcsx_Parse_CISTPL_VERS_2\fR(\fBclient_handle_t\fR \fIch\fR, \fBtuple_t *\fR\fItu\fR, \fBcistpl_vers_2_t *\fR\fIcv2\fR); .fi @@ -24,35 +24,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fItu\fR\fR .ad .RS 7n -.rt Pointer to a \fBtuple_t\fR structure (see \fBtuple\fR(9S)) returned by a call to \fBcsx_GetFirstTuple\fR(9F) or \fBcsx_GetNextTuple\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcv2\fR\fR .ad .RS 7n -.rt Pointer to a \fBcistpl_vers_2_t\fR structure which contains the parsed \fBCISTPL_VERS_2\fR tuple information upon return from this function. .RE @@ -79,9 +73,9 @@ uint32_t dindex; /* byte address of first data byte in card */ uint32_t vspec8; /* vendor specific (byte 8) */ uint32_t vspec9; /* vendor specific (byte 9) */ uint32_t nhdr; /* number of copies of CIS present on device */ -char oem[CIS_MAX_TUPLE_DATA_LEN]; +char oem[CIS_MAX_TUPLE_DATA_LEN]; /* Vendor of software that formatted card */ -char info[CIS_MAX_TUPLE_DATA_LEN]; +char info[CIS_MAX_TUPLE_DATA_LEN]; /* Informational message about card */ .fi .in -2 @@ -89,67 +83,55 @@ char info[CIS_MAX_TUPLE_DATA_LEN]; .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNKNOWN_TUPLE\fR\fR .ad .RS 27n -.rt Parser does not know how to parse tuple. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No Card Information Structure (CIS) on \fBPC \fRCard. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_Put8.9f b/usr/src/man/man9f/csx_Put8.9f index 877c88e020..e9f8d3b3a4 100644 --- a/usr/src/man/man9f/csx_Put8.9f +++ b/usr/src/man/man9f/csx_Put8.9f @@ -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 csx_Put8 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_PUT8 9F "Jul 19, 1996" .SH NAME csx_Put8, csx_Put16, csx_Put32, csx_Put64 \- write to device register .SH SYNOPSIS @@ -38,35 +38,29 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI\fR) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 11n -.rt The access handle returned from \fBcsx_RequestIO\fR(9F), \fBcsx_RequestWindow\fR(9F), or \fBcsx_DupHandle\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIoffset\fR \fR .ad .RS 11n -.rt The offset in bytes from the base of the mapped resource. .RE .sp .ne 2 -.mk .na \fB\fIvalue\fR \fR .ad .RS 11n -.rt The data to be written to the device. .RE diff --git a/usr/src/man/man9f/csx_RegisterClient.9f b/usr/src/man/man9f/csx_RegisterClient.9f index e9dce6ef00..66bf3b8136 100644 --- a/usr/src/man/man9f/csx_RegisterClient.9f +++ b/usr/src/man/man9f/csx_RegisterClient.9f @@ -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 csx_RegisterClient 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_REGISTERCLIENT 9F "Jul 19, 1996" .SH NAME csx_RegisterClient \- register a client .SH SYNOPSIS @@ -23,23 +23,19 @@ Solaris \fBDDI\fR Specific (Solaris \fBDDI\fR) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Pointer to a \fBclient_handle_t\fR structure. .RE .sp .ne 2 -.mk .na \fB\fImc\fR\fR .ad .RS 6n -.rt Pointer to a \fBclient_reg_t\fR structure. .RE @@ -73,16 +69,13 @@ The structure members of \fBclient_reg_t\fR are: The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBAttributes\fR\fR .ad .RS 23n -.rt This field is bit-mapped and defined as follows: .sp .ne 2 -.mk .na \fB\fBINFO_MEM_CLIENT\fR\fR .ad @@ -93,7 +86,6 @@ Memory client device driver. .sp .ne 2 -.mk .na \fB\fBINFO_MTD_CLIENT\fR\fR .ad @@ -104,7 +96,6 @@ Memory Technology Driver client. .sp .ne 2 -.mk .na \fB\fBINFO_IO_CLIENT\fR\fR .ad @@ -115,7 +106,6 @@ Memory Technology Driver client. .sp .ne 2 -.mk .na \fB\fBINFO_CARD_SHARE\fR\fR .ad @@ -127,7 +117,6 @@ Generate artificial \fBCS_EVENT_CARD_INSERTION\fR and .sp .ne 2 -.mk .na \fB\fBINFO_CARD_EXCL\fR\fR .ad @@ -137,7 +126,6 @@ Generate artificial \fBCS_EVENT_CARD_INSERTION\fR and \fBCS_EVENT_REGISTRATION_COMPLETE\fR events. .sp .ne 2 -.mk .na \fB\fBINFO_MEM_CLIENT\fR\fR .ad @@ -157,7 +145,6 @@ of the bits must be set. .sp .ne 2 -.mk .na \fB\fBINFO_CARD_SHARE\fR\fR .ad @@ -184,12 +171,10 @@ can control is currently inserted in the socket (and after a successful call to .sp .ne 2 -.mk .na \fB\fBEvent\fR \fBMask\fR\fR .ad .RS 23n -.rt This field is bit-mapped and specifies the client's global event mask. Card Services performs event notification based on this field. See \fBcsx_event_handler\fR(9E) for valid event definitions and for additional @@ -198,12 +183,10 @@ information about handling events. .sp .ne 2 -.mk .na \fB\fBevent_callback_args\fR\fR .ad .RS 23n -.rt The \fBevent_callback_args_t\fR structure members are: .sp .in +2 @@ -219,12 +202,10 @@ driver's soft state pointer. .sp .ne 2 -.mk .na \fB\fBVersion\fR\fR .ad .RS 23n -.rt This field contains the specific Card Services version number that the client expects to use. Typically, the client will use the \fBCS_VERSION\fR macro to specify to Card Services which version of Card Services the client expects. @@ -232,19 +213,16 @@ specify to Card Services which version of Card Services the client expects. .sp .ne 2 -.mk .na \fB\fBevent_handler\fR\fR .ad .RS 23n -.rt The client event callback handler entry point is passed in the \fBevent_handler\fR field. .RE .sp .ne 2 -.mk .na \fB\fBiblk_cookie\fR\fR .ad @@ -253,30 +231,25 @@ The client event callback handler entry point is passed in the \fB\fBidev_cookie\fR\fR .ad .RS 23n -.rt These fields must be used by the client to set up mutexes that are used in the client's event callback handler when handling high priority events. .RE .sp .ne 2 -.mk .na \fB\fBdip\fR\fR .ad .RS 23n -.rt The client must set this field with a pointer to the client's dip. .RE .sp .ne 2 -.mk .na \fB\fBdriver_name\fR\fR .ad .RS 23n -.rt The client must copy a driver-unique name into this member. This name must be identical across all instances of the driver. .RE @@ -284,67 +257,55 @@ identical across all instances of the driver. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_ATTRIBUTE\fR\fR .ad .RS 27n -.rt No client type or more than one client type specified. .RE .sp .ne 2 -.mk .na \fB\fBCS_OUT_OF_RESOURCE\fR\fR .ad .RS 27n -.rt Card Services is unable to register client. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_VERSION\fR\fR .ad .RS 27n -.rt Card Services version is incompatible with client. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client has already registered for this socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA\fR hardware installed. .RE diff --git a/usr/src/man/man9f/csx_ReleaseConfiguration.9f b/usr/src/man/man9f/csx_ReleaseConfiguration.9f index 8f79709e40..c6b3b1800e 100644 --- a/usr/src/man/man9f/csx_ReleaseConfiguration.9f +++ b/usr/src/man/man9f/csx_ReleaseConfiguration.9f @@ -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 csx_ReleaseConfiguration 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_RELEASECONFIGURATION 9F "Jul 19, 1996" .SH NAME csx_ReleaseConfiguration \- release PC Card and socket configuration .SH SYNOPSIS @@ -23,23 +23,19 @@ Solaris \fBDDI\fR Specific (Solaris \fBDDI\fR) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR \fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIrc\fR \fR .ad .RS 7n -.rt Pointer to a \fBrelease_config_t\fR structure. .RE @@ -86,56 +82,46 @@ Card Services implementations, it should be set to the logical socket number. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid or \fBcsx_RequestConfiguration\fR(9F) not done. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_SOCKET\fR \fR .ad .RS 28n -.rt Error getting or setting socket hardware parameters. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR \fR .ad .RS 28n -.rt No \fBPC\fR card in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA\fR hardware installed. .RE diff --git a/usr/src/man/man9f/csx_RepGet8.9f b/usr/src/man/man9f/csx_RepGet8.9f index 294e13ac20..710bf2c91b 100644 --- a/usr/src/man/man9f/csx_RepGet8.9f +++ b/usr/src/man/man9f/csx_RepGet8.9f @@ -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 csx_RepGet8 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_REPGET8 9F "Jul 19, 1996" .SH NAME csx_RepGet8, csx_RepGet16, csx_RepGet32, csx_RepGet64 \- read repetitively from the device register @@ -43,57 +43,47 @@ Solaris \fBDDI\fR Specific (Solaris \fBDDI\fR) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 13n -.rt The access handle returned from \fBcsx_RequestIO\fR(9F), \fBcsx_RequestWindow\fR(9F), or \fBcsx_DupHandle\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIhostaddr\fR \fR .ad .RS 13n -.rt Source host address. .RE .sp .ne 2 -.mk .na \fB\fIoffset\fR \fR .ad .RS 13n -.rt The offset in bytes from the base of the mapped resource. .RE .sp .ne 2 -.mk .na \fB\fIrepcount\fR \fR .ad .RS 13n -.rt Number of data accesses to perform. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR \fR .ad .RS 13n -.rt Device address flags. .RE diff --git a/usr/src/man/man9f/csx_RepPut8.9f b/usr/src/man/man9f/csx_RepPut8.9f index cd0342c2da..5145006327 100644 --- a/usr/src/man/man9f/csx_RepPut8.9f +++ b/usr/src/man/man9f/csx_RepPut8.9f @@ -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 csx_RepPut8 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_REPPUT8 9F "Jul 19, 1996" .SH NAME csx_RepPut8, csx_RepPut16, csx_RepPut32, csx_RepPut64 \- write repetitively to the device register @@ -43,57 +43,47 @@ Solaris \fBDDI\fR Specific (Solaris \fBDDI\fR) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 13n -.rt The access handle returned from \fBcsx_RequestIO\fR(9F), \fBcsx_RequestWindow\fR(9F), or \fBcsx_DupHandle\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIhostaddr\fR \fR .ad .RS 13n -.rt Source host address. .RE .sp .ne 2 -.mk .na \fB\fIoffset\fR \fR .ad .RS 13n -.rt The offset in bytes from the base of the mapped resource. .RE .sp .ne 2 -.mk .na \fB\fIrepcount\fR \fR .ad .RS 13n -.rt Number of data accesses to perform. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR \fR .ad .RS 13n -.rt Device address flags. .RE diff --git a/usr/src/man/man9f/csx_RequestConfiguration.9f b/usr/src/man/man9f/csx_RequestConfiguration.9f index 0b5ac00122..c91f799f5f 100644 --- a/usr/src/man/man9f/csx_RequestConfiguration.9f +++ b/usr/src/man/man9f/csx_RequestConfiguration.9f @@ -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 csx_RequestConfiguration 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_REQUESTCONFIGURATION 9F "Jul 19, 1996" .SH NAME csx_RequestConfiguration \- configure the PC Card and socket .SH SYNOPSIS @@ -23,23 +23,19 @@ Solaris \fBDDI\fR Specific (Solaris \fBDDI\fR) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcr\fR\fR .ad .RS 6n -.rt Pointer to a \fBconfig_req_t\fR structure. .RE @@ -85,7 +81,6 @@ uint32_t ExtendedStatus; /* value to write to EXSTAT register */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBSocket\fR\fR .ad @@ -97,7 +92,6 @@ implementations, it should be set to the logical socket number. .sp .ne 2 -.mk .na \fB\fBAttributes\fR\fR .ad @@ -108,7 +102,6 @@ resources to be enabled and whether Card Services should ignore the \fBVS\fR bits on the socket interface. The following bits are defined: .sp .ne 2 -.mk .na \fB\fBCONF_ENABLE_IRQ_STEERING\fR\fR .ad @@ -124,7 +117,6 @@ at the \fBIRQ\fR callback handler established in the call to .sp .ne 2 -.mk .na \fB\fBCONF_VSOVERRIDE\fR\fR .ad @@ -143,7 +135,6 @@ pin decoding), if a client desires to apply a voltage not indicated by the .sp .ne 2 -.mk .na \fB\fBVcc, Vpp1, Vpp2\fR\fR .ad @@ -161,7 +152,6 @@ decoding without requiring the client to set \fBCONF_VSOVERRIDE.\fR .sp .ne 2 -.mk .na \fB\fBIntType\fR\fR .ad @@ -171,7 +161,6 @@ This field is bit-mapped. It indicates how the socket should be configured. The following bits are defined: .sp .ne 2 -.mk .na \fB\fBSOCKET_INTERFACE_MEMORY\fR\fR .ad @@ -182,7 +171,6 @@ Memory only interface. .sp .ne 2 -.mk .na \fB\fBSOCKET_INTERFACE_MEMORY_AND_IO\fR\fR .ad @@ -195,7 +183,6 @@ Memory and I/O interface. .sp .ne 2 -.mk .na \fB\fBConfigBase\fR\fR .ad @@ -207,7 +194,6 @@ configuration registers. .sp .ne 2 -.mk .na \fB\fBPresent\fR\fR .ad @@ -217,56 +203,46 @@ This field identifies which of the configuration registers are present. If present, the corresponding bit is set. This field is bit-mapped as follows: .sp .ne 2 -.mk .na \fB\fBCONFIG_OPTION_REG_PRESENT\fR\fR .ad .RS 30n -.rt Configuration Option Register (COR) present .RE .sp .ne 2 -.mk .na \fB\fBCONFIG_STATUS_REG_PRESENT\fR\fR .ad .RS 30n -.rt Configuration Status Register (CCSR) present .RE .sp .ne 2 -.mk .na \fB\fBCONFIG_PINREPL_REG_PRESENT\fR\fR .ad .RS 30n -.rt Pin Replacement Register (PRR) present .RE .sp .ne 2 -.mk .na \fB\fBCONFIG_COPY_REG_PRESENT\fR\fR .ad .RS 30n -.rt Socket and Copy Register (SCR) present .RE .sp .ne 2 -.mk .na \fB\fBCONFIG_ESR_REG_PRESENT\fR\fR .ad .RS 30n -.rt Extended Status Register (ESR) present .RE @@ -274,7 +250,6 @@ Extended Status Register (ESR) present .sp .ne 2 -.mk .na \fB\fBStatus, Pin, Copy, ExtendedStatus\fR\fR .ad @@ -292,89 +267,73 @@ which are set are considered valid. This affects how status is returned by the bit definitions are provided for client use: .sp .ne 2 -.mk .na \fB\fBPRR_WP_STATUS\fR\fR .ad .RS 20n -.rt \fBWRITE PROTECT\fR mask .RE .sp .ne 2 -.mk .na \fB\fBPRR_READY_STATUS\fR\fR .ad .RS 20n -.rt \fBREADY\fR mask .RE .sp .ne 2 -.mk .na \fB\fBPRR_BVD2_STATUS\fR\fR .ad .RS 20n -.rt \fBBVD2\fR mask .RE .sp .ne 2 -.mk .na \fB\fBPRR_BVD1_STATUS\fR\fR .ad .RS 20n -.rt \fBBVD1\fR mask .RE .sp .ne 2 -.mk .na \fB\fBPRR_WP_EVENT\fR\fR .ad .RS 20n -.rt \fBWRITE PROTECT\fR changed .RE .sp .ne 2 -.mk .na \fB\fBPRR_READY_EVENT\fR\fR .ad .RS 20n -.rt \fBREADY\fR changed .RE .sp .ne 2 -.mk .na \fB\fBPRR_BVD2_EVENT\fR\fR .ad .RS 20n -.rt \fBBVD2\fR changed .RE .sp .ne 2 -.mk .na \fB\fBPRR_BVD1_EVENT\fR\fR .ad .RS 20n -.rt \fBBVD1\fR changed .RE @@ -382,7 +341,6 @@ bit definitions are provided for client use: .sp .ne 2 -.mk .na \fB\fBConfigIndex\fR\fR .ad @@ -398,100 +356,82 @@ set to \fIlevel\fR mode by Card Services. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid or \fBcsx_RequestConfiguration()\fR not done. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_SOCKET\fR\fR .ad .RS 27n -.rt Error in getting or setting socket hardware parameters. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_VCC\fR\fR .ad .RS 27n -.rt Requested \fBVcc\fR is not available on socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_VPP\fR\fR .ad .RS 27n -.rt Requested \fBVpp\fR is not available on socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC\fR Card in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_TYPE\fR\fR .ad .RS 27n -.rt \fBI/O\fR and memory interface not supported on socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_CONFIGURATION_LOCKED\fR\fR .ad .RS 27n -.rt \fBcsx_RequestConfiguration()\fR already done. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA\fR hardware installed. .RE diff --git a/usr/src/man/man9f/csx_RequestIO.9f b/usr/src/man/man9f/csx_RequestIO.9f index 64fcd65702..3201cf9c48 100644 --- a/usr/src/man/man9f/csx_RequestIO.9f +++ b/usr/src/man/man9f/csx_RequestIO.9f @@ -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 csx_RequestIO 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_REQUESTIO 9F "Jul 19, 1996" .SH NAME csx_RequestIO, csx_ReleaseIO \- request or release I/O resources for the client .SH SYNOPSIS @@ -28,23 +28,19 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI\fR) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIir\fR\fR .ad .RS 6n -.rt Pointer to an \fBio_req_t\fR structure. .RE @@ -80,15 +76,15 @@ The structure members of \fBio_req_t\fR are: uint32_t Socket; /* socket number*/ uint32_t Baseport1.base; /* IO range base port address */ -acc_handle_t Baseport1.handle; /* IO range base address +acc_handle_t Baseport1.handle; /* IO range base address /* or port num */ -uint32_t NumPorts1; /* first IO range number contiguous +uint32_t NumPorts1; /* first IO range number contiguous /* ports */ uint32_t Attributes1; /* first IO range attributes */ uint32_t Baseport2.base; /* IO range base port address */ acc_handle_t Baseport2.handle; /* IO range base address or port num */ -uint32_t NumPorts2; /* second IO range number contiguous +uint32_t NumPorts2; /* second IO range number contiguous /* ports */ uint32_t Attributes2; /* second IO range attributes */ @@ -101,19 +97,16 @@ uint32_t IOAddrLines; /* number of IO address lines decoded */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBSocket\fR\fR .ad .RS 20n -.rt Not used in Solaris, but for portability with other Card Services implementations, it should be set to the logical socket number. .RE .sp .ne 2 -.mk .na \fB\fBBasePort1.base\fR\fR .ad @@ -130,7 +123,6 @@ implementations, it should be set to the logical socket number. \fB\fBBasePort2.handle\fR\fR .ad .RS 20n -.rt Two \fBI/O\fR address ranges can be requested by \fBcsx_RequestIO()\fR. Each \fBI/O\fR address range is specified by the \fBBasePort\fR, \fBNumPorts\fR, and \fBAttributes\fR fields. If only a single \fBI/O\fR range is being requested, @@ -160,131 +152,107 @@ fields must be non-zero. .sp .ne 2 -.mk .na \fB\fBNumPorts\fR\fR .ad .RS 20n -.rt This field is the number of contiguous ports being requested. .RE .sp .ne 2 -.mk .na \fB\fBAttributes\fR\fR .ad .RS 20n -.rt This field is bit-mapped. The following bits are defined: .sp .ne 2 -.mk .na \fB\fBIO_DATA_WIDTH_8\fR\fR .ad .RS 27n -.rt \fBI/O\fR resource uses 8-bit data path. .RE .sp .ne 2 -.mk .na \fB\fBIO_DATA_WIDTH_16\fR\fR .ad .RS 27n -.rt \fBI/O\fR resource uses 16-bit data path. .RE .sp .ne 2 -.mk .na \fB\fBWIN_ACC_NEVER_SWAP\fR\fR .ad .RS 27n -.rt Host endian byte ordering. .RE .sp .ne 2 -.mk .na \fB\fBWIN_ACC_BIG_ENDIAN\fR\fR .ad .RS 27n -.rt Big endian byte ordering .RE .sp .ne 2 -.mk .na \fB\fBWIN_ACC_LITTLE_ENDIAN\fR\fR .ad .RS 27n -.rt Little endian byte ordering. .RE .sp .ne 2 -.mk .na \fB\fBWIN_ACC_STRICT_ORDER\fR\fR .ad .RS 27n -.rt Program ordering references. .RE .sp .ne 2 -.mk .na \fB\fBWIN_ACC_UNORDERED_OK\fR\fR .ad .RS 27n -.rt May re-order references. .RE .sp .ne 2 -.mk .na \fB\fBWIN_ACC_MERGING_OK\fR\fR .ad .RS 27n -.rt Merge stores to consecutive locations. .RE .sp .ne 2 -.mk .na \fB\fBWIN_ACC_LOADCACHING_OK\fR\fR .ad .RS 27n -.rt May cache load operations. .RE .sp .ne 2 -.mk .na \fB\fBWIN_ACC_STORECACHING_OK\fR\fR .ad .RS 27n -.rt May cache store operations. .RE @@ -310,7 +278,6 @@ in the data access functions. The ability to specify the order in which the bits. Only one of the following bits may be specified: .sp .ne 2 -.mk .na \fB\fBWIN_ACC_STRICT_ORDER\fR\fR .ad @@ -322,7 +289,6 @@ ordering is the default behavior. .sp .ne 2 -.mk .na \fB\fBWIN_ACC_UNORDERED_OK\fR\fR .ad @@ -335,7 +301,6 @@ followed by a load). .sp .ne 2 -.mk .na \fB\fBWIN_ACC_MERGING_OK\fR\fR .ad @@ -350,7 +315,6 @@ implies re-ordering. .sp .ne 2 -.mk .na \fB\fBWIN_ACC_LOADCACHING_OK\fR\fR .ad @@ -363,7 +327,6 @@ occurs. The default behavior is to fetch new data on every load. .sp .ne 2 -.mk .na \fB\fBWIN_ACC_STORECACHING_OK\fR\fR .ad @@ -383,12 +346,10 @@ to \fB0\fR. .sp .ne 2 -.mk .na \fB\fBIOAddrLines\fR\fR .ad .RS 20n -.rt This field is the number of \fBI/O\fR address lines decoded by the \fBPC\fR Card in the specified socket. .RE @@ -402,112 +363,92 @@ Services to allocate \fBI/O\fR resources for the client. (See \fBNOTES\fR). .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_ATTRIBUTE\fR\fR .ad .RS 27n -.rt Invalid \fBAttributes\fR specified. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_BASE\fR\fR .ad .RS 27n -.rt \fBBasePort\fR value is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_CONFIGURATION_LOCKED\fR\fR .ad .RS 27n -.rt \fBcsx_RequestConfiguration\fR(9F) has already been done. .RE .sp .ne 2 -.mk .na \fB\fBCS_IN_USE\fR\fR .ad .RS 27n -.rt \fBcsx_RequestIO()\fR has already been done without a corresponding \fBcsx_ReleaseIO()\fR. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC\fR Card in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_WINDOW\fR\fR .ad .RS 27n -.rt Unable to allocate \fBI/O\fR resources. .RE .sp .ne 2 -.mk .na \fB\fBCS_OUT_OF_RESOURCE\fR\fR .ad .RS 27n -.rt Unable to allocate \fBI/O\fR resources. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA\fR hardware installed. .RE diff --git a/usr/src/man/man9f/csx_RequestIRQ.9f b/usr/src/man/man9f/csx_RequestIRQ.9f index 9ff5ac2697..6c5e33296d 100644 --- a/usr/src/man/man9f/csx_RequestIRQ.9f +++ b/usr/src/man/man9f/csx_RequestIRQ.9f @@ -4,7 +4,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 csx_RequestIRQ 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_REQUESTIRQ 9F "Jul 19, 1996" .SH NAME csx_RequestIRQ, csx_ReleaseIRQ \- request or release IRQ resource .SH SYNOPSIS @@ -29,23 +29,19 @@ Solaris \fBDDI\fR Specific (Solaris \fBDDI\fR) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR \fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIir\fR \fR .ad .RS 7n -.rt Pointer to an \fBirq_req_t\fR structure. .RE @@ -88,9 +84,9 @@ uint32_t Socket; /* socket number */ uint32_t Attributes; /* IRQ attribute flags */ csfunction_t *irq_handler; /* IRQ handler */ void *irq_handler_arg; /* IRQ handler argument */ -ddi_iblock_cookie_t *iblk_cookie; /* IRQ interrupt +ddi_iblock_cookie_t *iblk_cookie; /* IRQ interrupt /* block cookie */ -ddi_idevice_cookie_t *idev_cookie; /* IRQ interrupt device +ddi_idevice_cookie_t *idev_cookie; /* IRQ interrupt device /* cookie */ .fi .in -2 @@ -100,34 +96,28 @@ ddi_idevice_cookie_t *idev_cookie; /* IRQ interrupt device The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBSocket\fR \fR .ad .RS 20n -.rt Not used in Solaris, but for portability with other Card Services implementations, it should be set to the logical socket number. .RE .sp .ne 2 -.mk .na \fB\fBAttributes\fR \fR .ad .RS 20n -.rt This field is bit-mapped. It specifies details about the type of \fBIRQ\fR desired by the client. The following bits are defined: .sp .ne 2 -.mk .na \fB\fBIRQ_TYPE_EXCLUSIVE\fR\fR .ad .RS 22n -.rt \fBIRQ\fR is exclusive to this socket. This bit must be set. It indicates that the system IRQ is dedicated to this PC Card. .RE @@ -136,31 +126,26 @@ the system IRQ is dedicated to this PC Card. .sp .ne 2 -.mk .na \fB\fBirq_handler\fR \fR .ad .RS 20n -.rt The client \fBIRQ\fR callback handler entry point is passed in the \fBirq_handler\fR field. .RE .sp .ne 2 -.mk .na \fB\fBirq_handler_arg\fR \fR .ad .RS 20n -.rt The client can use the \fBirq_handler_arg\fR field to pass client-specific data to the client \fBIRQ\fR callback handler. .RE .sp .ne 2 -.mk .na \fB\fBiblk_cookie\fR \fR .ad @@ -169,7 +154,6 @@ to the client \fBIRQ\fR callback handler. \fB\fBidev_cookie\fR \fR .ad .RS 20n -.rt These fields must be used by the client to set up mutexes that are used in the client's \fBIRQ\fR callback handler. .RE @@ -183,102 +167,84 @@ changes are made to Card Services resources or the socket and adapter hardware. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_ARGS\fR \fR .ad .RS 28n -.rt \fBIRQ\fR description does not match allocation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_ATTRIBUTE\fR \fR .ad .RS 28n -.rt -\fBIRQ_TYPE_EXCLUSIVE\fR not set, or an unsupported or reserved bit is set. +\fBIRQ_TYPE_EXCLUSIVE\fR not set, or an unsupported or reserved bit is set. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid or \fBcsx_RequestConfiguration\fR(9F) not done. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_IRQ\fR \fR .ad .RS 28n -.rt Unable to allocate \fBIRQ\fR resources. .RE .sp .ne 2 -.mk .na \fB\fBCS_IN_USE\fR \fR .ad .RS 28n -.rt \fBcsx_RequestIRQ()\fR already done or a previous \fBcsx_RequestIRQ()\fR has not been done for a corresponding \fBcsx_ReleaseIRQ()\fR. .RE .sp .ne 2 -.mk .na \fB\fBCS_CONFIGURATION_LOCKED\fR \fR .ad .RS 28n -.rt \fBcsx_RequestConfiguration\fR(9F) already done or \fBcsx_ReleaseConfiguration\fR(9F) has not been done. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR \fR .ad .RS 28n -.rt No \fBPC\fR Card in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA\fR hardware installed. .RE diff --git a/usr/src/man/man9f/csx_RequestSocketMask.9f b/usr/src/man/man9f/csx_RequestSocketMask.9f index 03040b240e..a688ebd490 100644 --- a/usr/src/man/man9f/csx_RequestSocketMask.9f +++ b/usr/src/man/man9f/csx_RequestSocketMask.9f @@ -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 csx_RequestSocketMask 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_REQUESTSOCKETMASK 9F "Jul 19, 1996" .SH NAME csx_RequestSocketMask, csx_ReleaseSocketMask \- set or clear the client's client event mask @@ -14,13 +14,13 @@ client event mask -\fBint32_t\fR \fBcsx_RequestSocketMask\fR(\fBclient_handle_t\fR \fIch\fR, +\fBint32_t\fR \fBcsx_RequestSocketMask\fR(\fBclient_handle_t\fR \fIch\fR, \fBrequest_socket_mask_t *\fR\fIsm\fR); .fi .LP .nf -\fBint32_t\fR \fBcsx_ReleaseSocketMask\fR(\fBclient_handle_t\fR \fIch\fR, +\fBint32_t\fR \fBcsx_ReleaseSocketMask\fR(\fBclient_handle_t\fR \fIch\fR, \fBrelease_socket_mask_t *\fR\fIrm\fR); .fi @@ -31,34 +31,28 @@ Solaris \fBDDI\fR Specific (Solaris \fBDDI\fR) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIsm\fR\fR .ad .RS 6n -.rt Pointer to a \fBrequest_socket_mask_t\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIrm\fR\fR .ad .RS 6n -.rt Pointer to a \fBrelease_socket_mask_t\fR structure. .RE @@ -108,24 +102,20 @@ The structure members of \fBrelease_socket_mask_t\fR are: The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBSocket\fR\fR .ad .RS 13n -.rt Not used in Solaris, but for portability with other Card Services implementations, it should be set to the logical socket number. .RE .sp .ne 2 -.mk .na \fB\fBEventMask\fR\fR .ad .RS 13n -.rt This field is bit-mapped. Card Services performs event notification based on this field. See \fBcsx_event_handler\fR(9E) for valid event definitions and for additional information about handling events. @@ -134,56 +124,46 @@ additional information about handling events. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_IN_USE\fR\fR .ad .RS 27n -.rt \fBcsx_ReleaseSocketMask()\fR has not been done. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_SOCKET\fR\fR .ad .RS 27n -.rt \fBcsx_RequestSocketMask()\fR has not been done. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA\fR hardware installed. .RE diff --git a/usr/src/man/man9f/csx_RequestWindow.9f b/usr/src/man/man9f/csx_RequestWindow.9f index 87d251b2b7..318b4f6e0c 100644 --- a/usr/src/man/man9f/csx_RequestWindow.9f +++ b/usr/src/man/man9f/csx_RequestWindow.9f @@ -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 csx_RequestWindow 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_REQUESTWINDOW 9F "Jul 19, 1996" .SH NAME csx_RequestWindow, csx_ReleaseWindow \- request or release window resources .SH SYNOPSIS @@ -29,34 +29,28 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIwh\fR\fR .ad .RS 6n -.rt Pointer to a \fBwindow_handle_t\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIwr\fR\fR .ad .RS 6n -.rt Pointer to a \fBwin_req_t\fR structure. .RE @@ -91,7 +85,7 @@ uint32_t Socket; /* socket number */ uint32_t Attributes; /* window flags */ uint32_t Base.base; /* requested window */ /* base address */ -acc_handle_t Base.handle; /* returned handle for +acc_handle_t Base.handle; /* returned handle for /* base of window */ uint32_t Size; /* window size requested */ /* or granted */ @@ -106,28 +100,23 @@ uint32_t ReqOffset; /* required window offest */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBSocket\fR\fR .ad .RS 26n -.rt Not used in Solaris, but for portability with other Card Services implementations, it should be set to the logical socket number. .RE .sp .ne 2 -.mk .na \fB\fBAttributes\fR\fR .ad .RS 26n -.rt This field is bit-mapped and is defined as follows: .sp .ne 2 -.mk .na \fB\fBWIN_MEMORY_TYPE_IO\fR\fR .ad @@ -138,7 +127,6 @@ Points to I/O space. .sp .ne 2 -.mk .na \fB\fBWIN_MEMORY_TYPE_CM\fR\fR .ad @@ -149,7 +137,6 @@ Points to common memory space. .sp .ne 2 -.mk .na \fB\fBWIN_MEMORY_TYPE_AM\fR\fR .ad @@ -161,7 +148,6 @@ must be set. .sp .ne 2 -.mk .na \fB\fBWIN_ENABLE\fR\fR .ad @@ -172,7 +158,6 @@ The client must set this bit to enable the window. .sp .ne 2 -.mk .na \fB\fBWIN_ACC_BIG_ENDIAN\fR\fR .ad @@ -183,7 +168,6 @@ Describes device as big-endian. .sp .ne 2 -.mk .na \fB\fBWIN_ACC_LITTLE_ENDIAN\fR\fR .ad @@ -201,7 +185,6 @@ hardware platform byte swapping capabilities. .sp .ne 2 -.mk .na \fB\fBWIN_ACC_NEVER_SWAP\fR\fR .ad @@ -216,7 +199,6 @@ provided by the following \fBAttributes\fR bits, only one of which may be specified: .sp .ne 2 -.mk .na \fB\fBWIN_ACC_STRICT_ORDER\fR\fR .ad @@ -228,7 +210,6 @@ ordering is the default behavior. .sp .ne 2 -.mk .na \fB\fBWIN_ACC_UNORDERED_OK\fR\fR .ad @@ -241,7 +222,6 @@ followed by a load). .sp .ne 2 -.mk .na \fB\fBWIN_ACC_MERGING_OK\fR\fR .ad @@ -256,7 +236,6 @@ re-ordering. .sp .ne 2 -.mk .na \fB\fBWIN_ACC_LOADCACHING_OK\fR\fR .ad @@ -269,7 +248,6 @@ implies merging and re-ordering. .sp .ne 2 -.mk .na \fB\fBWIN_ACC_STORECACHING_OK\fR\fR .ad @@ -293,23 +271,19 @@ set in the \fBAttributes\fR field when the client must specify card offsets to .sp .ne 2 -.mk .na \fB\fBBase.base\fR\fR .ad .RS 26n -.rt This field must be set to \fB0\fR on calling \fBcsx_RequestWindow()\fR. .RE .sp .ne 2 -.mk .na \fB\fBBase.handle\fR\fR .ad .RS 26n -.rt On successful return from \fBcsx_RequestWindow()\fR, the \fBBase.handle\fR field contains an access handle corresponding to the first byte of the allocated memory window which the client must use when accessing the \fBPC @@ -320,12 +294,10 @@ value. .sp .ne 2 -.mk .na \fB\fBSize\fR\fR .ad .RS 26n -.rt On calling \fBcsx_RequestWindow()\fR, the \fBSize\fR field is the size in bytes of the memory window requested. \fBSize\fR may be zero to indicate that Card Services should provide the smallest sized window available. On successful @@ -335,12 +307,10 @@ size of the window allocated. .sp .ne 2 -.mk .na \fB\fBwin_params.AccessSpeed\fR\fR .ad .RS 26n -.rt This field specifies the access speed of the window if the client is requesting a memory window. The \fBAccessSpeed\fR field bit definitions use the format of the extended speed byte of the Device \fBID \fRtuple. If the mantissa is @@ -352,23 +322,22 @@ are a binary code representing a speed from the following table: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBCode\fR\fBSpeed\fR +box; +l | l +l | l . +\fBCode\fR \fBSpeed\fR _ -0(Reserved - do not use). +0 (Reserved - do not use). _ -1250 nsec +1 250 nsec _ -2200 nsec +2 200 nsec _ -3150 nsec +3 150 nsec _ -4100 nse +4 100 nse _ -5-7(Reserved\(emdo not use.) +5-7 (Reserved\(emdo not use.) .TE .sp @@ -383,12 +352,10 @@ generate the appropriate \fBAccessSpeed\fR values rather than manually perturbing the \fBAccessSpeed\fR field. .sp .ne 2 -.mk .na \fB\fBwin_params.IOAddrLines\fR\fR .ad .RS 26n -.rt If the client is requesting an \fBI/O \fRwindow, the \fBIOAddrLines\fR field is the number of \fBI/O \fRaddress lines decoded by the \fBPC \fRCard in the specified socket. Access to the \fBI/O \fRwindow is not enabled until @@ -397,12 +364,10 @@ specified socket. Access to the \fBI/O \fRwindow is not enabled until .sp .ne 2 -.mk .na \fB\fBReqOffset\fR\fR .ad .RS 26n -.rt This field is a Solaris-specific extension that can be used by clients to generate optimum window offsets passed to \fBcsx_MapMemPage\fR(9F). .RE @@ -410,89 +375,73 @@ generate optimum window offsets passed to \fBcsx_MapMemPage\fR(9F). .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_ATTRIBUTE\fR\fR .ad .RS 27n -.rt \fBAttributes\fR are invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_SPEED\fR\fR .ad .RS 27n -.rt Speed is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_SIZE\fR\fR .ad .RS 27n -.rt Window size is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC \fRCard in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_OUT_OF_RESOURCE\fR\fR .ad .RS 27n -.rt Unable to allocate window. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_ResetFunction.9f b/usr/src/man/man9f/csx_ResetFunction.9f index 1e82c72b1d..00baf5a416 100644 --- a/usr/src/man/man9f/csx_ResetFunction.9f +++ b/usr/src/man/man9f/csx_ResetFunction.9f @@ -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 csx_ResetFunction 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_RESETFUNCTION 9F "Jul 19, 1996" .SH NAME csx_ResetFunction \- reset a function on a PC card .SH SYNOPSIS @@ -23,23 +23,19 @@ Solaris \fBDDI\fR Specific (Solaris \fBDDI\fR) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIrf\fR\fR .ad .RS 6n -.rt Pointer to a \fBreset_function_t\fR structure. .RE @@ -65,91 +61,75 @@ The structure members of \fBreset_function_t\fR are: The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBSocket\fR\fR .ad .RS 14n -.rt Not used in Solaris, but for portability with other Card Services implementations, it should be set to the logical socket number. .RE .sp .ne 2 -.mk .na \fB\fBAttributes\fR\fR .ad .RS 14n -.rt Must be \fB0\fR. .RE .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Card Services has noted the reset request. .RE .sp .ne 2 -.mk .na \fB\fBCS_IN_USE\fR\fR .ad .RS 27n -.rt This Card Services implementation does not permit configured cards to be reset. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR\fR .ad .RS 27n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC\fR card in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_SOCKET\fR\fR .ad .RS 27n -.rt Specified socket or function number is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA\fR hardware installed. .RE diff --git a/usr/src/man/man9f/csx_SetEventMask.9f b/usr/src/man/man9f/csx_SetEventMask.9f index 53ea1d19b9..ae9e4264d6 100644 --- a/usr/src/man/man9f/csx_SetEventMask.9f +++ b/usr/src/man/man9f/csx_SetEventMask.9f @@ -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 csx_SetEventMask 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_SETEVENTMASK 9F "Jul 19, 1996" .SH NAME csx_SetEventMask, csx_GetEventMask \- set or return the client event mask for the client @@ -29,23 +29,19 @@ Solaris \fBDDI \fRSpecific (Solaris \fBDDI) \fR .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR \fR .ad .RS 7n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIse\fR \fR .ad .RS 7n -.rt Pointer to a \fBsockevent_t\fR structure .RE @@ -80,33 +76,27 @@ uint32_t Socket; /* socket number if necessary */ The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBAttributes\fR\fR .ad .RS 14n -.rt This is a bit-mapped field that identifies the type of event mask to be returned. The field is defined as follows: .sp .ne 2 -.mk .na \fB\fBCONF_EVENT_MASK_GLOBAL\fR \fR .ad .RS 27n -.rt Client's global event mask. If set, the client's global event mask is returned. .RE .sp .ne 2 -.mk .na \fB\fBCONF_EVENT_MASK_CLIENT\fR \fR .ad .RS 27n -.rt Client's local event mask. If set, the client's local event mask is returned. .RE @@ -114,12 +104,10 @@ Client's local event mask. If set, the client's local event mask is returned. .sp .ne 2 -.mk .na \fB\fBEventMask\fR \fR .ad .RS 14n -.rt This field is bit-mapped. Card Services performs event notification based on this field. See \fBcsx_event_handler\fR(9E) for valid event definitions and for additional information about handling events. @@ -127,12 +115,10 @@ additional information about handling events. .sp .ne 2 -.mk .na \fB\fBSocket\fR \fR .ad .RS 14n -.rt Not used in Solaris, but for portability with other Card Services implementations, it should be set to the logical socket number. .RE @@ -140,45 +126,37 @@ implementations, it should be set to the logical socket number. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 28n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_HANDLE\fR \fR .ad .RS 28n -.rt Client handle is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_BAD_SOCKET\fR \fR .ad .RS 28n -.rt \fBcsx_RequestSocketMask\fR(9F) not called for \fBCONF_EVENT_MASK_CLIENT.\fR .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR \fR .ad .RS 28n -.rt No \fBPCMCIA \fRhardware installed. .RE diff --git a/usr/src/man/man9f/csx_SetHandleOffset.9f b/usr/src/man/man9f/csx_SetHandleOffset.9f index 358dc41c1b..7e1427d69c 100644 --- a/usr/src/man/man9f/csx_SetHandleOffset.9f +++ b/usr/src/man/man9f/csx_SetHandleOffset.9f @@ -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 csx_SetHandleOffset 9F "16 May 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_SETHANDLEOFFSET 9F "May 16, 1997" .SH NAME csx_SetHandleOffset \- set current access handle offset .SH SYNOPSIS @@ -23,23 +23,19 @@ Solaris \fBDDI\fR Specific (Solaris \fBDDI\fR) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 11n -.rt Access handle returned by \fBcsx_RequestIRQ\fR(9F) or \fBcsx_RequestIO\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIoffset\fR \fR .ad .RS 11n -.rt New access handle offset. .RE @@ -51,12 +47,10 @@ This function sets the current offset for the access handle, \fIhandle\fR, to .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR \fR .ad .RS 15n -.rt Successful operation. .RE diff --git a/usr/src/man/man9f/csx_ValidateCIS.9f b/usr/src/man/man9f/csx_ValidateCIS.9f index 455f9ca74a..dc64445b06 100644 --- a/usr/src/man/man9f/csx_ValidateCIS.9f +++ b/usr/src/man/man9f/csx_ValidateCIS.9f @@ -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 csx_ValidateCIS 9F "19 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH CSX_VALIDATECIS 9F "Jul 19, 1996" .SH NAME csx_ValidateCIS \- validate the Card Information Structure (CIS) .SH SYNOPSIS @@ -23,23 +23,19 @@ Solaris \fBDDI\fR Specific (Solaris \fBDDI\fR) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIch\fR\fR .ad .RS 6n -.rt Client handle returned from \fBcsx_RegisterClient\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIci\fR\fR .ad .RS 6n -.rt Pointer to a \fBcisinfo_t\fR structure. .RE @@ -66,36 +62,30 @@ The structure members of \fBcisinfo_t\fR are: The fields are defined as follows: .sp .ne 2 -.mk .na \fB\fBSocket\fR\fR .ad .RS 10n -.rt Not used in Solaris, but for portability with other Card Services implementations, it should be set to the logical socket number. .RE .sp .ne 2 -.mk .na \fB\fBChains\fR\fR .ad .RS 10n -.rt This field returns the number of valid tuple chains located in the \fBCIS\fR. If \fB0\fR is returned, the \fBCIS\fR is not valid. .RE .sp .ne 2 -.mk .na \fB\fBTuples\fR\fR .ad .RS 10n -.rt This field is a Solaris-specific extension and it returns the total number of tuples on all the chains in the \fBPC\fR Card's \fBCIS\fR. .RE @@ -103,45 +93,37 @@ tuples on all the chains in the \fBPC\fR Card's \fBCIS\fR. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBCS_SUCCESS\fR\fR .ad .RS 27n -.rt Successful operation. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CIS\fR\fR .ad .RS 27n -.rt No \fBCIS\fR on \fBPC\fR Card or \fBCIS\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBCS_NO_CARD\fR\fR .ad .RS 27n -.rt No \fBPC\fR Card in socket. .RE .sp .ne 2 -.mk .na \fB\fBCS_UNSUPPORTED_FUNCTION\fR\fR .ad .RS 27n -.rt No \fBPCMCIA\fR hardware installed. .RE diff --git a/usr/src/man/man9f/datamsg.9f b/usr/src/man/man9f/datamsg.9f index fc4aa705cd..6e7f1cd3a4 100644 --- a/usr/src/man/man9f/datamsg.9f +++ b/usr/src/man/man9f/datamsg.9f @@ -4,7 +4,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 datamsg 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DATAMSG 9F "Jan 16, 2006" .SH NAME datamsg \- test whether a message is a data message .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 8n -.rt The type of message to be tested. The \fBdb_type\fR field of the \fBdatab\fR(9S) structure contains the message type. This field may be accessed through the message block using \fBmp->b_datap->db_type\fR. @@ -48,23 +46,19 @@ data message type (\fBM_DATA\fR, \fBM_DELAY\fR, \fBM_PROTO\fR , or \fBdatamsg\fR returns .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 5n -.rt if the message is a data message .RE .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 5n -.rt otherwise. .RE diff --git a/usr/src/man/man9f/ddi_add_event_handler.9f b/usr/src/man/man9f/ddi_add_event_handler.9f index ae04d5b542..4941b8af3f 100644 --- a/usr/src/man/man9f/ddi_add_event_handler.9f +++ b/usr/src/man/man9f/ddi_add_event_handler.9f @@ -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 ddi_add_event_handler 9F "62 Nov 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_ADD_EVENT_HANDLER 9F "Nov 2, 2003" .SH NAME ddi_add_event_handler \- add an NDI event service callback handler .SH SYNOPSIS @@ -24,7 +24,6 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fBdev_info_t *\fR\fIdip\fR\fR .ad @@ -35,7 +34,6 @@ Device node registering the callback. .sp .ne 2 -.mk .na \fB\fBddi_eventcookie_t\fR \fIcookie\fR\fR .ad @@ -46,7 +44,6 @@ Cookie returned from call to \fBddi_get_eventcookie\fR(9F). .sp .ne 2 -.mk .na \fB\fBvoid (*\fR\fIhandler\fR\fB)(dev_info_t *, ddi_eventcookie_t, void *, void *)\fR\fR @@ -58,7 +55,6 @@ Callback handler responsible for handling an NDI event service notification. .sp .ne 2 -.mk .na \fB\fBvoid *\fR\fIarg\fR\fR .ad @@ -70,7 +66,6 @@ pointer to the driver's \fBsoftstate\fR structure. .sp .ne 2 -.mk .na \fB\fBddi_registration_id_t *\fR\fIid\fR\fR .ad @@ -100,45 +95,37 @@ to be random. The routine handler will be invoked with the following arguments: .sp .ne 2 -.mk .na \fB\fBdev_info_t *\fR\fIdip\fR\fR .ad .RS 28n -.rt Device node requesting the notification. .RE .sp .ne 2 -.mk .na \fB\fBddi_eventcookie_t\fR \fIcookie\fR\fR .ad .RS 28n -.rt Structure describing event that occurred. .RE .sp .ne 2 -.mk .na \fB\fBvoid *\fR\fIarg\fR\fR .ad .RS 28n -.rt Opaque data pointer provided, by the driver, during callback registration. .RE .sp .ne 2 -.mk .na \fB\fBvoid *\fR\fIimpl_data\fR\fR .ad .RS 28n -.rt Pointer to event specific data defined by the framework which invokes the callback function. .RE @@ -146,23 +133,19 @@ callback function. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Callback handler registered successfully. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Failed to register callback handler. Possible reasons include lack of resources or a bad cookie. .RE @@ -180,13 +163,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelCommitted +Stability Level Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_add_intr.9f b/usr/src/man/man9f/ddi_add_intr.9f index efe1756fad..e8c445a525 100644 --- a/usr/src/man/man9f/ddi_add_intr.9f +++ b/usr/src/man/man9f/ddi_add_intr.9f @@ -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 ddi_add_intr 9F "19 Oct 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_ADD_INTR 9F "Oct 19, 2005" .SH NAME ddi_add_intr, ddi_get_iblock_cookie, ddi_remove_intr \- hardware interrupt handling routines @@ -23,16 +23,16 @@ handling routines .LP .nf -\fBint\fR \fBddi_add_intr\fR(\fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIinumber\fR, +\fBint\fR \fBddi_add_intr\fR(\fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIinumber\fR, \fBddi_iblock_cookie_t *\fR\fIiblock_cookiep\fR, - \fBddi_idevice_cookie_t *\fR\fIidevice_cookiep\fR, + \fBddi_idevice_cookie_t *\fR\fIidevice_cookiep\fR, \fBuint_t (*\fR\fIint_handler\fR) (caddr_t), \fBcaddr_t\fR \fIint_handler_arg\fR); .fi .LP .nf -\fBvoid\fR \fBddi_remove_intr\fR(\fBdev_info_t *\fR\fIdip\fR, +\fBvoid\fR \fBddi_remove_intr\fR(\fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIinumber\fR, \fBddi_iblock_cookie_t\fR \fIiblock_cookie\fR); .fi @@ -48,34 +48,28 @@ Drivers\fR for more information. For \fBddi_get_iblock_cookie()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 18n -.rt Pointer to \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIinumber\fR\fR .ad .RS 18n -.rt Interrupt number. .RE .sp .ne 2 -.mk .na \fB\fIiblock_cookiep\fR\fR .ad .RS 18n -.rt Pointer to an interrupt block cookie. .RE @@ -84,69 +78,57 @@ Pointer to an interrupt block cookie. For \fBddi_add_intr()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 19n -.rt Pointer to \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIinumber\fR\fR .ad .RS 19n -.rt Interrupt number. .RE .sp .ne 2 -.mk .na \fB\fIiblock_cookiep\fR\fR .ad .RS 19n -.rt Optional pointer to an interrupt block cookie where a returned interrupt block cookie is stored. .RE .sp .ne 2 -.mk .na \fB\fIidevice_cookiep\fR\fR .ad .RS 19n -.rt Optional pointer to an interrupt device cookie where a returned interrupt device cookie is stored. .RE .sp .ne 2 -.mk .na \fB\fIint_handler\fR\fR .ad .RS 19n -.rt Pointer to interrupt handler. .RE .sp .ne 2 -.mk .na \fB\fIint_handler_arg\fR\fR .ad .RS 19n -.rt Argument for interrupt handler. .RE @@ -155,34 +137,28 @@ Argument for interrupt handler. For \fBddi_remove_intr()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 17n -.rt Pointer to \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIinumber\fR\fR .ad .RS 17n -.rt Interrupt number. .RE .sp .ne 2 -.mk .na \fB\fIiblock_cookie\fR\fR .ad .RS 17n -.rt Block cookie which identifies the interrupt handler to be removed. .RE @@ -272,34 +248,28 @@ high-interrupt context. These types include \fBISA\fR and SBus buses. See \fBddi_add_intr()\fR and \fBddi_get_iblock_cookie()\fR return: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 21n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_INTR_NOTFOUND\fR\fR .ad .RS 21n -.rt On failure to find the interrupt. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 21n -.rt On failure. \fBDDI_FAILURE\fR can also be returned on failure to find interrupt (\fBsun4u\fR). .RE @@ -317,13 +287,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_add_softintr.9f b/usr/src/man/man9f/ddi_add_softintr.9f index a6887faf63..3b150df889 100644 --- a/usr/src/man/man9f/ddi_add_softintr.9f +++ b/usr/src/man/man9f/ddi_add_softintr.9f @@ -3,21 +3,21 @@ .\" 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 ddi_add_softintr 9F "19 Oct 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_ADD_SOFTINTR 9F "Oct 19, 2005" .SH NAME ddi_add_softintr, ddi_get_soft_iblock_cookie, ddi_remove_softintr, ddi_trigger_softintr \- software interrupt handling routines .SH SYNOPSIS .LP .nf -#include <sys/types.h> -#include <sys/conf.h> -#include <sys/ddi.h> -#include <sys/sunddi.h> +#include <sys/types.h> +#include <sys/conf.h> +#include <sys/ddi.h> +#include <sys/sunddi.h> -\fBint\fR \fBddi_get_soft_iblock_cookie\fR(\fBdev_info_t *\fR\fIdip\fR, +\fBint\fR \fBddi_get_soft_iblock_cookie\fR(\fBdev_info_t *\fR\fIdip\fR, \fBint\fR \fIpreference\fR, \fBddi_iblock_cookie_t *\fR\fIiblock_cookiep\fR); .fi @@ -26,7 +26,7 @@ ddi_trigger_softintr \- software interrupt handling routines \fBint\fR \fBddi_add_softintr\fR(\fBdev_info_t *\fR\fIdip\fR, \fBint\fR \fIpreference\fR, \fBddi_softintr_t *\fR\fIidp\fR, \fBddi_iblock_cookie_t *\fR\fIiblock_cookiep\fR, \fBddi_idevice_cookie_t *\fR \fIidevice_cookiep\fR, - \fBuint_t(*\fR\fIint_handler\fR) (caddr_t \fIint_handler_arg\fR), \fBcaddr_t\fR + \fBuint_t(*\fR\fIint_handler\fR) (caddr_t \fIint_handler_arg\fR), \fBcaddr_t\fR \fIint_handler_arg\fR); .fi @@ -52,34 +52,28 @@ Drivers\fR for more information. \fBddi_get_soft_iblock_cookie()\fR .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 18n -.rt Pointer to a \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIpreference\fR\fR .ad .RS 18n -.rt The type of soft interrupt to retrieve the cookie for. .RE .sp .ne 2 -.mk .na \fB\fIiblock_cookiep\fR\fR .ad .RS 18n -.rt Pointer to a location to store the interrupt block cookie. .RE @@ -88,81 +82,67 @@ Pointer to a location to store the interrupt block cookie. \fBddi_add_softintr()\fR .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 19n -.rt Pointer to \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIpreference\fR\fR .ad .RS 19n -.rt A hint value describing the type of soft interrupt to generate. .RE .sp .ne 2 -.mk .na \fB\fIidp\fR\fR .ad .RS 19n -.rt Pointer to a soft interrupt identifier where a returned soft interrupt identifier is stored. .RE .sp .ne 2 -.mk .na \fB\fIiblock_cookiep\fR\fR .ad .RS 19n -.rt Optional pointer to an interrupt block cookie where a returned interrupt block cookie is stored. .RE .sp .ne 2 -.mk .na \fB\fIidevice_cookiep\fR\fR .ad .RS 19n -.rt Optional pointer to an interrupt device cookie where a returned interrupt device cookie is stored (not used). .RE .sp .ne 2 -.mk .na \fB\fIint_handler\fR\fR .ad .RS 19n -.rt Pointer to interrupt handler. .RE .sp .ne 2 -.mk .na \fB\fIint_handler_arg\fR\fR .ad .RS 19n -.rt Argument for interrupt handler. .RE @@ -171,12 +151,10 @@ Argument for interrupt handler. \fBddi_remove_softintr()\fR .sp .ne 2 -.mk .na \fB\fIid\fR\fR .ad .RS 6n -.rt The identifier specifying which soft interrupt handler to remove. .RE @@ -185,12 +163,10 @@ The identifier specifying which soft interrupt handler to remove. \fBddi_trigger_softintr()\fR .sp .ne 2 -.mk .na \fB\fIid\fR\fR .ad .RS 6n -.rt The identifier specifying which soft interrupt to trigger and which soft interrupt handler will be called. .RE @@ -210,34 +186,28 @@ of soft interrupt to retrieve the cookie for. The possible values for \fIpreference\fR are: .sp .ne 2 -.mk .na \fB\fBDDI_SOFTINT_LOW\fR\fR .ad .RS 20n -.rt Low priority soft interrupt. .RE .sp .ne 2 -.mk .na \fB\fBDDI_SOFTINT_MED\fR\fR .ad .RS 20n -.rt Medium priority soft interrupt. .RE .sp .ne 2 -.mk .na \fB\fBDDI_SOFTINT_HIGH\fR\fR .ad .RS 20n -.rt High priority soft interrupt. .RE @@ -329,23 +299,19 @@ which has been set up using \fBddi_add_softintr()\fR. \fBddi_add_softintr()\fR and \fBddi_get_soft_iblock_cookie()\fR return: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt on success .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt on failure .RE @@ -396,7 +362,7 @@ struct xxstate { kmutex_t low_mutex; int softint_running; .\|.\|. -}; +}; struct xxstate *xsp; static uint_t xxsoftintr(caddr_t); static uint_t xxhighintr(caddr_t); @@ -422,21 +388,21 @@ xxattach(dev_info_t *dip, ddi_attach_cmd_t cmd) struct xxstate *xsp; .\|.\|. /* get high-level iblock cookie */ - if (ddi_get_iblock_cookie(dip, \fIinumber\fR, + if (ddi_get_iblock_cookie(dip, \fIinumber\fR, &xsp->high_iblock_cookie) != DDI_SUCCESS) { /* clean up */ return (DDI_FAILURE); /* fail attach */ } - + /* initialize high-level mutex */ mutex_init(&xsp->high_mutex, "xx high mutex", MUTEX_DRIVER, (void *)xsp->high_iblock_cookie); - + /* add high-level routine - xxhighintr() */ if (ddi_add_intr(dip, \fIinumber\fR, NULL, NULL, xxhighintr, (caddr_t) xsp) != DDI_SUCCESS) { /* cleanup */ - return (DDI_FAILURE); /* fail attach */ + return (DDI_FAILURE); /* fail attach */ } /* get soft iblock cookie */ @@ -444,19 +410,19 @@ xxattach(dev_info_t *dip, ddi_attach_cmd_t cmd) &xsp->low_iblock_cookie) != DDI_SUCCESS) { /* clean up */ return (DDI_FAILURE); /* fail attach */ - } + } - /* initialize low-level mutex */ - mutex_init(&xsp->low_mutex, "xx low mutex", MUTEX_DRIVER, - (void *)xsp->low_iblock_cookie); + /* initialize low-level mutex */ + mutex_init(&xsp->low_mutex, "xx low mutex", MUTEX_DRIVER, + (void *)xsp->low_iblock_cookie); /* add low level routine - xxsoftintr() */ - if ( ddi_add_softintr(dip, DDI_SOFTINT_MED, &xsp->id, + if ( ddi_add_softintr(dip, DDI_SOFTINT_MED, &xsp->id, NULL, NULL, xxsoftintr, (caddr_t) xsp) != DDI_SUCCESS) { /* cleanup */ return (DDI_FAILURE); /* fail attach */ } - + .\|.\|. } .fi @@ -483,7 +449,7 @@ xxhighintr(caddr_t arg) int need_softint; .\|.\|. mutex_enter(&xsp->high_mutex); - /* + /* * Verify this device generated the interrupt * and disable the device interrupt. * Enqueue data for xxsoftintr() processing. @@ -526,7 +492,7 @@ xxsoftintr(caddr_t arg) /* de-queue data */ mutex_exit(&xsp->high_mutex); - + /* Process data on queue */ mutex_enter(&xsp->high_mutex); @@ -549,13 +515,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_binding_name.9f b/usr/src/man/man9f/ddi_binding_name.9f index 70aec76d9c..a51fa2b003 100644 --- a/usr/src/man/man9f/ddi_binding_name.9f +++ b/usr/src/man/man9f/ddi_binding_name.9f @@ -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 ddi_binding_name 9F "3 May 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_BINDING_NAME 9F "May 3, 1996" .SH NAME ddi_binding_name, ddi_get_name \- return driver binding name .SH SYNOPSIS @@ -29,12 +29,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR \fR .ad .RS 8n -.rt A pointer to the device's \fBdev_info\fR structure. .RE diff --git a/usr/src/man/man9f/ddi_btop.9f b/usr/src/man/man9f/ddi_btop.9f index ea2282bc17..072f261cc6 100644 --- a/usr/src/man/man9f/ddi_btop.9f +++ b/usr/src/man/man9f/ddi_btop.9f @@ -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 ddi_btop 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_BTOP 9F "Jan 16, 2006" .SH NAME ddi_btop, ddi_btopr, ddi_ptob \- page size conversions .SH SYNOPSIS diff --git a/usr/src/man/man9f/ddi_can_receive_sig.9f b/usr/src/man/man9f/ddi_can_receive_sig.9f index 8a7b8fa4a7..f04801b4c4 100644 --- a/usr/src/man/man9f/ddi_can_receive_sig.9f +++ b/usr/src/man/man9f/ddi_can_receive_sig.9f @@ -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 ddi_can_receive_sig 9F "15 Dec 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_CAN_RECEIVE_SIG 9F "Dec 15, 2003" .SH NAME ddi_can_receive_sig \- Test for ability to receive signals .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> -#include <sys/sunddi.h> +#include <sys/ddi.h> +#include <sys/sunddi.h> @@ -40,12 +40,10 @@ to avoid creating unkillable threads. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBB_FALSE\fR \fR .ad .RS 12n -.rt The calling thread is in a state in which signals cannot be received. For example, the thread is not associated with a user process or is in the midst of \fBexit\fR(2) handling. @@ -53,12 +51,10 @@ in the midst of \fBexit\fR(2) handling. .sp .ne 2 -.mk .na \fB\fBB_TRUE\fR \fR .ad .RS 12n -.rt The calling thread may receive a signal while blocked on a condition variable. Note that this function does not check to determine whether signals are blocked (see \fBsigprocmask\fR(2)). diff --git a/usr/src/man/man9f/ddi_cb_register.9f b/usr/src/man/man9f/ddi_cb_register.9f index 820d89b69c..512efdd6ba 100644 --- a/usr/src/man/man9f/ddi_cb_register.9f +++ b/usr/src/man/man9f/ddi_cb_register.9f @@ -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 ddi_cb_register 9F "30 Jan 2009" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_CB_REGISTER 9F "Jan 30, 2009" .SH NAME ddi_cb_register, ddi_cb_unregister \- register and unregister a device driver callback handler .SH SYNOPSIS .LP .nf -#include <sys/sunddi.h> +#include <sys/sunddi.h> \fBint\fR \fBddi_cb_register\fR(\fBdev_info_t *\fR\fIdip\fR, \fBddi_cb_flags_t\fR \fIflags\fR, \fBddi_cb_func_t\fR \fIcbfunc\fR, \fBvoid *\fR\fIarg1\fR, \fBvoid *\fR\fIarg2\fR, @@ -32,67 +32,55 @@ Solaris DDI specific (Solaris DDI). \fBddi_cb_register()\fR .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 12n -.rt Pointer to the \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 12n -.rt Flags to determine which callback events can be handled. .RE .sp .ne 2 -.mk .na \fB\fIcbfunc\fR\fR .ad .RS 12n -.rt Callback handler function. .RE .sp .ne 2 -.mk .na \fB\fIarg1\fR\fR .ad .RS 12n -.rt First argument to the callback handler. .RE .sp .ne 2 -.mk .na \fB\fIarg2\fR\fR .ad .RS 12n -.rt Second (optional) argument to the callback handler. .RE .sp .ne 2 -.mk .na \fB\fIret_hdlp\fR\fR .ad .RS 12n -.rt Pointer to return a handle to the registered callback. .RE @@ -101,12 +89,10 @@ Pointer to return a handle to the registered callback. \fBddi_cb_unregister()\fR .sp .ne 2 -.mk .na \fB\fIhdl\fR\fR .ad .RS 7n -.rt Handle to the registered callback handler that is to be unregistered. .RE @@ -128,12 +114,10 @@ handler and prevents future processing of actions. The \fIflags\fR parameter consists of the following: .sp .ne 2 -.mk .na \fB\fBDDI_CB_FLAG_INTR\fR\fR .ad .RS 20n -.rt The device driver participates in interrupt resource management. The device driver may receive additional interrupt resources from the system, but only because it can accept callback notices informing it when it has more or less @@ -148,8 +132,8 @@ The cdfunc is a callback handler with the following prototype: .sp .in +2 .nf -typedef int (*ddi_cb_func_t)(dev_info_t *dip, - ddi_cb_action_t action, void *cbarg, +typedef int (*ddi_cb_func_t)(dev_info_t *dip, + ddi_cb_action_t action, void *cbarg, void *arg1, void *arg2); .fi .in -2 @@ -168,12 +152,10 @@ if it received a callback action that it did not know how to process, or The \fIaction\fR parameter can be one of the following: .sp .ne 2 -.mk .na \fB\fIDDI_CB_INTR_ADD\fR\fR .ad .RS 22n -.rt For interrupt resource management, the driver has more available interrupts. The driver can allocate more interrupt vectors and then set up more interrupt handling functions by using \fBddi_intr_alloc\fR(9F). @@ -181,12 +163,10 @@ handling functions by using \fBddi_intr_alloc\fR(9F). .sp .ne 2 -.mk .na \fB\fIDDI_CB_INTR_REMOVE\fR\fR .ad .RS 22n -.rt For interrupt resource management, the driver has fewer available interrupts. The driver must release any previously allocated interrupts in excess of what is now available by using \fBddi_intr_free\fR(9F). @@ -220,35 +200,29 @@ allocations so that it never uses more interrupts than are currently available. The \fBddi_cb_register()\fR and \fBddi_cb_unregister()\fR functions return: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 16n -.rt on success .RE .sp .ne 2 -.mk .na \fB\fBDDI_EINVAL\fR\fR .ad .RS 16n -.rt An invalid parameter was given when registering a callback handler, or an invalid handle was given when unregistering. .RE .sp .ne 2 -.mk .na \fB\fBDDI_EALREADY\fR\fR .ad .RS 16n -.rt An attempt was made to register a callback handler while a previous registration still exists. .RE @@ -258,34 +232,28 @@ registration still exists. The \fIcbfunc\fR routine must return: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt on success .RE .sp .ne 2 -.mk .na \fB\fBDDI_ENOTSUP\fR\fR .ad .RS 15n -.rt The device does not support the operation .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Implementation specific failure .RE @@ -549,15 +517,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 StabilityPrivate +Interface Stability Private _ -MT-LevelUnsafe +MT-Level Unsafe .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_check_acc_handle.9f b/usr/src/man/man9f/ddi_check_acc_handle.9f index 2ccdb6fd91..3c469ad48e 100644 --- a/usr/src/man/man9f/ddi_check_acc_handle.9f +++ b/usr/src/man/man9f/ddi_check_acc_handle.9f @@ -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 ddi_check_acc_handle 9F "13 August 1999" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_CHECK_ACC_HANDLE 9F "Aug 13, 1999" .SH NAME ddi_check_acc_handle, ddi_check_dma_handle \- Check data access and DMA handles .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> @@ -29,24 +29,20 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIacc_handle\fR \fR .ad .RS 15n -.rt Data access handle obtained from a previous call to \fBddi_regs_map_setup\fR(9F), \fBddi_dma_mem_alloc\fR(9F), or similar function. .RE .sp .ne 2 -.mk .na \fB\fIdma_handle\fR \fR .ad .RS 15n -.rt DMA handle obtained from a previous call to \fBddi_dma_setup\fR(9F) or one of its derivatives. .RE diff --git a/usr/src/man/man9f/ddi_copyin.9f b/usr/src/man/man9f/ddi_copyin.9f index 7ce3c43695..c0c9406881 100644 --- a/usr/src/man/man9f/ddi_copyin.9f +++ b/usr/src/man/man9f/ddi_copyin.9f @@ -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 ddi_copyin 9F "19 Apr 2000" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_COPYIN 9F "Apr 19, 2000" .SH NAME ddi_copyin \- copy data to a driver buffer .SH SYNOPSIS @@ -25,45 +25,37 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbuf\fR\fR .ad .RS 13n -.rt Source address from which data is transferred. .RE .sp .ne 2 -.mk .na \fB\fIdriverbuf\fR\fR .ad .RS 13n -.rt Driver destination address to which data is transferred. .RE .sp .ne 2 -.mk .na \fB\fIcn\fR\fR .ad .RS 13n -.rt Number of bytes transferred. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 13n -.rt Set of flag bits that provide address space information about \fIbuf\fR. .RE @@ -173,11 +165,11 @@ specified argument contains an invalid address, an error code is returned. 26 if (ddi_copyin(arg, ®_buf, 27 sizeof (struct device), mode) != 0) { 28 return (EFAULT); -29 } +29 } 30 mutex_enter(&sp->reg_mutex); 31 /* -32 * Copy data from temporary device register +32 * Copy data from temporary device register 33 * buffer to device registers. 34 * e.g. rp->control = reg_buf.control; 35 */ diff --git a/usr/src/man/man9f/ddi_copyout.9f b/usr/src/man/man9f/ddi_copyout.9f index c4d15a3fa2..c766287a9d 100644 --- a/usr/src/man/man9f/ddi_copyout.9f +++ b/usr/src/man/man9f/ddi_copyout.9f @@ -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 ddi_copyout 9F "19 Apr 2000" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_COPYOUT 9F "Apr 19, 2000" .SH NAME ddi_copyout \- copy data from a driver .SH SYNOPSIS @@ -25,45 +25,37 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdriverbuf\fR\fR .ad .RS 13n -.rt Source address in the driver from which the data is transferred. .RE .sp .ne 2 -.mk .na \fB\fIbuf\fR\fR .ad .RS 13n -.rt Destination address to which the data is transferred. .RE .sp .ne 2 -.mk .na \fB\fIcn\fR\fR .ad .RS 13n -.rt Number of bytes to copy. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 13n -.rt Set of flag bits that provide address space information about \fIbuf\fR. .RE @@ -145,47 +137,47 @@ specified argument contains an invalid address, an error code is returned. 4 short recv_char; /* receive character from device */ 5 short xmit_char; /* transmit character to device */ 6 }; - + 7 struct device_state { 8 volatile struct device *regsp; /* pointer to device registers */ 9 kmutex_t reg_mutex; /* protect device registers */ . . . 10 }; - + 11 static void *statep; /* for soft state routines */ - + 12 xxioctl(dev_t dev, int cmd, int arg, int mode, 13 cred_t *cred_p, int *rval_p) 14 { 15 struct device_state *sp; 16 volatile struct device *rp; 17 struct device reg_buf; /* temporary buffer for registers */ -18 int instance; - +18 int instance; + 19 instance = getminor(dev); 20 sp = ddi_get_soft_state(statep, instance); 21 if (sp == NULL) 22 return (ENXIO); 23 rp = sp->regsp; . . . -24 switch (cmd) { - -25 case XX_GETREGS: /* copy registers to arg */ -26 mutex_enter(&sp->reg_mutex); -27 /* +24 switch (cmd) { + +25 case XX_GETREGS: /* copy registers to arg */ +26 mutex_enter(&sp->reg_mutex); +27 /* 28 * Copy data from device registers to 29 * temporary device register buffer 30 * e.g. reg_buf.control = rp->control; -31 */ -32 mutex_exit(&sp->reg_mutex); +31 */ +32 mutex_exit(&sp->reg_mutex); 33 if (ddi_copyout(®_buf, arg, -34 sizeof (struct device), mode) != 0) { +34 sizeof (struct device), mode) != 0) { 35 return (EFAULT); -36 } - +36 } + 37 break; 38 } -39 } +39 } .fi .in -2 diff --git a/usr/src/man/man9f/ddi_create_minor_node.9f b/usr/src/man/man9f/ddi_create_minor_node.9f index 14b6e9149c..583cb7c313 100644 --- a/usr/src/man/man9f/ddi_create_minor_node.9f +++ b/usr/src/man/man9f/ddi_create_minor_node.9f @@ -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 ddi_create_minor_node 9F "14 Dec 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_CREATE_MINOR_NODE 9F "Dec 14, 2004" .SH NAME ddi_create_minor_node \- Create a minor node for this device .SH SYNOPSIS .LP .nf -#include <sys/stat.h> -#include <sys/sunddi.h> +#include <sys/stat.h> +#include <sys/sunddi.h> @@ -25,199 +25,163 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR \fR .ad .RS 14n -.rt A pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIname\fR \fR .ad .RS 14n -.rt The name of this particular minor device. .RE .sp .ne 2 -.mk .na \fB\fIspec_type\fR \fR .ad .RS 14n -.rt \fBS_IFCHR\fR or \fBS_IFBLK\fR for character or block minor devices respectively. .RE .sp .ne 2 -.mk .na \fB\fIminor_num\fR \fR .ad .RS 14n -.rt The minor number for this particular minor device. .RE .sp .ne 2 -.mk .na \fB\fInode_type\fR \fR .ad .RS 14n -.rt Any string literal that uniquely identifies the type of node. The following predefined node types are provided with this release: .sp .ne 2 -.mk .na \fB\fBDDI_NT_SERIAL\fR \fR .ad .RS 24n -.rt For serial ports .RE .sp .ne 2 -.mk .na \fB\fBDDI_NT_SERIAL_MB\fR \fR .ad .RS 24n -.rt For on board serial ports .RE .sp .ne 2 -.mk .na \fB\fBDDI_NT_SERIAL_DO\fR \fR .ad .RS 24n -.rt For dial out ports .RE .sp .ne 2 -.mk .na \fB\fBDDI_NT_SERIAL_MB_DO\fR \fR .ad .RS 24n -.rt For on board dial out ports .RE .sp .ne 2 -.mk .na \fB\fBDDI_NT_BLOCK\fR \fR .ad .RS 24n -.rt For hard disks .RE .sp .ne 2 -.mk .na \fB\fBDDI_NT_BLOCK_CHAN\fR \fR .ad .RS 24n -.rt For hard disks with channel or target numbers .RE .sp .ne 2 -.mk .na \fB\fBDDI_NT_CD\fR \fR .ad .RS 24n -.rt For CDROM drives .RE .sp .ne 2 -.mk .na \fB\fBDDI_NT_CD_CHAN\fR \fR .ad .RS 24n -.rt For CDROM drives with channel or target numbers .RE .sp .ne 2 -.mk .na \fB\fBDDI_NT_FD\fR \fR .ad .RS 24n -.rt For floppy disks .RE .sp .ne 2 -.mk .na \fB\fBDDI_NT_TAPE\fR \fR .ad .RS 24n -.rt For tape drives .RE .sp .ne 2 -.mk .na \fB\fBDDI_NT_NET\fR \fR .ad .RS 24n -.rt For DLPI style 1 or style 2 network devices .RE .sp .ne 2 -.mk .na \fB\fBDDI_NT_DISPLAY\fR \fR .ad .RS 24n -.rt For display devices .RE .sp .ne 2 -.mk .na \fB\fBDDI_PSEUDO\fR \fR .ad .RS 24n -.rt For pseudo devices .RE @@ -225,12 +189,10 @@ For pseudo devices .sp .ne 2 -.mk .na \fB\fIflag\fR \fR .ad .RS 14n -.rt If the device is a clone device then this flag is set to \fBCLONE_DEV\fR else it is set to \fB0\fR. .RE @@ -255,24 +217,20 @@ belongs to. \fBddi_create_minor_node()\fR returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR \fR .ad .RS 16n -.rt Was able to allocate memory, create the minor data structure, and place it into the linked list of minor devices for this driver. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR \fR .ad .RS 16n -.rt Minor node creation failed. .RE diff --git a/usr/src/man/man9f/ddi_cred.9f b/usr/src/man/man9f/ddi_cred.9f index 74837d36e1..a8aa7bcd19 100644 --- a/usr/src/man/man9f/ddi_cred.9f +++ b/usr/src/man/man9f/ddi_cred.9f @@ -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 ddi_cred 9F "6 Aug 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_CRED 9F "Aug 6, 2003" .SH NAME ddi_cred, crgetuid, crgetruid, crgetsuid, crgetgid, crgetrgid, crgetsgid, crgetzoneid, crgetgroups, crgetngroups \- access and change parts of the cred_t @@ -85,56 +85,46 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIcr\fR\fR .ad .RS 25n -.rt pointer to the user credential structure .RE .sp .ne 2 -.mk .na \fB\fIuid\fR, \fIruid\fR, \fIeuid\fR, \fIsuid\fR\fR .ad .RS 25n -.rt new user id, real, effective and saved user id .RE .sp .ne 2 -.mk .na \fB\fIgid\fR, \fIrgid\fR, \fIegid\fR, \fIsgid\fR\fR .ad .RS 25n -.rt new group id, real, effective and saved group id .RE .sp .ne 2 -.mk .na \fB\fIngroups\fR\fR .ad .RS 25n -.rt number of groups in the group array .RE .sp .ne 2 -.mk .na \fB\fIgids\fR\fR .ad .RS 25n -.rt pointer to array of new groups .RE @@ -210,15 +200,14 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -ArchitectureAll +Architecture All _ -Interface StabilityCommitted +Interface Stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dev_is_needed.9f b/usr/src/man/man9f/ddi_dev_is_needed.9f index a26918b6ae..00c7f84475 100644 --- a/usr/src/man/man9f/ddi_dev_is_needed.9f +++ b/usr/src/man/man9f/ddi_dev_is_needed.9f @@ -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 ddi_dev_is_needed 9F "7 Dec 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DEV_IS_NEEDED 9F "Dec 7, 2003" .SH NAME ddi_dev_is_needed \- inform the system that a device's component is required .SH SYNOPSIS @@ -24,34 +24,28 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 13n -.rt Pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIcomponent\fR\fR .ad .RS 13n -.rt Component of the driver which is needed. .RE .sp .ne 2 -.mk .na \fB\fIlevel\fR\fR .ad .RS 13n -.rt Power level at which the component is needed. .RE @@ -87,23 +81,19 @@ Deadlock may result if driver locks are held across the call to The \fBddi_dev_is_needed()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Power successfully set to the requested level. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt An error occurred. .RE @@ -165,13 +155,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dev_is_sid.9f b/usr/src/man/man9f/ddi_dev_is_sid.9f index 3c7bde5153..4f9ab92513 100644 --- a/usr/src/man/man9f/ddi_dev_is_sid.9f +++ b/usr/src/man/man9f/ddi_dev_is_sid.9f @@ -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 ddi_dev_is_sid 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DEV_IS_SID 9F "Jan 16, 2006" .SH NAME ddi_dev_is_sid \- tell whether a device is self-identifying .SH SYNOPSIS @@ -25,12 +25,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt A pointer to the device's \fBdev_info\fR structure. .RE @@ -45,23 +43,19 @@ device (and therefore must be probed). .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Device is self-identifying. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Device is not self-identifying. .RE diff --git a/usr/src/man/man9f/ddi_dev_nintrs.9f b/usr/src/man/man9f/ddi_dev_nintrs.9f index a4379d1832..bfa783a4ea 100644 --- a/usr/src/man/man9f/ddi_dev_nintrs.9f +++ b/usr/src/man/man9f/ddi_dev_nintrs.9f @@ -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 ddi_dev_nintrs 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DEV_NINTRS 9F "Jan 16, 2006" .SH NAME ddi_dev_nintrs \- return the number of interrupt specifications a device has .SH SYNOPSIS @@ -35,24 +35,20 @@ specifications a device has in \fB*\fR\fIresultp\fR. The \fBddi_dev_nintrs()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt A successful return. The number of interrupt specifications that the device has is set in \fIresultp\fR. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt The device has no interrupt specifications. .RE @@ -69,13 +65,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dev_nregs.9f b/usr/src/man/man9f/ddi_dev_nregs.9f index 344c38c95b..1c9ee779df 100644 --- a/usr/src/man/man9f/ddi_dev_nregs.9f +++ b/usr/src/man/man9f/ddi_dev_nregs.9f @@ -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 ddi_dev_nregs 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DEV_NREGS 9F "Jan 16, 2006" .SH NAME ddi_dev_nregs \- return the number of register sets a device has .SH SYNOPSIS @@ -25,23 +25,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 11n -.rt A pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIresultp\fR\fR .ad .RS 11n -.rt Pointer to an integer that holds the number of register sets on return. .RE @@ -56,23 +52,19 @@ device has. The \fBddi_dev_nregs()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt A successful return. The number of register sets is returned in \fIresultp\fR. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt The device has no registers. .RE diff --git a/usr/src/man/man9f/ddi_dev_regsize.9f b/usr/src/man/man9f/ddi_dev_regsize.9f index 134958a3d7..43fe73396b 100644 --- a/usr/src/man/man9f/ddi_dev_regsize.9f +++ b/usr/src/man/man9f/ddi_dev_regsize.9f @@ -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 ddi_dev_regsize 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DEV_REGSIZE 9F "Jan 16, 2006" .SH NAME ddi_dev_regsize \- return the size of a device's register .SH SYNOPSIS @@ -25,23 +25,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 11n -.rt A pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIrnumber\fR\fR .ad .RS 11n -.rt The ordinal register number. Device registers are associated with a \fBdev_info\fR and are enumerated in arbitrary sets from \fB0\fR on up. The number of registers a device has can be determined from a call to @@ -50,12 +46,10 @@ number of registers a device has can be determined from a call to .sp .ne 2 -.mk .na \fB\fIresultp\fR\fR .ad .RS 11n -.rt Pointer to an integer that holds the size, in bytes, of the described register (if it exists). .RE @@ -73,24 +67,20 @@ to its proms. The \fBddi_dev_regsize()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt A successful return. The size, in bytes, of the specified register, is set in \fIresultp\fR. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt An invalid (nonexistent) register number was specified. .RE diff --git a/usr/src/man/man9f/ddi_dev_report_fault.9f b/usr/src/man/man9f/ddi_dev_report_fault.9f index 6bda17c2f9..a8e167c1ac 100644 --- a/usr/src/man/man9f/ddi_dev_report_fault.9f +++ b/usr/src/man/man9f/ddi_dev_report_fault.9f @@ -3,19 +3,19 @@ .\" 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 ddi_dev_report_fault 9F "13 August 1999" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DEV_REPORT_FAULT 9F "Aug 13, 1999" .SH NAME ddi_dev_report_fault \- Report a hardware failure .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBvoid\fR \fBddi_dev_report_fault\fR (\fBdev_info_t *\fR\fIdip\fR, - \fBddi_fault_impact_t\fR \fIimpact\fR, \fB ddi_fault_location_t\fR \fIlocation\fR, +\fBvoid\fR \fBddi_dev_report_fault\fR (\fBdev_info_t *\fR\fIdip\fR, + \fBddi_fault_impact_t\fR \fIimpact\fR, \fB ddi_fault_location_t\fR \fIlocation\fR, \fBconst char *\fR\fImessage \fR); .fi @@ -26,48 +26,40 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR \fR .ad .RS 13n -.rt Pointer to the driver's \fBdev_info\fR structure to which the fault report relates. (Normally the caller's own \fBdev_info\fR pointer). .RE .sp .ne 2 -.mk .na \fB\fIimpact\fR \fR .ad .RS 13n -.rt One of a set of enumerated values indicating the impact of the fault on the device's ability to provide normal service. .RE .sp .ne 2 -.mk .na \fB\fIlocation\fR \fR .ad .RS 13n -.rt One of a set of enumerated values indicating the location of the fault, relative to the hardware controlled by the driver specified by \fBdip\fR. .RE .sp .ne 2 -.mk .na \fB\fImessage\fR \fR .ad .RS 13n -.rt Text of the message describing the fault being reported. .RE @@ -86,24 +78,20 @@ to provide service by passing one of the following values for the impact parameter: .sp .ne 2 -.mk .na \fB\fBDDI_SERVICE_LOST\fR\fR .ad .RS 26n -.rt Indicates a total loss of service. The driver is unable to implement the normal functions of its hardware. .RE .sp .ne 2 -.mk .na \fB\fBDDI_SERVICE_DEGRADED\fR\fR .ad .RS 26n -.rt The driver is unable to provide normal service, but can provide a partial or degraded level of service. The driver may have to make repeated attempts to perform an operation before it succeeds, or it may be running at less than its @@ -114,12 +102,10 @@ alternative exists. .sp .ne 2 -.mk .na \fB\fBDDI_SERVICE_UNAFFECTED\fR\fR .ad .RS 26n -.rt The service provided by the device is currently unaffected by the reported fault. This value may be used to report recovered errors for predictive failure analysis. @@ -127,12 +113,10 @@ analysis. .sp .ne 2 -.mk .na \fB\fBDDI_SERVICE_RESTORED\fR\fR .ad .RS 26n -.rt The driver has resumed normal service, following a previous report that service was lost or degraded. This message implies that any previously reported fault condition no longer exists. @@ -143,12 +127,10 @@ condition no longer exists. The location parameter should be one of the following values: .sp .ne 2 -.mk .na \fB\fBDDI_DATAPATH_FAULT\fR\fR .ad .RS 22n -.rt The fault lies in the datapath between the driver and the device. The device may be unplugged, or a problem may exist in the bus on which the device resides. This value is appropriate if the device is not responding to @@ -158,12 +140,10 @@ accesses, (for example, the device may not be present) or if a call to .sp .ne 2 -.mk .na \fB\fBDDI_DEVICE_FAULT\fR\fR .ad .RS 22n -.rt The fault lies in the device controlled by the driver. This value is appropriate if the device returns an error from a selftest function, or if the driver is able to determine that device is present and accessible, but is not @@ -172,12 +152,10 @@ functioning correctly. .sp .ne 2 -.mk .na \fB\fBDDI_EXTERNAL_FAULT\fR\fR .ad .RS 22n -.rt The fault is external to the device. For example, an Ethernet driver would use this value when reporting a cable fault. .sp diff --git a/usr/src/man/man9f/ddi_device_copy.9f b/usr/src/man/man9f/ddi_device_copy.9f index ee93dd0a3e..5adb569f61 100644 --- a/usr/src/man/man9f/ddi_device_copy.9f +++ b/usr/src/man/man9f/ddi_device_copy.9f @@ -3,21 +3,21 @@ .\" 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 ddi_device_copy 9F "15 Nov 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DEVICE_COPY 9F "Nov 15, 1996" .SH NAME ddi_device_copy \- copy data from one device register to another device register .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBddi_device_copy\fR(\fBddi_acc_handle_t\fR \fIsrc_handle\fR, \fBcaddr_t\fR \fIsrc_addr\fR, +\fBint\fR \fBddi_device_copy\fR(\fBddi_acc_handle_t\fR \fIsrc_handle\fR, \fBcaddr_t\fR \fIsrc_addr\fR, \fBssize_t\fR \fIsrc_advcnt\fR, \fBddi_acc_handle_t\fR \fIdest_handle\fR, - \fBcaddr_t\fR \fIdest_addr\fR, \fBssize_t\fR \fIdest_advcnt\fR, + \fBcaddr_t\fR \fIdest_addr\fR, \fBssize_t\fR \fIdest_advcnt\fR, \fBsize_t\fR \fIbytecount\fR, \fBuint_t\fR \fIdev_datasz\fR); .fi @@ -28,131 +28,107 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIsrc_handle\fR \fR .ad .RS 16n -.rt The data access handle of the source device. .RE .sp .ne 2 -.mk .na \fB\fIsrc_addr\fR \fR .ad .RS 16n -.rt Base data source address. .RE .sp .ne 2 -.mk .na \fB\fIsrc_advcnt\fR \fR .ad .RS 16n -.rt Number of \fIdev_datasz\fR units to advance on every access. .RE .sp .ne 2 -.mk .na \fB\fIdest_handle\fR \fR .ad .RS 16n -.rt The data access handle of the destination device. .RE .sp .ne 2 -.mk .na \fB\fIdest_addr\fR \fR .ad .RS 16n -.rt Base data destination address. .RE .sp .ne 2 -.mk .na \fB\fIdest_advcnt\fR \fR .ad .RS 16n -.rt Number of \fIdev_datasz\fR units to advance on every access. .RE .sp .ne 2 -.mk .na \fB\fIbytecount\fR \fR .ad .RS 16n -.rt Number of bytes to transfer. .RE .sp .ne 2 -.mk .na \fB\fIdev_datasz\fR \fR .ad .RS 16n -.rt The size of each data word. Possible values are defined as: .sp .ne 2 -.mk .na \fB\fBDDI_DATA_SZ01_ACC\fR \fR .ad .RS 22n -.rt 1 byte data size .RE .sp .ne 2 -.mk .na \fB\fBDDI_DATA_SZ02_ACC\fR \fR .ad .RS 22n -.rt 2 bytes data size .RE .sp .ne 2 -.mk .na \fB\fBDDI_DATA_SZ04_ACC\fR \fR .ad .RS 22n -.rt 4 bytes data size .RE .sp .ne 2 -.mk .na \fB\fBDDI_DATA_SZ08_ACC\fR \fR .ad .RS 22n -.rt 8 bytes data size .RE @@ -190,23 +166,19 @@ access. The data size must be the same between the source and destination. \fBddi_device_copy()\fR returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR \fR .ad .RS 16n -.rt Successfully transferred the data. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR \fR .ad .RS 16n -.rt The byte count is not a multiple \fIdev_datasz\fR. .RE diff --git a/usr/src/man/man9f/ddi_device_zero.9f b/usr/src/man/man9f/ddi_device_zero.9f index 17b546e708..45ba71be76 100644 --- a/usr/src/man/man9f/ddi_device_zero.9f +++ b/usr/src/man/man9f/ddi_device_zero.9f @@ -3,18 +3,18 @@ .\" 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 ddi_device_zero 9F "25 Sep 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DEVICE_ZERO 9F "Sep 25, 1996" .SH NAME ddi_device_zero \- zero fill the device .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBddi_device_zero\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBcaddr_t\fR \fIdev_addr\fR, +\fBint\fR \fBddi_device_zero\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBcaddr_t\fR \fIdev_addr\fR, \fBsize_t\fR \fIbytecount\fR, \fBssize_t\fR \fIdev_advcnt\fR, \fBuint_t\fR \fIdev_datasz\fR); .fi @@ -25,99 +25,81 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 15n -.rt The data access handle returned from setup calls, such as \fBddi_regs_map_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIdev_addr\fR \fR .ad .RS 15n -.rt Beginning of the device address. .RE .sp .ne 2 -.mk .na \fB\fIbytecount\fR \fR .ad .RS 15n -.rt Number of bytes to zero. .RE .sp .ne 2 -.mk .na \fB\fIdev_advcnt\fR \fR .ad .RS 15n -.rt Number of \fIdev_datasz\fR units to advance on every access. .RE .sp .ne 2 -.mk .na \fB\fIdev_datasz\fR \fR .ad .RS 15n -.rt The size of each data word. Possible values are defined as: .sp .ne 2 -.mk .na \fB\fBDDI_DATA_SZ01_ACC\fR \fR .ad .RS 22n -.rt 1 byte data size .RE .sp .ne 2 -.mk .na \fB\fBDDI_DATA_SZ02_ACC\fR \fR .ad .RS 22n -.rt 2 bytes data size .RE .sp .ne 2 -.mk .na \fB\fBDDI_DATA_SZ04_ACC\fR \fR .ad .RS 22n -.rt 4 bytes data size .RE .sp .ne 2 -.mk .na \fB\fBDDI_DATA_SZ08_ACC\fR \fR .ad .RS 22n -.rt 8 bytes data size .RE @@ -145,23 +127,19 @@ The \fIdev_datasz\fR argument determines the size of data word on each access. \fBddi_device_zero()\fR returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR \fR .ad .RS 16n -.rt Successfully zeroed the data. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR \fR .ad .RS 16n -.rt The byte count is not a multiple of \fIdev_datasz\fR. .RE diff --git a/usr/src/man/man9f/ddi_devid_compare.9f b/usr/src/man/man9f/ddi_devid_compare.9f index a874609acc..085d455a8d 100644 --- a/usr/src/man/man9f/ddi_devid_compare.9f +++ b/usr/src/man/man9f/ddi_devid_compare.9f @@ -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 ddi_devid_compare 9F "21 May 2009" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DEVID_COMPARE 9F "May 21, 2009" .SH NAME ddi_devid_compare, ddi_devid_free, ddi_devid_init, ddi_devid_register, ddi_devid_sizeof, ddi_devid_str_decode, ddi_devid_str_encode, @@ -22,7 +22,7 @@ kernel interfaces for device ids .LP .nf -\fBint\fR \fBddi_devid_init\fR(\fBdev_info_t *\fR\fIdip\fR, \fBushort_t\fR \fIdevid_type\fR, +\fBint\fR \fBddi_devid_init\fR(\fBdev_info_t *\fR\fIdip\fR, \fBushort_t\fR \fIdevid_type\fR, \fBushort_t\fR \fInbytes\fR, \fBvoid *\fR\fIid\fR, \fBddi_devid_t *\fR\fIretdevid\fR); .fi @@ -38,7 +38,7 @@ kernel interfaces for device ids .LP .nf -\fBint\fR \fBddi_devid_str_decode\fR(\fBchar *\fR\fIdevidstr\fR, \fBddi_devid_t *\fR\fIretdevid\fR, +\fBint\fR \fBddi_devid_str_decode\fR(\fBchar *\fR\fIdevidstr\fR, \fBddi_devid_t *\fR\fIretdevid\fR, \fBchar **\fR\fIretminor_name\fR); .fi @@ -70,90 +70,74 @@ kernel interfaces for device ids .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdevid\fR\fR .ad .RS 14n -.rt The device id address. .RE .sp .ne 2 -.mk .na \fB\fIdevidstr\fR\fR .ad .RS 14n -.rt The \fIdevid\fR and \fIminor_name\fR represented as a string. .RE .sp .ne 2 -.mk .na \fB\fIdevid1\fR\fR .ad .RS 14n -.rt The first of two device id addresses to be compared calling \fBddi_devid_compare()\fR. .RE .sp .ne 2 -.mk .na \fB\fIdevid2\fR\fR .ad .RS 14n -.rt The second of two device id addresses to be compared calling \fBddi_devid_compare()\fR. .RE .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 14n -.rt A \fBdev_info\fR pointer, which identifies the device. .RE .sp .ne 2 -.mk .na \fB\fIdevid_type\fR\fR .ad .RS 14n -.rt The following device id types may be accepted by the \fBddi_devid_init()\fR function: .sp .ne 2 -.mk .na \fB\fBDEVID_SCSI3_WWN\fR\fR .ad .RS 21n -.rt World Wide Name associated with SCSI-3 devices. .RE .sp .ne 2 -.mk .na \fB\fBDEVID_SCSI_SERIAL\fR\fR .ad .RS 21n -.rt Vendor \fBID\fRand serial number associated with a SCSI device. Note: This may only be used if known to be unique; otherwise a fabricated device id must be used. @@ -161,23 +145,19 @@ used. .sp .ne 2 -.mk .na \fB\fBDEVID_ENCAP\fR\fR .ad .RS 21n -.rt Device \fBID\fR of another device. This is for layered device driver usage. .RE .sp .ne 2 -.mk .na \fB\fBDEVID_FAB\fR\fR .ad .RS 21n -.rt Fabricated device \fBID\fR. .RE @@ -185,45 +165,37 @@ Fabricated device \fBID\fR. .sp .ne 2 -.mk .na \fB\fIminor_name\fR\fR .ad .RS 17n -.rt The minor name to be encoded. .RE .sp .ne 2 -.mk .na \fB\fInbytes\fR\fR .ad .RS 17n -.rt The length in bytes of device \fBID\fR. .RE .sp .ne 2 -.mk .na \fB\fIretdevid\fR\fR .ad .RS 17n -.rt The return address of the device \fBID\fR. .RE .sp .ne 2 -.mk .na \fB\fIretminor_name\fR\fR .ad .RS 17n -.rt The return address of a minor name. Free string with \fBddi_devid_str_free()\fR. .RE @@ -334,31 +306,25 @@ value and the returned \fIretminor_name\fR argument). \fBddi_devid_init()\fR returns the following values: .sp .ne 2 -.mk .na \fB \fR .ad .RS 5n -.rt .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Out of memory. An invalid \fIdevid_type\fR was passed in. .RE @@ -369,31 +335,25 @@ Out of memory. An invalid \fIdevid_type\fR was passed in. \fBddi_devid_valid()\fR returns the following values: .sp .ne 2 -.mk .na \fB \fR .ad .RS 5n -.rt .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Valid device \fBID\fR. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Invalid device \fBID\fR. .RE @@ -404,31 +364,25 @@ Invalid device \fBID\fR. \fBddi_devid_register()\fR returns the following values: .sp .ne 2 -.mk .na \fB \fR .ad .RS 5n -.rt .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Failure. The device \fBID\fR is already registered or the device \fBID\fR is invalid. .RE @@ -440,31 +394,25 @@ invalid. \fBddi_devid_valid()\fR returns the following values: .sp .ne 2 -.mk .na \fB \fR .ad .RS 5n -.rt .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Valid device \fBID\fR. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Invalid device \fBID\fR. .RE @@ -475,31 +423,25 @@ Invalid device \fBID\fR. \fBddi_devid_get()\fR returns the following values: .sp .ne 2 -.mk .na \fB \fR .ad .RS 5n -.rt .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Device \fBID\fR is present and a pointer to it is returned in \fIretdevid\fR. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt No device \fBID\fR is defined for this \fBdev_info\fR node. .RE @@ -510,42 +452,34 @@ No device \fBID\fR is defined for this \fBdev_info\fR node. \fBddi_devid_compare()\fR returns the following values: .sp .ne 2 -.mk .na \fB \fR .ad .RS 5n -.rt .sp .ne 2 -.mk .na \fB\fB\(mi1\fR\fR .ad .RS 9n -.rt The first device ID is less than the second device ID. .RE .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 9n -.rt The first device ID is equal to the second device ID. .RE .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 9n -.rt The first device ID is greater than the second device ID. .RE @@ -567,31 +501,25 @@ the \fBdevid_str_free()\fR function. \fBddi_devid_str_decode()\fR returns the following values: .sp .ne 2 -.mk .na \fB \fR .ad .RS 5n -.rt .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Failure; the \fIdevidstr\fR string was not valid. .RE diff --git a/usr/src/man/man9f/ddi_dma_addr_bind_handle.9f b/usr/src/man/man9f/ddi_dma_addr_bind_handle.9f index 183a45736f..71f9a00354 100644 --- a/usr/src/man/man9f/ddi_dma_addr_bind_handle.9f +++ b/usr/src/man/man9f/ddi_dma_addr_bind_handle.9f @@ -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 ddi_dma_addr_bind_handle 9F "26 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_ADDR_BIND_HANDLE 9F "Jul 26, 1996" .SH NAME ddi_dma_addr_bind_handle \- binds an address to a DMA handle .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> @@ -26,133 +26,109 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 13n -.rt The \fBDMA\fR handle previously allocated by a call to \fBddi_dma_alloc_handle\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIas\fR \fR .ad .RS 13n -.rt A pointer to an address space structure. This parameter should be set to \fINULL\fR, which implies kernel address space. .RE .sp .ne 2 -.mk .na \fB\fIaddr\fR \fR .ad .RS 13n -.rt Virtual address of the memory object. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR \fR .ad .RS 13n -.rt Length of the memory object in bytes. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR \fR .ad .RS 13n -.rt Valid flags include: .sp .ne 2 -.mk .na \fB\fBDDI_DMA_WRITE\fR \fR .ad .RS 23n -.rt Transfer direction is from memory to I/O. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_READ\fR \fR .ad .RS 23n -.rt Transfer direction is from I/O to memory. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_RDWR\fR \fR .ad .RS 23n -.rt Both read and write. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_REDZONE\fR \fR .ad .RS 23n -.rt Establish an \fBMMU\fR redzone at end of the object. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_PARTIAL\fR \fR .ad .RS 23n -.rt Partial resource allocation. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_CONSISTENT\fR \fR .ad .RS 23n -.rt Nonsequential, random, and small block transfers. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_STREAMING\fR \fR .ad .RS 23n -.rt Sequential, unidirectional, block-sized, and block-aligned transfers. .RE @@ -160,33 +136,27 @@ Sequential, unidirectional, block-sized, and block-aligned transfers. .sp .ne 2 -.mk .na \fB\fIcallback\fR \fR .ad .RS 13n -.rt The address of a function to call back later if resources are not currently available. The following special function addresses may also be used. .sp .ne 2 -.mk .na \fB\fBDDI_DMA_SLEEP\fR \fR .ad .RS 21n -.rt Wait until resources are available. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_DONTWAIT\fR \fR .ad .RS 21n -.rt Do not wait until resources are available and do not schedule a callback. .RE @@ -194,35 +164,29 @@ Do not wait until resources are available and do not schedule a callback. .sp .ne 2 -.mk .na \fB\fIarg\fR \fR .ad .RS 13n -.rt Argument to be passed to the callback function, \fIcallback\fR, if such a function is specified. .RE .sp .ne 2 -.mk .na \fB\fIcookiep\fR \fR .ad .RS 13n -.rt A pointer to the first \fBddi_dma_cookie\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIccountp\fR \fR .ad .RS 13n -.rt Upon a successful return, \fIccountp\fR points to a value representing the number of cookies for this \fBDMA\fR object. .RE @@ -251,7 +215,6 @@ resources by calling \fBddi_dma_unbind_handle\fR(9F). The \fIflags\fR argument contains information for mapping routines. .sp .ne 2 -.mk .na \fB\fBDDI_DMA_WRITE\fR, \fBDDI_DMA_READ\fR, \fBDDI_DMA_RDWR\fR\fR .ad @@ -262,7 +225,6 @@ These flags describe the intended direction of the \fBDMA\fR transfer. .sp .ne 2 -.mk .na \fB\fBDDI_DMA_STREAMING\fR \fR .ad @@ -278,7 +240,6 @@ support for large transfers. .sp .ne 2 -.mk .na \fB\fBDDI_DMA_CONSISTENT\fR \fR .ad @@ -292,7 +253,6 @@ driver should be allocated using \fBDDI_DMA_CONSISTENT\fR. .sp .ne 2 -.mk .na \fB\fBDDI_DMA_REDZONE\fR \fR .ad @@ -306,7 +266,6 @@ ability to support a red zone. .sp .ne 2 -.mk .na \fB\fBDDI_DMA_PARTIAL\fR \fR .ad @@ -353,23 +312,19 @@ resources, data structures, queues, and so on. \fBddi_dma_addr_bind_handle()\fR returns: .sp .ne 2 -.mk .na \fB\fBDDI_DMA_MAPPED\fR \fR .ad .RS 24n -.rt Successfully allocated resources for the entire object. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_PARTIAL_MAP\fR \fR .ad .RS 24n -.rt Successfully allocated resources for a part of the object. This is acceptable when partial transfers are permitted by setting the \fBDDI_DMA_PARTIAL\fR flag in \fIflags\fR. @@ -377,45 +332,37 @@ in \fIflags\fR. .sp .ne 2 -.mk .na \fB\fBDDI_DMA_INUSE\fR \fR .ad .RS 24n -.rt Another I/O transaction is using the \fBDMA\fR handle. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_NORESOURCES\fR \fR .ad .RS 24n -.rt No resources are available at the present time. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_NOMAPPING\fR \fR .ad .RS 24n -.rt The object cannot be reached by the device requesting the resources. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_TOOBIG\fR \fR .ad .RS 24n -.rt The object is too big. A request of this size can never be satisfied on this particular system. The maximum size varies depending on machine and configuration. diff --git a/usr/src/man/man9f/ddi_dma_addr_setup.9f b/usr/src/man/man9f/ddi_dma_addr_setup.9f index 9b2d5c7fb8..52f3a367be 100644 --- a/usr/src/man/man9f/ddi_dma_addr_setup.9f +++ b/usr/src/man/man9f/ddi_dma_addr_setup.9f @@ -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 ddi_dma_addr_setup 9F "04 Apr 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_ADDR_SETUP 9F "Apr 04, 2006" .SH NAME ddi_dma_addr_setup \- easier DMA setup for use with virtual addresses .SH SYNOPSIS @@ -13,7 +13,7 @@ ddi_dma_addr_setup \- easier DMA setup for use with virtual addresses #include <sys/sunddi.h> \fBint\fR \fBddi_dma_addr_setup\fR(\fBdev_info_t *\fR\fIdip\fR, \fBstruct as *\fR\fIas\fR, \fBcaddr_t\fR \fIaddr\fR, - \fBsize_t\fR \fIlen\fR, \fBuint_t\fR \fIflags\fR, \fBint (*\fR\fIwaitfp\fR) (caddr_t), \fBcaddr_t\fR \fIarg\fR, + \fBsize_t\fR \fIlen\fR, \fBuint_t\fR \fIflags\fR, \fBint (*\fR\fIwaitfp\fR) (caddr_t), \fBcaddr_t\fR \fIarg\fR, \fBddi_dma_lim_t *\fR \fIlim\fR, \fBddi_dma_handle_t *\fR\fIhandlep\fR); .fi @@ -25,69 +25,57 @@ instead. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 11n -.rt A pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIas\fR\fR .ad .RS 11n -.rt A pointer to an address space structure. Should be set to \fINULL\fR, which implies kernel address space. .RE .sp .ne 2 -.mk .na \fB\fIaddr\fR\fR .ad .RS 11n -.rt Virtual address of the memory object. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 11n -.rt Length of the memory object in bytes. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 11n -.rt Flags that would go into the \fBddi_dma_req\fR structure (see \fBddi_dma_req\fR(9S)). .RE .sp .ne 2 -.mk .na \fB\fIwaitfp\fR\fR .ad .RS 11n -.rt The address of a function to call back later if resources aren't available now. The special function addresses \fBDDI_DMA_SLEEP\fR and \fBDDI_DMA_DONTWAIT\fR (see \fBddi_dma_req\fR(9S)) are taken to mean, respectively, wait until @@ -96,23 +84,19 @@ resources are available or, do not wait at all and do not schedule a callback. .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 11n -.rt Argument to be passed to a callback function, if such a function is specified. .RE .sp .ne 2 -.mk .na \fB\fIlim\fR\fR .ad .RS 11n -.rt A pointer to a \fBDMA\fR limits structure for this device (see \fBddi_dma_lim_sparc\fR(9S) or \fBddi_dma_lim_x86\fR(9S)). If this pointer is \fINULL\fR, a default set of \fBDMA\fR limits is assumed. @@ -120,12 +104,10 @@ A pointer to a \fBDMA\fR limits structure for this device (see .sp .ne 2 -.mk .na \fB\fIhandlep\fR\fR .ad .RS 11n -.rt Pointer to a \fBDMA\fR handle. See \fBddi_dma_setup\fR(9F) for a discussion of handle. .RE @@ -154,13 +136,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dma_alloc_handle.9f b/usr/src/man/man9f/ddi_dma_alloc_handle.9f index 7edb35365d..ca018d3b58 100644 --- a/usr/src/man/man9f/ddi_dma_alloc_handle.9f +++ b/usr/src/man/man9f/ddi_dma_alloc_handle.9f @@ -3,18 +3,18 @@ .\" 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 ddi_dma_alloc_handle 9F "22 Sep 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_ALLOC_HANDLE 9F "Sep 22, 1996" .SH NAME ddi_dma_alloc_handle \- allocate DMA handle .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> -#include <sys/sunddi.h> +#include <sys/ddi.h> +#include <sys/sunddi.h> -\fBint\fR \fBddi_dma_alloc_handle\fR(\fBdev_info_t *\fR\fIdip\fR, \fBddi_dma_attr_t *\fR\fIattr\fR, +\fBint\fR \fBddi_dma_alloc_handle\fR(\fBdev_info_t *\fR\fIdip\fR, \fBddi_dma_attr_t *\fR\fIattr\fR, \fBint (*\fR\fIcallback\fR) (caddr_t), \fBcaddr_t\fR \fIarg\fR, \fBddi_dma_handle_t *\fR\fIhandlep\fR); .fi @@ -25,56 +25,46 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 12n -.rt Pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIattr\fR\fR .ad .RS 12n -.rt Pointer to a \fBDMA\fR attribute structure for this device (see \fBddi_dma_attr\fR(9S)). .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 12n -.rt The address of a function to call back later if resources aren't available now. The following special function addresses may also be used. .sp .ne 2 -.mk .na \fB\fBDDI_DMA_SLEEP\fR\fR .ad .RS 20n -.rt Wait until resources are available. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_DONTWAIT\fR\fR .ad .RS 20n -.rt Do not wait until resources are available and do not schedule a callback. .RE @@ -82,23 +72,19 @@ Do not wait until resources are available and do not schedule a callback. .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 12n -.rt Argument to be passed to a callback function, if such a function is specified. .RE .sp .ne 2 -.mk .na \fB\fIhandlep\fR\fR .ad .RS 12n -.rt Pointer to the \fBDMA\fR handle to be initialized. .RE @@ -146,35 +132,29 @@ must be called to free the handle. \fBddi_dma_alloc_handle()\fR returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 23n -.rt Successfully allocated a new \fBDMA\fR handle. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_BADATTR\fR\fR .ad .RS 23n -.rt The attributes specified in the \fBddi_dma_attr\fR(9S) structure make it impossible for the system to allocate potential \fBDMA\fR resources. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_NORESOURCES\fR\fR .ad .RS 23n -.rt No resources are available. .RE diff --git a/usr/src/man/man9f/ddi_dma_buf_bind_handle.9f b/usr/src/man/man9f/ddi_dma_buf_bind_handle.9f index 5241d9c55b..5b8265605e 100644 --- a/usr/src/man/man9f/ddi_dma_buf_bind_handle.9f +++ b/usr/src/man/man9f/ddi_dma_buf_bind_handle.9f @@ -3,19 +3,19 @@ .\" 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 ddi_dma_buf_bind_handle 9F "27 Jul 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_BUF_BIND_HANDLE 9F "Jul 27, 1996" .SH NAME ddi_dma_buf_bind_handle \- binds a system buffer to a DMA handle .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> -#include <sys/sunddi.h> +#include <sys/ddi.h> +#include <sys/sunddi.h> \fBint\fR \fBddi_dma_buf_bind_handle\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBstruct buf *\fR\fIbp\fR, - \fBuint_t\fR \fIflags\fR, \fBint (*\fR\fIcallback\fR)(caddr_t), \fBcaddr_t\fR + \fBuint_t\fR \fIflags\fR, \fBint (*\fR\fIcallback\fR)(caddr_t), \fBcaddr_t\fR \fIarg\fR, \fBddi_dma_cookie_t *\fR\fIcookiep\fR, \fBuint_t *\fR\fIccountp\fR); .fi @@ -26,110 +26,90 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 12n -.rt The \fBDMA\fR handle previously allocated by a call to \fBddi_dma_alloc_handle\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 12n -.rt A pointer to a system buffer structure (see \fBbuf\fR(9S)). .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 12n -.rt Valid flags include: .sp .ne 2 -.mk .na \fB\fBDDI_DMA_WRITE\fR\fR .ad .RS 22n -.rt Transfer direction is from memory to I/O .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_READ\fR\fR .ad .RS 22n -.rt Transfer direction is from I/O to memory .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_RDWR\fR\fR .ad .RS 22n -.rt Both read and write .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_REDZONE\fR\fR .ad .RS 22n -.rt Establish an \fBMMU\fR redzone at end of the object. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_PARTIAL\fR\fR .ad .RS 22n -.rt Partial resource allocation .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_CONSISTENT\fR\fR .ad .RS 22n -.rt Nonsequential, random, and small block transfers. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_STREAMING\fR\fR .ad .RS 22n -.rt Sequential, unidirectional, block-sized, and block-aligned transfers. .RE @@ -137,33 +117,27 @@ Sequential, unidirectional, block-sized, and block-aligned transfers. .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 12n -.rt The address of a function to call back later if resources are not available now. The following special function addresses may also be used. .sp .ne 2 -.mk .na \fB\fBDDI_DMA_SLEEP\fR\fR .ad .RS 20n -.rt Wait until resources are available. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_DONTWAIT\fR\fR .ad .RS 20n -.rt Do not wait until resources are available and do not schedule a callback. .RE @@ -171,35 +145,29 @@ Do not wait until resources are available and do not schedule a callback. .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 12n -.rt Argument to be passed to the callback function, \fIcallback\fR, if such a function is specified. .RE .sp .ne 2 -.mk .na \fB\fIcookiep\fR\fR .ad .RS 12n -.rt A pointer to the first \fBddi_dma_cookie\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIccountp\fR\fR .ad .RS 12n -.rt Upon a successful return, \fIccountp\fR points to a value representing the number of cookies for this \fBDMA\fR object. .RE @@ -227,7 +195,6 @@ resources by calling \fBddi_dma_unbind_handle\fR(9F). The \fIflags\fR argument contains information for mapping routines. .sp .ne 2 -.mk .na \fB\fBDDI_DMA_WRITE\fR, \fBDDI_DMA_READ\fR, \fBDDI_DMA_RDWR\fR\fR .ad @@ -238,7 +205,6 @@ These flags describe the intended direction of the \fBDMA\fR transfer. .sp .ne 2 -.mk .na \fB\fBDDI_DMA_STREAMING\fR \fR .ad @@ -254,7 +220,6 @@ support for large transfers. .sp .ne 2 -.mk .na \fB\fBDDI_DMA_CONSISTENT\fR \fR .ad @@ -268,7 +233,6 @@ driver should be allocated using \fBDDI_DMA_CONSISTENT\fR. .sp .ne 2 -.mk .na \fB\fBDDI_DMA_REDZONE\fR \fR .ad @@ -282,7 +246,6 @@ ability to support a red zone. .sp .ne 2 -.mk .na \fB\fBDDI_DMA_PARTIAL\fR \fR .ad @@ -329,23 +292,19 @@ data structures, queues, etc. \fBddi_dma_buf_bind_handle()\fR returns: .sp .ne 2 -.mk .na \fB\fBDDI_DMA_MAPPED\fR\fR .ad .RS 23n -.rt Successfully allocated resources for the entire object. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_PARTIAL_MAP\fR\fR .ad .RS 23n -.rt Successfully allocated resources for a part of the object. This is acceptable when partial transfers are permitted by setting the \fBDDI_DMA_PARTIAL\fR flag in \fIflags\fR. @@ -353,45 +312,37 @@ in \fIflags\fR. .sp .ne 2 -.mk .na \fB\fBDDI_DMA_INUSE\fR\fR .ad .RS 23n -.rt Another I/O transaction is using the \fBDMA\fR handle. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_NORESOURCES\fR\fR .ad .RS 23n -.rt No resources are available at the present time. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_NOMAPPING\fR\fR .ad .RS 23n -.rt The object cannot be reached by the device requesting the resources. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_TOOBIG\fR\fR .ad .RS 23n -.rt The object is too big. A request of this size can never be satisfied on this particular system. The maximum size varies depending on machine and configuration. diff --git a/usr/src/man/man9f/ddi_dma_buf_setup.9f b/usr/src/man/man9f/ddi_dma_buf_setup.9f index f6b52af7a7..017aae75eb 100644 --- a/usr/src/man/man9f/ddi_dma_buf_setup.9f +++ b/usr/src/man/man9f/ddi_dma_buf_setup.9f @@ -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 ddi_dma_buf_setup 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_BUF_SETUP 9F "Jan 16, 2006" .SH NAME ddi_dma_buf_setup \- easier DMA setup for use with buffer structures .SH SYNOPSIS @@ -15,7 +15,7 @@ ddi_dma_buf_setup \- easier DMA setup for use with buffer structures \fBint\fR \fBddi_dma_buf_setup\fR(\fBdev_info_t *\fR\fIdip\fR, \fBstruct buf *\fR\fIbp\fR, \fBuint_t\fR \fIflags\fR, - \fBint (*\fR\fIwaitfp\fR) (caddr_t),, \fBcaddr_t\fR \fIarg\fR, \fBddi_dma_lim_t *\fR\fIlim\fR, + \fBint (*\fR\fIwaitfp\fR) (caddr_t),, \fBcaddr_t\fR \fIarg\fR, \fBddi_dma_lim_t *\fR\fIlim\fR, \fBddi_dma_handle_t *\fR\fIhandlep\fR); .fi @@ -27,45 +27,37 @@ instead. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 11n -.rt A pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 11n -.rt A pointer to a system buffer structure (see \fBbuf\fR(9S)). .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 11n -.rt Flags that go into a \fBddi_dma_req\fR structure (see \fBddi_dma_req\fR(9S)). .RE .sp .ne 2 -.mk .na \fB\fIwaitfp\fR\fR .ad .RS 11n -.rt The address of a function to call back later if resources aren't available now. The special function addresses \fBDDI_DMA_SLEEP\fR and \fBDDI_DMA_DONTWAIT\fR (see \fBddi_dma_req\fR(9S)) are taken to mean, respectively, wait until @@ -74,23 +66,19 @@ resources are available, or do not wait at all and do not schedule a callback. .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 11n -.rt Argument to be passed to a callback function, if such a function is specified. .RE .sp .ne 2 -.mk .na \fB\fIlim\fR\fR .ad .RS 11n -.rt A pointer to a \fBDMA\fR limits structure for this device (see \fBddi_dma_lim_sparc\fR(9S) or \fBddi_dma_lim_x86\fR(9S)). If this pointer is \fINULL\fR, a default set of \fBDMA\fR limits is assumed. @@ -98,12 +86,10 @@ A pointer to a \fBDMA\fR limits structure for this device (see .sp .ne 2 -.mk .na \fB\fIhandlep\fR\fR .ad .RS 11n -.rt Pointer to a \fBDMA\fR handle. See \fBddi_dma_setup\fR(9F) for a discussion of handle. .RE @@ -132,13 +118,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dma_burstsizes.9f b/usr/src/man/man9f/ddi_dma_burstsizes.9f index 6c6df2fb2b..5b7d2fb2ed 100644 --- a/usr/src/man/man9f/ddi_dma_burstsizes.9f +++ b/usr/src/man/man9f/ddi_dma_burstsizes.9f @@ -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 ddi_dma_burstsizes 9F "1 Feb 1994" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_BURSTSIZES 9F "Feb 1, 1994" .SH NAME ddi_dma_burstsizes \- find out the allowed burst sizes for a DMA mapping .SH SYNOPSIS @@ -25,12 +25,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 11n -.rt A \fBDMA\fR handle that was filled in by a successful call to \fBddi_dma_setup\fR(9F). .RE diff --git a/usr/src/man/man9f/ddi_dma_coff.9f b/usr/src/man/man9f/ddi_dma_coff.9f index a3b4b7ca92..b8609b2fd0 100644 --- a/usr/src/man/man9f/ddi_dma_coff.9f +++ b/usr/src/man/man9f/ddi_dma_coff.9f @@ -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 ddi_dma_coff 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_COFF 9F "Jan 16, 2006" .SH NAME ddi_dma_coff \- convert a DMA cookie to an offset within a DMA handle. .SH SYNOPSIS @@ -26,23 +26,19 @@ Solaris SPARC DDI (Solaris SPARC DDI). This interface is obsolete. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 11n -.rt The \fIhandle\fR filled in by a call to \fBddi_dma_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcookiep\fR\fR .ad .RS 11n -.rt A pointer to a \fBDMA\fR cookie (see \fBddi_dma_cookie\fR(9S)) that contains the appropriate address, length and bus type to be used in programming the \fBDMA\fR engine. @@ -50,12 +46,10 @@ the appropriate address, length and bus type to be used in programming the .sp .ne 2 -.mk .na \fB\fIoffp\fR\fR .ad .RS 11n -.rt A pointer to an offset to be filled in. .RE @@ -77,23 +71,19 @@ for \fBDMA\fR. The \fBddi_dma_coff()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Successfully filled in \fIoffp\fR. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Failed to successfully fill in \fIoffp\fR. .RE @@ -110,13 +100,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dma_curwin.9f b/usr/src/man/man9f/ddi_dma_curwin.9f index a86a6fe7f5..b04a98c114 100644 --- a/usr/src/man/man9f/ddi_dma_curwin.9f +++ b/usr/src/man/man9f/ddi_dma_curwin.9f @@ -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 ddi_dma_curwin 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_CURWIN 9F "Jan 16, 2006" .SH NAME ddi_dma_curwin \- report current DMA window offset and size .SH SYNOPSIS @@ -25,35 +25,29 @@ This interface is obsolete. \fBddi_dma_getwin\fR(9F) should be used instead. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 10n -.rt The \fBDMA\fR handle filled in by a call to \fBddi_dma_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIoffp\fR\fR .ad .RS 10n -.rt A pointer to a value which will be filled in with the current offset from the beginning of the object that is mapped for \fBDMA\fR. .RE .sp .ne 2 -.mk .na \fB\fIlenp\fR\fR .ad .RS 10n -.rt A pointer to a value which will be filled in with the size, in bytes, of the current window onto the object that is mapped for \fBDMA\fR. .RE @@ -72,23 +66,19 @@ to \fBddi_dma_curwin()\fR. The \fBddi_dma_curwin()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt The current length and offset can be established. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Otherwise. .RE @@ -105,13 +95,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dma_devalign.9f b/usr/src/man/man9f/ddi_dma_devalign.9f index 92e2cde16f..913c73e6f2 100644 --- a/usr/src/man/man9f/ddi_dma_devalign.9f +++ b/usr/src/man/man9f/ddi_dma_devalign.9f @@ -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 ddi_dma_devalign 9F "04 Apr 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_DEVALIGN 9F "Apr 04, 2006" .SH NAME ddi_dma_devalign \- find DMA mapping alignment and minimum transfer size .SH SYNOPSIS @@ -15,7 +15,7 @@ ddi_dma_devalign \- find DMA mapping alignment and minimum transfer size -\fBint\fR \fBddi_dma_devalign\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBuint_t *\fR\fIalignment\fR, +\fBint\fR \fBddi_dma_devalign\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBuint_t *\fR\fIalignment\fR, \fBuint_t *\fR\fIminxfr\fR); .fi @@ -26,35 +26,29 @@ Solaris DDI specific (Solaris DDI). This interface is obsolete. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 13n -.rt The DMA\fBhandle\fR filled in by a successful call to \fBddi_dma_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIalignment\fR\fR .ad .RS 13n -.rt A pointer to an unsigned integer to be filled in with the minimum required alignment for \fBDMA\fR. The alignment is guaranteed to be a power of two. .RE .sp .ne 2 -.mk .na \fB\fIminxfr\fR\fR .ad .RS 13n -.rt A pointer to an unsigned integer to be filled in with the minimum effective transfer size (see \fBddi_iomin\fR(9F), \fBddi_dma_lim_sparc\fR(9S) and \fBddi_dma_lim_x86\fR(9S)). This also is guaranteed to be a power of two. @@ -72,23 +66,19 @@ minimum \fBDMA\fR transfer size. The \fBddi_dma_devalign()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt The \fIalignment\fR and \fIminxfr\fR values have been filled. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt The handle was illegal. .RE @@ -105,13 +95,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dma_free.9f b/usr/src/man/man9f/ddi_dma_free.9f index ab021e59be..4d9a794846 100644 --- a/usr/src/man/man9f/ddi_dma_free.9f +++ b/usr/src/man/man9f/ddi_dma_free.9f @@ -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 ddi_dma_free 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_FREE 9F "Jan 16, 2006" .SH NAME ddi_dma_free \- release system DMA resources .SH SYNOPSIS @@ -25,12 +25,10 @@ instead. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 10n -.rt The handle filled in by a call to \fBddi_dma_setup\fR(9F). .RE @@ -49,23 +47,19 @@ further synchronization steps are not necessary. The \fBddi_dma_free()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Successfully released resources .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Failed to free resources .RE @@ -82,13 +76,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dma_free_handle.9f b/usr/src/man/man9f/ddi_dma_free_handle.9f index 6578374851..bfcd40b879 100644 --- a/usr/src/man/man9f/ddi_dma_free_handle.9f +++ b/usr/src/man/man9f/ddi_dma_free_handle.9f @@ -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 ddi_dma_free_handle 9F "26 Sep 1994" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_FREE_HANDLE 9F "Sep 26, 1994" .SH NAME ddi_dma_free_handle \- free DMA handle .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> @@ -20,12 +20,10 @@ ddi_dma_free_handle \- free DMA handle .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 11n -.rt A pointer to the \fBDMA\fR handle previously allocated by a call to \fBddi_dma_alloc_handle\fR(9F). .RE diff --git a/usr/src/man/man9f/ddi_dma_get_attr.9f b/usr/src/man/man9f/ddi_dma_get_attr.9f index 4cc9825d3d..5557280c5e 100644 --- a/usr/src/man/man9f/ddi_dma_get_attr.9f +++ b/usr/src/man/man9f/ddi_dma_get_attr.9f @@ -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 ddi_dma_get_attr 9F "12 Oct 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_GET_ATTR 9F "Oct 12, 2005" .SH NAME ddi_dma_get_attr \- get the device DMA attribute structure from a DMA handle .SH SYNOPSIS @@ -24,23 +24,19 @@ Solaris DDI specific (Solaris DDI). This interface is obsolete. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 10n -.rt The handle filled in by a call to \fBddi_dma_alloc_handle\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIattrp\fR\fR .ad .RS 10n -.rt Pointer to a buffer suitable for holding a DMA attribute structure. See \fBddi_dma_attr\fR(9S). .RE @@ -54,24 +50,20 @@ memory object bound to the given handle will be subject. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 19n -.rt Successfully passed back attribute structure in buffer pointed to by \fIattrp\fR. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_BADATTR\fR\fR .ad .RS 19n -.rt A valid attribute structure could not be passed back. .RE @@ -87,13 +79,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dma_getwin.9f b/usr/src/man/man9f/ddi_dma_getwin.9f index 749387c31a..b092ae66e9 100644 --- a/usr/src/man/man9f/ddi_dma_getwin.9f +++ b/usr/src/man/man9f/ddi_dma_getwin.9f @@ -3,19 +3,19 @@ .\" 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 ddi_dma_getwin 9F "15 Nov 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_GETWIN 9F "Nov 15, 1996" .SH NAME ddi_dma_getwin \- activate a new DMA window .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> -#include <sys/sunddi.h> +#include <sys/ddi.h> +#include <sys/sunddi.h> -\fBint\fR \fBddi_dma_getwin\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBuint_t\fR \fIwin\fR, - \fBoff_t *\fR\fIoffp\fR, \fBsize_t *\fR\fIlenp\fR, \fBddi_dma_cookie_t\fR \fI*cookiep\fR, +\fBint\fR \fBddi_dma_getwin\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBuint_t\fR \fIwin\fR, + \fBoff_t *\fR\fIoffp\fR, \fBsize_t *\fR\fIlenp\fR, \fBddi_dma_cookie_t\fR \fI*cookiep\fR, \fBuint_t *\fR\fIccountp\fR); .fi @@ -26,70 +26,58 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 12n -.rt The \fBDMA\fR handle previously allocated by a call to \fBddi_dma_alloc_handle\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIwin\fR \fR .ad .RS 12n -.rt Number of the window to activate. .RE .sp .ne 2 -.mk .na \fB\fIoffp\fR \fR .ad .RS 12n -.rt Pointer to an offset. Upon a successful return, \fIoffp\fR will contain the new offset indicating the beginning of the window within the object. .RE .sp .ne 2 -.mk .na \fB\fIlenp\fR \fR .ad .RS 12n -.rt Upon a successful return, \fIlenp\fR will contain the size, in bytes, of the current window. .RE .sp .ne 2 -.mk .na \fB\fIcookiep\fR \fR .ad .RS 12n -.rt A pointer to the first \fBddi_dma_cookie\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIccountp\fR \fR .ad .RS 12n -.rt Upon a successful return, \fIccountp\fR will contain the number of cookies for this \fBDMA\fR window. .RE @@ -135,23 +123,19 @@ start another \fBDMA\fR transfer. \fBddi_dma_getwin()\fR returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR \fR .ad .RS 16n -.rt Resources for the specified \fBDMA\fR window are allocated. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR \fR .ad .RS 16n -.rt \fIwin\fR is not a valid window index. .RE diff --git a/usr/src/man/man9f/ddi_dma_htoc.9f b/usr/src/man/man9f/ddi_dma_htoc.9f index 8fea2aef0d..f2157ba6d8 100644 --- a/usr/src/man/man9f/ddi_dma_htoc.9f +++ b/usr/src/man/man9f/ddi_dma_htoc.9f @@ -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 ddi_dma_htoc 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_HTOC 9F "Jan 16, 2006" .SH NAME ddi_dma_htoc \- convert a DMA handle to a DMA address cookie .SH SYNOPSIS @@ -15,7 +15,7 @@ ddi_dma_htoc \- convert a DMA handle to a DMA address cookie -\fBint\fR \fBddi_dma_htoc\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBoff_t\fR \fIoff\fR, +\fBint\fR \fBddi_dma_htoc\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBoff_t\fR \fIoff\fR, \fBddi_dma_cookie_t *\fR\fIcookiep\fR); .fi @@ -27,34 +27,28 @@ This interface is obsolete. \fBddi_dma_addr_bind_handle\fR(9F) or .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 11n -.rt The handle filled in by a call to \fBddi_dma_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIoff\fR\fR .ad .RS 11n -.rt An offset into the object that \fIhandle\fR maps. .RE .sp .ne 2 -.mk .na \fB\fIcookiep\fR\fR .ad .RS 11n -.rt A pointer to a \fBddi_dma_cookie\fR(9S) structure. .RE @@ -71,23 +65,19 @@ with the appropriate address, length, and bus type to be used to program the The \fBddi_dma_htoc()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Successfully filled in the cookie pointed to by \fIcookiep\fR. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Failed to successfully fill in the cookie. .RE @@ -104,13 +94,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dma_mem_alloc.9f b/usr/src/man/man9f/ddi_dma_mem_alloc.9f index 68365063b2..2bb76ecc95 100644 --- a/usr/src/man/man9f/ddi_dma_mem_alloc.9f +++ b/usr/src/man/man9f/ddi_dma_mem_alloc.9f @@ -3,19 +3,19 @@ .\" 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 ddi_dma_mem_alloc 9F "05 Jun 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_MEM_ALLOC 9F "Jun 05, 2006" .SH NAME ddi_dma_mem_alloc \- allocate memory for DMA transfer .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> -#include <sys/sunddi.h> +#include <sys/ddi.h> +#include <sys/sunddi.h> -\fBint\fR \fBddi_dma_mem_alloc\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBsize_t\fR \fIlength\fR, - \fBddi_device_acc_attr_t *\fR\fIaccattrp\fR, \fBuint_t\fR \fIflags\fR, +\fBint\fR \fBddi_dma_mem_alloc\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBsize_t\fR \fIlength\fR, + \fBddi_device_acc_attr_t *\fR\fIaccattrp\fR, \fBuint_t\fR \fIflags\fR, \fBint (*\fR\fIwaitfp\fR) (caddr_t), \fBcaddr_t\fR \fIarg\fR, \fBcaddr_t *\fR\fIkaddrp\fR, \fBsize_t *\fR\fIreal_length\fR, \fBddi_acc_handle_t *\fR\fIhandlep\fR); .fi @@ -27,35 +27,29 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 15n -.rt The \fBDMA\fR handle previously allocated by a call to \fBddi_dma_alloc_handle\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIlength\fR\fR .ad .RS 15n -.rt The length in bytes of the desired allocation. .RE .sp .ne 2 -.mk .na \fB\fIaccattrp\fR\fR .ad .RS 15n -.rt Pointer to a \fBddi_device_acc_attr()\fR structure of the device. See \fBddi_device_acc_attr\fR(9S). The value in \fBdevacc_attr_dataorder\fR is ignored in the current release. The value in \fBdevacc_attr_endian_flags\fR is @@ -64,46 +58,38 @@ meaningful on the SPARC architecture only. .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 15n -.rt Used to determine the data transfer mode and/or the cache attribute. .sp Possible values of the data transfer are: .sp .ne 2 -.mk .na \fB\fBDDI_DMA_STREAMING\fR\fR .ad .RS 22n -.rt Sequential, unidirectional, block-sized, and block-aligned transfers. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_CONSISTENT\fR\fR .ad .RS 22n -.rt Nonsequential transfers of small objects. .RE Possible values of the cache attribute are: .sp .ne 2 -.mk .na \fB\fBIOMEM_DATA_CACHED\fR\fR .ad .RS 28n -.rt The CPU can cache the data it fetches and push it to memory at a later time. This is the default attribute that is used if no cache attributes are specified. @@ -111,12 +97,10 @@ specified. .sp .ne 2 -.mk .na \fB\fBIOMEM_DATA_UC_WR_COMBINE\fR\fR .ad .RS 28n -.rt The CPU never caches the data, but writes can occur out of order or can be combined. Reordering is implied. .sp @@ -126,12 +110,10 @@ If \fBIOMEM_DATA_UC_WR_COMBINE\fR is specified but not supported, .sp .ne 2 -.mk .na \fB\fBIOMEM_DATA_UNCACHED\fR\fR .ad .RS 28n -.rt The CPU never caches data, but has uncacheable access to memory. Strict ordering is implied. .RE @@ -143,12 +125,10 @@ meaningful. Others lead to a failure. .sp .ne 2 -.mk .na \fB\fIwaitfp\fR\fR .ad .RS 15n -.rt The address of a function to call back later if resources are not available now. The callback function indicates how a caller wants to handle the possibility of resources not being available. If callback is set to @@ -174,35 +154,29 @@ critical resources, data structures, queues, and so on. .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 15n -.rt Argument to be passed to the callback function, if such a function is specified. .RE .sp .ne 2 -.mk .na \fB\fIkaddrp\fR\fR .ad .RS 15n -.rt On successful return, \fIkaddrp\fR points to the allocated memory. .RE .sp .ne 2 -.mk .na \fB\fIreal_length\fR\fR .ad .RS 15n -.rt The amount of memory, in bytes, allocated. Alignment and padding requirements may require \fBddi_dma_mem_alloc()\fR to allocate more memory than requested in \fIlength\fR. @@ -210,12 +184,10 @@ may require \fBddi_dma_mem_alloc()\fR to allocate more memory than requested in .sp .ne 2 -.mk .na \fB\fIhandlep\fR\fR .ad .RS 15n -.rt Pointer to a data access handle. .RE @@ -271,23 +243,19 @@ device after a \fBDMA\fR transfer, explicit synchronization steps using The \fBddi_dma_mem_alloc()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Memory successfully allocated. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Memory allocation failed. .RE diff --git a/usr/src/man/man9f/ddi_dma_mem_free.9f b/usr/src/man/man9f/ddi_dma_mem_free.9f index 8150a97200..6f919b3b7b 100644 --- a/usr/src/man/man9f/ddi_dma_mem_free.9f +++ b/usr/src/man/man9f/ddi_dma_mem_free.9f @@ -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 ddi_dma_mem_free 9F "26 Sep 1994" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_MEM_FREE 9F "Sep 26, 1994" .SH NAME ddi_dma_mem_free \- free previously allocated memory .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> @@ -20,12 +20,10 @@ ddi_dma_mem_free \- free previously allocated memory .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandlep\fR \fR .ad .RS 12n -.rt Pointer to the data access handle previously allocated by a call to \fBddi_dma_mem_alloc\fR(9F). .RE diff --git a/usr/src/man/man9f/ddi_dma_movwin.9f b/usr/src/man/man9f/ddi_dma_movwin.9f index 84afd4cea2..52ebc3170f 100644 --- a/usr/src/man/man9f/ddi_dma_movwin.9f +++ b/usr/src/man/man9f/ddi_dma_movwin.9f @@ -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 ddi_dma_movwin 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_MOVWIN 9F "Jan 16, 2006" .SH NAME ddi_dma_movwin \- shift current DMA window .SH SYNOPSIS @@ -14,7 +14,7 @@ ddi_dma_movwin \- shift current DMA window -\fBint\fR \fBddi_dma_movwin\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBoff_t *\fR\fIoffp\fR, +\fBint\fR \fBddi_dma_movwin\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBoff_t *\fR\fIoffp\fR, \fBuint_t *\fR\fIlenp\fR, \fBddi_dma_cookie_t *\fR\fIcookiep\fR); .fi @@ -25,23 +25,19 @@ This interface is obsolete. \fBddi_dma_getwin\fR(9F) should be used instead. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 11n -.rt The \fBDMA\fR handle filled in by a call to \fBddi_dma_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIoffp\fR\fR .ad .RS 11n -.rt A pointer to an offset to set the \fBDMA\fR window to. Upon a successful return, it will be filled in with the new offset from the beginning of the object resources are allocated for. @@ -49,12 +45,10 @@ object resources are allocated for. .sp .ne 2 -.mk .na \fB\fIlenp\fR\fR .ad .RS 11n -.rt A pointer to a value which must either be the current size of the \fBDMA\fR window (as known from a call to \fBddi_dma_curwin\fR(9F) or from a previous call to \fBddi_dma_movwin()\fR). Upon a successful return, it will be filled in @@ -63,12 +57,10 @@ with the size, in bytes, of the current window. .sp .ne 2 -.mk .na \fB\fIcookiep\fR\fR .ad .RS 11n -.rt A pointer to a \fBDMA\fR cookie (see \fBddi_dma_cookie\fR(9S)). Upon a successful return, cookiep is filled in just as if an implicit \fBddi_dma_htoc\fR(9F) had been made. @@ -110,23 +102,19 @@ transfer. The \fBddi_dma_movwin()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt The current length and offset are legal and have been set. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Otherwise. .RE @@ -143,13 +131,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dma_nextcookie.9f b/usr/src/man/man9f/ddi_dma_nextcookie.9f index 4f3bb2a6fd..527e2b8361 100644 --- a/usr/src/man/man9f/ddi_dma_nextcookie.9f +++ b/usr/src/man/man9f/ddi_dma_nextcookie.9f @@ -3,41 +3,37 @@ .\" 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 ddi_dma_nextcookie 9F "26 Sep 1994" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_NEXTCOOKIE 9F "Sep 26, 1994" .SH NAME ddi_dma_nextcookie \- retrieve subsequent DMA cookie .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBvoid\fR \fBddi_dma_nextcookie\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, +\fBvoid\fR \fBddi_dma_nextcookie\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBddi_dma_cookie_t *\fR\fIcookiep\fR); .fi .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 11n -.rt The handle previously allocated by a call to \fBddi_dma_alloc_handle\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIcookiep\fR\fR .ad .RS 11n -.rt A pointer to a \fBddi_dma_cookie\fR(9S) structure. .RE @@ -83,17 +79,17 @@ uint_t ccount; status = ddi_dma_buf_bind_handle(handle, bp, DDI_DMA_READ, NULL, NULL, &dmacookie, &ccount); - + if (status == DDI_DMA_MAPPED) { /* program DMA engine with first cookie */ - + while (--ccount > 0) { ddi_dma_nextcookie(handle, &dmacookie); /* program DMA engine with next cookie */ } } -\&... +\&... .fi .in -2 diff --git a/usr/src/man/man9f/ddi_dma_nextseg.9f b/usr/src/man/man9f/ddi_dma_nextseg.9f index 32bf77b56e..7b791d1ada 100644 --- a/usr/src/man/man9f/ddi_dma_nextseg.9f +++ b/usr/src/man/man9f/ddi_dma_nextseg.9f @@ -3,18 +3,18 @@ .\" 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 ddi_dma_nextseg 9F "04 Apr 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_NEXTSEG 9F "Apr 04, 2006" .SH NAME ddi_dma_nextseg \- get next DMA segment .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBddi_dma_nextseg\fR(\fBddi_dma_win_t\fR \fIwin\fR, \fBddi_dma_seg_t\fR \fIseg\fR, +\fBint\fR \fBddi_dma_nextseg\fR(\fBddi_dma_win_t\fR \fIwin\fR, \fBddi_dma_seg_t\fR \fIseg\fR, \fBddi_dma_seg_t *\fR\fInseg\fR); .fi @@ -26,34 +26,28 @@ instead. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIwin\fR\fR .ad .RS 8n -.rt A \fBDMA\fR window. .RE .sp .ne 2 -.mk .na \fB\fIseg\fR\fR .ad .RS 8n -.rt The current \fBDMA\fR segment or \fINULL\fR. .RE .sp .ne 2 -.mk .na \fB\fInseg\fR\fR .ad .RS 8n -.rt A pointer to the next \fBDMA\fR segment to be filled in. If \fIseg\fR is \fINULL\fR, a pointer to the first segment within the specified window is returned. @@ -87,35 +81,29 @@ smaller addressable \fBDMA\fR segments. The \fBddi_dma_nextseg()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 17n -.rt Successfully filled in the next segment pointer. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_DONE\fR\fR .ad .RS 17n -.rt There is no next segment. The current segment is the final segment within the specified window. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_STALE\fR\fR .ad .RS 17n -.rt \fIwin\fR does not refer to the currently active window. .RE @@ -136,13 +124,12 @@ See \fBattributes\fR(5) for a description 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 _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dma_nextwin.9f b/usr/src/man/man9f/ddi_dma_nextwin.9f index a177186321..d6beb38562 100644 --- a/usr/src/man/man9f/ddi_dma_nextwin.9f +++ b/usr/src/man/man9f/ddi_dma_nextwin.9f @@ -3,18 +3,18 @@ .\" 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 ddi_dma_nextwin 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_NEXTWIN 9F "Jan 16, 2006" .SH NAME ddi_dma_nextwin \- get next DMA window .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBddi_dma_nextwin\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBddi_dma_win_t\fR \fIwin\fR, +\fBint\fR \fBddi_dma_nextwin\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBddi_dma_win_t\fR \fIwin\fR, \fBddi_dma_win_t *\fR\fInwin\fR); .fi @@ -25,34 +25,28 @@ This interface is obsolete. \fBddi_dma_getwin\fR(9F) should be used instead. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 10n -.rt A \fBDMA\fR handle. .RE .sp .ne 2 -.mk .na \fB\fIwin\fR\fR .ad .RS 10n -.rt The current \fBDMA\fR window or \fINULL\fR. .RE .sp .ne 2 -.mk .na \fB\fInwin\fR\fR .ad .RS 10n -.rt A pointer to the next \fBDMA\fR window to be filled in. If \fIwin\fR is \fINULL\fR, a pointer to the first window within the object is returned. .RE @@ -99,35 +93,29 @@ the data before or after moving the window, further synchronizations using The \fBddi_dma_nextwin()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 17n -.rt Successfully filled in the next window pointer. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_DONE\fR\fR .ad .RS 17n -.rt There is no next window. The current window is the final window within the specified object. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_STALE\fR\fR .ad .RS 17n -.rt \fIwin\fR does not refer to the currently active window. .RE @@ -148,13 +136,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dma_numwin.9f b/usr/src/man/man9f/ddi_dma_numwin.9f index c536b54f9f..475fbe2e53 100644 --- a/usr/src/man/man9f/ddi_dma_numwin.9f +++ b/usr/src/man/man9f/ddi_dma_numwin.9f @@ -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 ddi_dma_numwin 9F "29 Sep 1994" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_NUMWIN 9F "Sep 29, 1994" .SH NAME ddi_dma_numwin \- retrieve number of DMA windows .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> @@ -20,24 +20,20 @@ ddi_dma_numwin \- retrieve number of DMA windows .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 11n -.rt The \fBDMA\fR handle previously allocated by a call to \fBddi_dma_alloc_handle\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fInwinp\fR \fR .ad .RS 11n -.rt Upon a successful return, \fInwinp\fR will contain the number of \fBDMA\fR windows for this object. .RE @@ -57,23 +53,19 @@ Solaris DDI specific (Solaris DDI). \fBddi_dma_numwin()\fR returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR \fR .ad .RS 16n -.rt Successfully filled in the number of \fBDMA\fR windows. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR \fR .ad .RS 16n -.rt \fBDMA\fR windows are not activated. .RE diff --git a/usr/src/man/man9f/ddi_dma_segtocookie.9f b/usr/src/man/man9f/ddi_dma_segtocookie.9f index 6d58bfda23..26fe29913f 100644 --- a/usr/src/man/man9f/ddi_dma_segtocookie.9f +++ b/usr/src/man/man9f/ddi_dma_segtocookie.9f @@ -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 ddi_dma_segtocookie 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_SEGTOCOOKIE 9F "Jan 16, 2006" .SH NAME ddi_dma_segtocookie \- convert a DMA segment to a DMA address cookie .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> @@ -26,46 +26,38 @@ instead. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIseg\fR\fR .ad .RS 11n -.rt A \fBDMA\fR segment. .RE .sp .ne 2 -.mk .na \fB\fIoffp\fR\fR .ad .RS 11n -.rt A pointer to an \fBoff_t\fR. Upon a successful return, it is filled in with the offset. This segment is addressing within the object. .RE .sp .ne 2 -.mk .na \fB\fIlenp\fR\fR .ad .RS 11n -.rt The byte length. This segment is addressing within the object. .RE .sp .ne 2 -.mk .na \fB\fIcookiep\fR\fR .ad .RS 11n -.rt A pointer to a \fBDMA\fR cookie (see \fBddi_dma_cookie\fR(9S)). .RE @@ -83,23 +75,19 @@ specify the range within the object. The \fBddi_dma_segtocookie()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Successfully filled in all values. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Failed to successfully fill in all values. .RE @@ -123,7 +111,7 @@ for (win = NULL; (retw = ddi_dma_nextwin(handle, win, &nwin)) != DDI_DMA_DONE; seg = nseg) { if (rets != DDI_SUCCESS) { - /* do error handling */ + /* do error handling */ } else { ddi_dma_segtocookie(nseg, &off, &len, &cookie); @@ -143,13 +131,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dma_set_sbus64.9f b/usr/src/man/man9f/ddi_dma_set_sbus64.9f index e9e0b1d93c..d3255c6c0d 100644 --- a/usr/src/man/man9f/ddi_dma_set_sbus64.9f +++ b/usr/src/man/man9f/ddi_dma_set_sbus64.9f @@ -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 ddi_dma_set_sbus64 9F "1 Jan 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_SET_SBUS64 9F "Jan 1, 1997" .SH NAME ddi_dma_set_sbus64 \- allow 64-bit transfers on SBus .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> -#include <sys/sunddi.h> +#include <sys/ddi.h> +#include <sys/sunddi.h> @@ -24,23 +24,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 15n -.rt The handle filled in by a call to \fBddi_dma_alloc_handle\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIburstsizes\fR \fR .ad .RS 15n -.rt The possible burst sizes the device's \fBDMA\fR engine can accept in 64-bit mode. .RE @@ -73,23 +69,19 @@ burst sizes will be returned in 32-bit mode. \fBddi_dma_set_sbus64()\fR returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR \fR .ad .RS 16n -.rt Successfully set the SBus to 64-bit mode. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR \fR .ad .RS 16n -.rt 64-bit mode could not be set. .RE @@ -106,13 +98,12 @@ 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) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -ArchitectureSBus +Architecture SBus .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dma_setup.9f b/usr/src/man/man9f/ddi_dma_setup.9f index 42da49001d..fd245658ad 100644 --- a/usr/src/man/man9f/ddi_dma_setup.9f +++ b/usr/src/man/man9f/ddi_dma_setup.9f @@ -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 ddi_dma_setup 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_SETUP 9F "Jan 16, 2006" .SH NAME ddi_dma_setup \- setup DMA resources .SH SYNOPSIS @@ -14,7 +14,7 @@ ddi_dma_setup \- setup DMA resources -\fBint\fR \fBddi_dma_setup\fR(\fBdev_info_t *\fR\fIdip\fR, \fBddi_dma_req_t *\fR\fIdmareqp\fR, +\fBint\fR \fBddi_dma_setup\fR(\fBdev_info_t *\fR\fIdip\fR, \fBddi_dma_req_t *\fR\fIdmareqp\fR, \fBddi_dma_handle_t *\fR\fIhandlep\fR); .fi @@ -28,34 +28,28 @@ used instead. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 11n -.rt A pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIdmareqp\fR\fR .ad .RS 11n -.rt A pointer to a \fBDMA\fR request structure (see \fBddi_dma_req\fR(9S)). .RE .sp .ne 2 -.mk .na \fB\fIhandlep\fR\fR .ad .RS 11n -.rt A pointer to a \fBDMA\fR handle to be filled in. See below for a discussion of a handle. If \fIhandlep\fR is \fINULL\fR, the call to \fBddi_dma_setup()\fR is considered an advisory call, in which case no resources are allocated, but a @@ -97,24 +91,20 @@ When \fBDMA\fR transfer completes, the driver should free up the allocated The \fBddi_dma_setup()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_DMA_MAPPED\fR\fR .ad .RS 23n -.rt Successfully allocated resources for the object. In the case of an \fBadvisory\fR call, this indicates that the request is legal. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_PARTIAL_MAP\fR\fR .ad .RS 23n -.rt Successfully allocated resources for a \fBpart\fR of the object. This is acceptable when partial transfers are allowed using a flag setting in the \fBddi_dma_req\fR structure (see \fBddi_dma_req\fR(9S) and @@ -123,34 +113,28 @@ acceptable when partial transfers are allowed using a flag setting in the .sp .ne 2 -.mk .na \fB\fBDDI_DMA_NORESOURCES\fR\fR .ad .RS 23n -.rt When no resources are available. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_NOMAPPING\fR\fR .ad .RS 23n -.rt The object cannot be reached by the device requesting the resources. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_TOOBIG\fR\fR .ad .RS 23n -.rt The object is too big and exceeds the available resources. The maximum size varies depending on machine and configuration. .RE @@ -170,13 +154,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_dma_sync.9f b/usr/src/man/man9f/ddi_dma_sync.9f index cb1b7c0354..d064019214 100644 --- a/usr/src/man/man9f/ddi_dma_sync.9f +++ b/usr/src/man/man9f/ddi_dma_sync.9f @@ -3,16 +3,16 @@ .\" 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 ddi_dma_sync 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_SYNC 9F "Jan 16, 2006" .SH NAME ddi_dma_sync \- synchronize CPU and I/O views of memory .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBddi_dma_sync\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBoff_t\fR \fIoffset\fR, +\fBint\fR \fBddi_dma_sync\fR(\fBddi_dma_handle_t\fR \fIhandle\fR, \fBoff_t\fR \fIoffset\fR, \fBsize_t\fR \fIlength\fR, \fBuint_t\fR \fItype\fR); .fi @@ -23,34 +23,28 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 10n -.rt The \fIhandle\fR filled in by a call to \fBddi_dma_alloc_handle\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIoffset\fR\fR .ad .RS 10n -.rt The offset into the object described by the \fIhandle\fR. .RE .sp .ne 2 -.mk .na \fB\fIlength\fR\fR .ad .RS 10n -.rt The length, in bytes, of the area to synchronize. When \fIlength\fR is zero, the entire range starting from \fIoffset\fR to the end of the object has the requested operation applied to it. @@ -58,12 +52,10 @@ requested operation applied to it. .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 10n -.rt Indicates the caller's desire about what view of the memory object to synchronize. The possible values are \fBDDI_DMA_SYNC_FORDEV\fR, \fBDDI_DMA_SYNC_FORCPU\fR and \fBDDI_DMA_SYNC_FORKERNEL\fR. @@ -120,23 +112,19 @@ otherwise, synchronize for \fBCPU\fR. The \fBddi_dma_sync()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Caches are successfully flushed. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt The address range to be flushed is out of the address range established by \fBddi_dma_addr_bind_handle\fR(9F) or \fBddi_dma_buf_bind_handle\fR(9F). .RE diff --git a/usr/src/man/man9f/ddi_dma_unbind_handle.9f b/usr/src/man/man9f/ddi_dma_unbind_handle.9f index 32a54adde8..36b23524b6 100644 --- a/usr/src/man/man9f/ddi_dma_unbind_handle.9f +++ b/usr/src/man/man9f/ddi_dma_unbind_handle.9f @@ -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 ddi_dma_unbind_handle 9F "26 Sep 1994" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMA_UNBIND_HANDLE 9F "Sep 26, 1994" .SH NAME ddi_dma_unbind_handle \- unbinds the address in a DMA handle .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> @@ -20,12 +20,10 @@ ddi_dma_unbind_handle \- unbinds the address in a DMA handle .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 11n -.rt The \fBDMA\fR handle previously allocated by a call to \fBddi_dma_alloc_handle\fR(9F). .RE @@ -47,23 +45,19 @@ unnecessary. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR \fR .ad .RS 16n -.rt on success .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR \fR .ad .RS 16n -.rt on failure .RE diff --git a/usr/src/man/man9f/ddi_dmae.9f b/usr/src/man/man9f/ddi_dmae.9f index 5ab022852e..449b3a965a 100644 --- a/usr/src/man/man9f/ddi_dmae.9f +++ b/usr/src/man/man9f/ddi_dmae.9f @@ -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 ddi_dmae 9F "04 Apr 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DMAE 9F "Apr 04, 2006" .SH NAME ddi_dmae, ddi_dmae_alloc, ddi_dmae_release, ddi_dmae_prog, ddi_dmae_disable, ddi_dmae_enable, ddi_dmae_stop, ddi_dmae_getcnt, ddi_dmae_1stparty, @@ -70,56 +70,46 @@ below, to replace it. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 12n -.rt A \fBdev_info\fR pointer that identifies the device. .RE .sp .ne 2 -.mk .na \fB\fIchnl\fR\fR .ad .RS 12n -.rt A \fBDMA\fR channel number. On \fBISA\fR buses this number must be \fB0\fR, \fB1\fR, \fB2\fR, \fB3\fR, \fB5\fR, \fB6\fR, or \fB7\fR. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 12n -.rt The address of a function to call back later if resources are not currently available. The following special function addresses may also be used: .sp .ne 2 -.mk .na \fB\fBDDI_DMA_SLEEP\fR\fR .ad .RS 20n -.rt Wait until resources are available. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_DONTWAIT\fR\fR .ad .RS 20n -.rt Do not wait until resources are available and do not schedule a callback. .RE @@ -127,69 +117,57 @@ Do not wait until resources are available and do not schedule a callback. .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 12n -.rt Argument to be passed to the callback function, if specified. .RE .sp .ne 2 -.mk .na \fB\fIdmaereqp\fR\fR .ad .RS 12n -.rt A pointer to a \fBDMA\fR engine request structure. See \fBddi_dmae_req\fR(9S). .RE .sp .ne 2 -.mk .na \fB\fIcookiep\fR\fR .ad .RS 12n -.rt A pointer to a \fBddi_dma_cookie\fR(9S) object, obtained from \fBddi_dma_segtocookie\fR(9F), which contains the address and count. .RE .sp .ne 2 -.mk .na \fB\fIcountp\fR\fR .ad .RS 12n -.rt A pointer to an integer that will receive the count of the number of bytes not yet transferred upon completion of a \fBDMA\fR operation. .RE .sp .ne 2 -.mk .na \fB\fIlimitsp\fR\fR .ad .RS 12n -.rt A pointer to a \fBDMA\fR limit structure. See \fBddi_dma_lim_x86\fR(9S). .RE .sp .ne 2 -.mk .na \fB\fIattrp\fR\fR .ad .RS 12n -.rt A pointer to a \fBDMA \fR attribute structure. See \fBddi_dma_attr\fR(9S). .RE @@ -200,12 +178,10 @@ There are three possible ways that a device can perform \fBDMA\fR engine functions: .sp .ne 2 -.mk .na \fBBus master DMA\fR .ad .RS 19n -.rt If the device is capable of acting as a true bus master, then the driver should program the device's \fBDMA\fR registers directly and not make use of the \fBDMA\fR engine functions described here. The driver should obtain the @@ -215,12 +191,10 @@ program the device's \fBDMA\fR registers directly and not make use of the .sp .ne 2 -.mk .na \fBThird-party \fBDMA\fR\fR .ad .RS 19n -.rt This method uses the system \fBDMA\fR engine that is resident on the main system board. In this model, the device cooperates with the system's \fBDMA\fR engine to effect the data transfers between the device and memory. The driver @@ -232,12 +206,10 @@ to initiate the transfer in cooperation with that engine. .sp .ne 2 -.mk .na \fBFirst-party DMA\fR .ad .RS 19n -.rt Using this method, the device uses its own \fBDMA\fR bus cycles, but requires a channel from the system's \fBDMA\fR engine. After allocating the \fBDMA\fR channel, the \fBddi_dmae_1stparty()\fR function may be used to perform whatever @@ -367,34 +339,28 @@ allocation functions to provide the information necessary to break the .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 23n -.rt Upon success, for all of these routines. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 23n -.rt May be returned due to invalid arguments. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DMA_NORESOURCES\fR\fR .ad .RS 23n -.rt May be returned by \fBddi_dmae_alloc()\fR if the requested resources are not available and the value of \fIdmae_waitfp\fR is not \fBDDI_DMA_SLEEP\fR. .RE @@ -414,13 +380,12 @@ 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 _ -Architecturex86 +Architecture x86 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_driver_major.9f b/usr/src/man/man9f/ddi_driver_major.9f index 36d831f485..49fcafba36 100644 --- a/usr/src/man/man9f/ddi_driver_major.9f +++ b/usr/src/man/man9f/ddi_driver_major.9f @@ -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 ddi_driver_major 9F "18 Jun 2001" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DRIVER_MAJOR 9F "Jun 18, 2001" .SH NAME ddi_driver_major \- return driver's major device number .SH SYNOPSIS @@ -28,12 +28,10 @@ as an argument to \fBmakedevice\fR(9F) to construct a complete \fBdev_t\fR. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt A pointer to the device's \fBdev_info\fR structure. .RE diff --git a/usr/src/man/man9f/ddi_driver_name.9f b/usr/src/man/man9f/ddi_driver_name.9f index a8c9a3a5f2..bd7d9f7464 100644 --- a/usr/src/man/man9f/ddi_driver_name.9f +++ b/usr/src/man/man9f/ddi_driver_name.9f @@ -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 ddi_driver_name 9F "2 Dec 1998" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_DRIVER_NAME 9F "Dec 2, 1998" .SH NAME ddi_driver_name \- return normalized driver name .SH SYNOPSIS @@ -22,12 +22,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fBdip\fR \fR .ad .RS 8n -.rt A pointer to the device's \fBdev_info\fR structure. .RE diff --git a/usr/src/man/man9f/ddi_enter_critical.9f b/usr/src/man/man9f/ddi_enter_critical.9f index 00aeb182eb..3516ab7a15 100644 --- a/usr/src/man/man9f/ddi_enter_critical.9f +++ b/usr/src/man/man9f/ddi_enter_critical.9f @@ -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 ddi_enter_critical 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_ENTER_CRITICAL 9F "Jan 16, 2006" .SH NAME ddi_enter_critical, ddi_exit_critical \- enter and exit a critical region of control @@ -31,12 +31,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIddic\fR\fR .ad .RS 8n -.rt The returned value from the call to \fBddi_enter_critical()\fR must be passed to \fBddi_exit_critical()\fR. .RE diff --git a/usr/src/man/man9f/ddi_ffs.9f b/usr/src/man/man9f/ddi_ffs.9f index d6a4478d46..4daf052b3b 100644 --- a/usr/src/man/man9f/ddi_ffs.9f +++ b/usr/src/man/man9f/ddi_ffs.9f @@ -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 ddi_ffs 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_FFS 9F "Jan 16, 2006" .SH NAME ddi_ffs, ddi_fls \- find first (last) bit set in a long integer .SH SYNOPSIS @@ -30,12 +30,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImask\fR\fR .ad .RS 8n -.rt A 32-bit argument value to search through. .RE @@ -49,23 +47,19 @@ last (most significant) bit set in the argument. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 5n -.rt No bits are set in mask. .RE .sp .ne 2 -.mk .na \fB\fIN\fR\fR .ad .RS 5n -.rt Bit \fIN\fR is the least significant (\fBddi_ffs\fR) or most significant (\fBddi_fls\fR) bit set in mask. Bits are numbered from \fB1\fR to \fB32\fR, with bit \fB1\fR being the least significant bit position and bit \fB32\fR the diff --git a/usr/src/man/man9f/ddi_fm_acc_err_clear.9f b/usr/src/man/man9f/ddi_fm_acc_err_clear.9f index b59fc6b50a..eaec617f5b 100644 --- a/usr/src/man/man9f/ddi_fm_acc_err_clear.9f +++ b/usr/src/man/man9f/ddi_fm_acc_err_clear.9f @@ -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 ddi_fm_acc_err_clear 9F "10 May 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_FM_ACC_ERR_CLEAR 9F "May 10, 2007" .SH NAME ddi_fm_acc_err_clear, ddi_fm_dma_err_clear \- clear the error status for an access or DMA handle @@ -29,12 +29,10 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIacc_handle\fR\fR .ad .RS 14n -.rt Data access handle obtained from a previous call to \fBddi_regs_map_setup\fR(9F), \fBddi_dma_mem_alloc\fR(9F), or to a similar function. @@ -42,24 +40,20 @@ function. .sp .ne 2 -.mk .na \fB\fIdma_handle\fR\fR .ad .RS 14n -.rt \fBDMA\fR handle obtained from a previous call to \fBddi_dma_mem_alloc\fR(9F) or one of its derivatives. .RE .sp .ne 2 -.mk .na \fB\fIversion\fR\fR .ad .RS 14n -.rt Version number of \fBddi_fm_error_t\fR. .RE @@ -80,13 +74,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_fm_acc_err_get.9f b/usr/src/man/man9f/ddi_fm_acc_err_get.9f index 109ef90362..d96e391d0f 100644 --- a/usr/src/man/man9f/ddi_fm_acc_err_get.9f +++ b/usr/src/man/man9f/ddi_fm_acc_err_get.9f @@ -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 ddi_fm_acc_err_get 9F "13 May 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_FM_ACC_ERR_GET 9F "May 13, 2007" .SH NAME ddi_fm_acc_err_get, ddi_fm_dma_err_get \- get the error status for an access or DMA handle @@ -29,12 +29,10 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIacc_handle\fR\fR .ad .RS 16n -.rt Data access handle obtained from a previous call to \fBddi_regs_map_setup\fR(9F), \fBddi_dma_mem_alloc\fR(9F), or to a similar function. @@ -42,36 +40,30 @@ function. .sp .ne 2 -.mk .na \fB\fIdma_handle\fR\fR .ad .RS 16n -.rt \fBDMA\fR handle obtained from a previous call to \fBddi_dma_mem_alloc\fR(9F) or one of its derivatives. .RE .sp .ne 2 -.mk .na \fB\fIerror_status\fR\fR .ad .RS 16n -.rt Pointer to where the error status for the access or \fBDMA\fR handle should be returned. .RE .sp .ne 2 -.mk .na \fB\fIversion\fR\fR .ad .RS 16n -.rt Version number of \fBddi_fm_error_t\fR. The driver should always set this to \fBDDI_FME_VERSION\fR. .RE @@ -130,13 +122,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_fm_ereport_post.9f b/usr/src/man/man9f/ddi_fm_ereport_post.9f index d575c99e4d..8f1b90669e 100644 --- a/usr/src/man/man9f/ddi_fm_ereport_post.9f +++ b/usr/src/man/man9f/ddi_fm_ereport_post.9f @@ -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 ddi_fm_ereport_post 9F "14 May 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_FM_EREPORT_POST 9F "May 14, 2007" .SH NAME ddi_fm_ereport_post \- post an FMA Protocol Error Report Event .SH SYNOPSIS @@ -22,45 +22,37 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 17n -.rt Pointer to the \fBdev_info\fR structure .RE .sp .ne 2 -.mk .na \fB\fIereport_class\fR\fR .ad .RS 17n -.rt \fBFMA\fR Event Protocol error class .RE .sp .ne 2 -.mk .na \fB\fIena\fR\fR .ad .RS 17n -.rt Error Numeric Association .RE .sp .ne 2 -.mk .na \fB\fIsflag\fR\fR .ad .RS 17n -.rt Determines whether caller can sleep for memory or other event resources. .RE @@ -78,12 +70,10 @@ The following \fIereport_class\fR strings are available for use by any leaf device driver: .sp .ne 2 -.mk .na \fB\fBdevice.inval_state\fR\fR .ad .RS 24n -.rt A leaf driver discovers that the device is in an invalid or inconsistent state. For example, the driver might detect that receive or send ring descriptor indices are corrupted. It might also find an invalid value in a register or a @@ -92,12 +82,10 @@ driver-to-device protocol violation. .sp .ne 2 -.mk .na \fB\fBdevice.no_response\fR\fR .ad .RS 24n -.rt A leaf driver times out waiting for a response from the device. For example, timeouts can occur when no confirmation is seen after resetting, enabling, or disabling part of the device. @@ -105,47 +93,39 @@ disabling part of the device. .sp .ne 2 -.mk .na \fB\fBdevice.badint_limit\fR\fR .ad .RS 24n -.rt A leaf device sends too many consecutive interrupts with no work to do. .RE .sp .ne 2 -.mk .na \fB\fBdevice.intern_corr\fR\fR .ad .RS 24n -.rt A leaf device reports to the driver that it has itself detected an internal correctable error. .RE .sp .ne 2 -.mk .na \fB\fBdevice.intern_uncorr\fR\fR .ad .RS 24n -.rt A leaf device reports to the driver that it has itself detected an internal uncorrectable error. .RE .sp .ne 2 -.mk .na \fB\fBdevice.stall\fR\fR .ad .RS 24n -.rt A leaf driver determines that data transmission has stalled indefinitely. .RE @@ -200,13 +180,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_fm_handler_register.9f b/usr/src/man/man9f/ddi_fm_handler_register.9f index 0760c0b6bd..9a660cde27 100644 --- a/usr/src/man/man9f/ddi_fm_handler_register.9f +++ b/usr/src/man/man9f/ddi_fm_handler_register.9f @@ -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 ddi_fm_handler_register 9F "14 May 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_FM_HANDLER_REGISTER 9F "May 14, 2007" .SH NAME ddi_fm_handler_register, ddi_fm_handler_unregister \- register or unregister an error handling callback @@ -28,34 +28,28 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 17n -.rt Pointer to the \fBdev_info\fR structure .RE .sp .ne 2 -.mk .na \fB\fIerror_handler\fR\fR .ad .RS 17n -.rt Pointer to an error handler callback function .RE .sp .ne 2 -.mk .na \fB\fIimpl_data\fR\fR .ad .RS 17n -.rt Pointer to private data for use by the caller .RE @@ -194,13 +188,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_fm_init.9f b/usr/src/man/man9f/ddi_fm_init.9f index db34bf8b58..388ac0057f 100644 --- a/usr/src/man/man9f/ddi_fm_init.9f +++ b/usr/src/man/man9f/ddi_fm_init.9f @@ -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 ddi_fm_init 9F "14 May 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_FM_INIT 9F "May 14, 2007" .SH NAME ddi_fm_init, ddi_fm_fini, ddi_fm_capable \- initialize and get the FM capabilities for a device instance @@ -36,34 +36,28 @@ Solaris DDI specific (Solaris DDI) \fBddi_fm_init()\fR .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 17n -.rt Pointer to the \fBdev_info\fR structure .RE .sp .ne 2 -.mk .na \fB\fIfm_capability\fR\fR .ad .RS 17n -.rt Fault Management capability bit mask .RE .sp .ne 2 -.mk .na \fB\fIibcp\fR\fR .ad .RS 17n -.rt Pointer to where the interrupt block cookie should be returned. .RE @@ -77,60 +71,50 @@ the bitwise-inclusive-OR of the fault management capabilities, described in the following and supported by the driver's immediate nexus parent. .sp .ne 2 -.mk .na \fB\fBDDI_FM_NOT_CAPABLE\fR\fR .ad .RS 26n -.rt The driver does not support any \fBFMA\fR features. This is the default value assigned to device drivers. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FM_EREPORT_CAPABLE\fR\fR .ad .RS 26n -.rt The driver generates \fBFMA\fR protocol error events (\fBereports\fR) upon the detection of an error condition. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FM_ACCCHK_CAPABLE\fR\fR .ad .RS 26n -.rt The driver checks for errors upon the completion of one or more access \fBI/O\fR transactions. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FM_DMACHK_CAPABLE\fR\fR .ad .RS 26n -.rt The driver checks for errors upon the completion of one or more \fBDMA\fR \fBI/O\fR transactions. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FM_ERRCB_CAPABLE\fR\fR .ad .RS 26n -.rt The driver is capable of error handler callback registration. .RE @@ -152,24 +136,20 @@ property in its \fBdriver.conf\fR(4) file to the values described above. The \fBddi_fm_init()\fR with the desired capability list. .sp .ne 2 -.mk .na \fB\fBddi_fm_fini()\fR\fR .ad .RS 17n -.rt This function cleans up resources allocated to support fault management for the \fIdip\fR structure. .RE .sp .ne 2 -.mk .na \fB\fBddi_fm_capable()\fR\fR .ad .RS 20n -.rt This function returns the capability bit mask currently set for the \fIdip\fR structure. .RE @@ -187,13 +167,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_fm_service_impact.9f b/usr/src/man/man9f/ddi_fm_service_impact.9f index d013d06003..0a985b2992 100644 --- a/usr/src/man/man9f/ddi_fm_service_impact.9f +++ b/usr/src/man/man9f/ddi_fm_service_impact.9f @@ -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 ddi_fm_service_impact 9F "14 May 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_FM_SERVICE_IMPACT 9F "May 14, 2007" .SH NAME ddi_fm_service_impact \- report the impact of an error .SH SYNOPSIS @@ -21,23 +21,19 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 10n -.rt Pointer to the \fBdev_info\fR structure .RE .sp .ne 2 -.mk .na \fB\fIimpact\fR\fR .ad .RS 10n -.rt Impact of error .RE @@ -48,24 +44,20 @@ The following service impact values are accepted by \fBddi_fm_service_impact()\fR: .sp .ne 2 -.mk .na \fB\fBDDI_SERVICE_LOST\fR\fR .ad .RS 26n -.rt The service provided by the device is unavailable due to an error. The operational state of the device will transition to \fBDEVI_DEVICE_DOWN\fR. .RE .sp .ne 2 -.mk .na \fB\fBDDI_SERVICE_DEGRADED\fR\fR .ad .RS 26n -.rt The driver is unable to provide normal service, but it can provide a partial or degraded level of service. The driver might have to make repeated attempts to perform an operation before it succeeds, or it may be running at less than its @@ -77,12 +69,10 @@ alternative exists. The operational state of the device will transition to .sp .ne 2 -.mk .na \fB\fBDDI_SERVICE_RESTORED\fR\fR .ad .RS 26n -.rt The service provided by the device has been restored. The operational state of the device will transition to its pre-error condition state and \fBDEVI_DEVICE_DOWN\fR or \fBDEVI_DEVICE_DEGRADED\fR is removed. @@ -90,12 +80,10 @@ the device will transition to its pre-error condition state and .sp .ne 2 -.mk .na \fB\fBDDI_SERVICE_UNAFFECTED\fR\fR .ad .RS 26n -.rt The service provided by the device was unaffected by the error. .RE @@ -112,13 +100,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_get8.9f b/usr/src/man/man9f/ddi_get8.9f index 8ca84c60fb..4c979e6612 100644 --- a/usr/src/man/man9f/ddi_get8.9f +++ b/usr/src/man/man9f/ddi_get8.9f @@ -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 ddi_get8 9F "1 Nov 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_GET8 9F "Nov 1, 2005" .SH NAME ddi_get8, ddi_get16, ddi_get32, ddi_get64, ddi_getb, ddi_getw, ddi_getl, ddi_getll \- read data from the mapped memory address, device register or @@ -11,7 +11,7 @@ allocated DMA memory address .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> @@ -45,24 +45,20 @@ function replaces \fBddi_getl()\fR. The \fBddi_get64()\fR function replaces .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 12n -.rt The data access handle returned from setup calls, such as \fBddi_regs_map_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIdev_addr\fR\fR .ad .RS 12n -.rt Base device address. .RE @@ -101,13 +97,12 @@ 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 StabilityT{ +Interface Stability T{ \fBddi_getb()\fR, \fBddi_getl()\fR, \fBddi_getll()\fR, and \fBddi_getw()\fR are Obsolete; \fBddi_get8()\fR, \fBddi_get16()\fR, \fBddi_get32()\fR, \fBddi_get64()\fR are Committed T} .TE diff --git a/usr/src/man/man9f/ddi_get_cred.9f b/usr/src/man/man9f/ddi_get_cred.9f index b6bcabd280..efbb7a619f 100644 --- a/usr/src/man/man9f/ddi_get_cred.9f +++ b/usr/src/man/man9f/ddi_get_cred.9f @@ -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 ddi_get_cred 9F "11 Apr 1991" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_GET_CRED 9F "Apr 11, 1991" .SH NAME ddi_get_cred \- returns a pointer to the credential structure of the caller .SH SYNOPSIS diff --git a/usr/src/man/man9f/ddi_get_devstate.9f b/usr/src/man/man9f/ddi_get_devstate.9f index b19ce5ba8c..b0ddec0c67 100644 --- a/usr/src/man/man9f/ddi_get_devstate.9f +++ b/usr/src/man/man9f/ddi_get_devstate.9f @@ -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 ddi_get_devstate 9F "13 August 1999" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_GET_DEVSTATE 9F "Aug 13, 1999" .SH NAME ddi_get_devstate \- Check device state .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> \fBddi_devstate_t\fR \fBddi_get_devstate\fR(\fBdev_info_t *\fR\fIdip\fR); @@ -22,12 +22,10 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR \fR .ad .RS 8n -.rt Pointer to the device's \fBdev_info\fR structure .RE @@ -41,12 +39,10 @@ and any fault reports relating to it. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_DEVSTATE_OFFLINE\fR\fR .ad .RS 25n -.rt The device is offline. In this state, the device driver is not attached, nor will it be attached automatically. The device cannot be used until it is brought online. @@ -54,23 +50,19 @@ brought online. .sp .ne 2 -.mk .na \fB\fBDDI_DEVSTATE_DOWN\fR\fR .ad .RS 25n -.rt The device is online but unusable due to a fault. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DEVSTATE_QUIESCED\fR\fR .ad .RS 25n -.rt The bus on which the device resides has been quiesced. This is not a fault, but no operations on the device should be performed while the bus remains quiesced. @@ -78,24 +70,20 @@ quiesced. .sp .ne 2 -.mk .na \fB\fBDDI_DEVSTATE_DEGRADED\fR\fR .ad .RS 25n -.rt The device is online but only able to provide a partial or degraded service, due to a fault. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DEVSTATE_UP\fR\fR .ad .RS 25n -.rt The device is online and fully operational. .RE diff --git a/usr/src/man/man9f/ddi_get_driver_private.9f b/usr/src/man/man9f/ddi_get_driver_private.9f index 0ba0f9fdd1..967703fe0a 100644 --- a/usr/src/man/man9f/ddi_get_driver_private.9f +++ b/usr/src/man/man9f/ddi_get_driver_private.9f @@ -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 ddi_get_driver_private 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_GET_DRIVER_PRIVATE 9F "Jan 16, 2006" .SH NAME ddi_get_driver_private, ddi_set_driver_private \- get or set the address of the device's private data area @@ -34,12 +34,10 @@ Solaris DDI specific (Solaris DDI). \fBddi_get_driver_private()\fR .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt Pointer to device information structure to get from. .RE @@ -48,23 +46,19 @@ Pointer to device information structure to get from. \fBddi_set_driver_private()\fR .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 8n -.rt Pointer to device information structure to set. .RE .sp .ne 2 -.mk .na \fB\fIdata\fR\fR .ad .RS 8n -.rt Data area address to set. .RE diff --git a/usr/src/man/man9f/ddi_get_eventcookie.9f b/usr/src/man/man9f/ddi_get_eventcookie.9f index 9b2edc05a7..5bf9a62dc4 100644 --- a/usr/src/man/man9f/ddi_get_eventcookie.9f +++ b/usr/src/man/man9f/ddi_get_eventcookie.9f @@ -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 ddi_get_eventcookie 9F "6 Nov 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_GET_EVENTCOOKIE 9F "Nov 6, 2003" .SH NAME ddi_get_eventcookie \- retrieve a NDI event service cookie handle .SH SYNOPSIS @@ -12,7 +12,7 @@ ddi_get_eventcookie \- retrieve a NDI event service cookie handle #include <sys/dditypes.h> #include <sys/sunddi.h> -\fBint\fR \fBddi_get_eventcookie\fR(\fBdev_info_t *\fR\fIdip\fR, \fBchar *\fR\fIname\fR, +\fBint\fR \fBddi_get_eventcookie\fR(\fBdev_info_t *\fR\fIdip\fR, \fBchar *\fR\fIname\fR, \fBddi_eventcookie_t *\fR\fIevent_cookiep\fR); .fi @@ -23,7 +23,6 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fBdev_info_t *\fR\fIdip\fR\fR .ad @@ -34,7 +33,6 @@ Child device node requesting the cookie. .sp .ne 2 -.mk .na \fB\fBchar *\fR\fIname\fR\fR .ad @@ -45,7 +43,6 @@ NULL-terminated string containing the name of the event. .sp .ne 2 -.mk .na \fB\fBddi_eventcookie_t *\fR\fIevent_cookiep\fR\fR .ad @@ -69,23 +66,19 @@ handler, unregister a callback handler, or post an event. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Cookie handle is returned. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Request was not serviceable by any nexus driver in the driver's ancestral device tree hierarchy. .RE @@ -103,13 +96,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_get_instance.9f b/usr/src/man/man9f/ddi_get_instance.9f index 0883d0debb..a2d096f39f 100644 --- a/usr/src/man/man9f/ddi_get_instance.9f +++ b/usr/src/man/man9f/ddi_get_instance.9f @@ -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 ddi_get_instance 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_GET_INSTANCE 9F "Jan 16, 2006" .SH NAME ddi_get_instance \- get device instance number .SH SYNOPSIS @@ -24,12 +24,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt Pointer to \fBdev_info\fR structure. .RE diff --git a/usr/src/man/man9f/ddi_get_kt_did.9f b/usr/src/man/man9f/ddi_get_kt_did.9f index 0544e3a4f8..bb54383981 100644 --- a/usr/src/man/man9f/ddi_get_kt_did.9f +++ b/usr/src/man/man9f/ddi_get_kt_did.9f @@ -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 ddi_get_kt_did 9F "15 May 2001" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_GET_KT_DID 9F "May 15, 2001" .SH NAME ddi_get_kt_did \- get identifier of current thread .SH SYNOPSIS diff --git a/usr/src/man/man9f/ddi_get_lbolt.9f b/usr/src/man/man9f/ddi_get_lbolt.9f index 12b09992e1..250fbbe20c 100644 --- a/usr/src/man/man9f/ddi_get_lbolt.9f +++ b/usr/src/man/man9f/ddi_get_lbolt.9f @@ -4,7 +4,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 ddi_get_lbolt 9F "18 Feb 1998" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_GET_LBOLT 9F "Feb 18, 1998" .SH NAME ddi_get_lbolt \- returns the value of lbolt .SH SYNOPSIS diff --git a/usr/src/man/man9f/ddi_get_parent.9f b/usr/src/man/man9f/ddi_get_parent.9f index 9ced039d7b..149bd37f99 100644 --- a/usr/src/man/man9f/ddi_get_parent.9f +++ b/usr/src/man/man9f/ddi_get_parent.9f @@ -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 ddi_get_parent 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_GET_PARENT 9F "Jan 16, 2006" .SH NAME ddi_get_parent \- find the parent of a device information structure .SH SYNOPSIS @@ -24,12 +24,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt Pointer to a device information structure. .RE diff --git a/usr/src/man/man9f/ddi_get_pid.9f b/usr/src/man/man9f/ddi_get_pid.9f index c81f516158..0e9b518767 100644 --- a/usr/src/man/man9f/ddi_get_pid.9f +++ b/usr/src/man/man9f/ddi_get_pid.9f @@ -4,7 +4,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 ddi_get_pid 9F "18 Feb 1998" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_GET_PID 9F "Feb 18, 1998" .SH NAME ddi_get_pid \- returns the process \fBID\fR .SH SYNOPSIS diff --git a/usr/src/man/man9f/ddi_get_time.9f b/usr/src/man/man9f/ddi_get_time.9f index 965dea20ee..98cf61de0e 100644 --- a/usr/src/man/man9f/ddi_get_time.9f +++ b/usr/src/man/man9f/ddi_get_time.9f @@ -4,7 +4,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 ddi_get_time 9F "18 Feb 1998" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_GET_TIME 9F "Feb 18, 1998" .SH NAME ddi_get_time \- returns the current time in seconds .SH SYNOPSIS diff --git a/usr/src/man/man9f/ddi_getiminor.9f b/usr/src/man/man9f/ddi_getiminor.9f index 13b5cd7288..41737f6691 100644 --- a/usr/src/man/man9f/ddi_getiminor.9f +++ b/usr/src/man/man9f/ddi_getiminor.9f @@ -4,7 +4,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 ddi_getiminor 9F "18 Nov 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_GETIMINOR 9F "Nov 18, 2004" .SH NAME ddi_getiminor \- get kernel internal minor number from an external dev_t .SH SYNOPSIS @@ -29,12 +29,10 @@ This interface is obsolete. \fBgetminor\fR(9F) should be used instead. The following parameters are supported: .sp .ne 2 -.mk .na \fB\fIdev\fR\fR .ad .RS 7n -.rt Device number. .RE @@ -71,13 +69,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_in_panic.9f b/usr/src/man/man9f/ddi_in_panic.9f index 8f021af385..bdbbfd69e2 100644 --- a/usr/src/man/man9f/ddi_in_panic.9f +++ b/usr/src/man/man9f/ddi_in_panic.9f @@ -4,7 +4,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 ddi_in_panic 9F "23 Jun 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_IN_PANIC 9F "Jun 23, 1997" .SH NAME ddi_in_panic \- determine if system is in panic state .SH SYNOPSIS diff --git a/usr/src/man/man9f/ddi_intr_add_handler.9f b/usr/src/man/man9f/ddi_intr_add_handler.9f index 9326ed69cf..37f54a8adc 100644 --- a/usr/src/man/man9f/ddi_intr_add_handler.9f +++ b/usr/src/man/man9f/ddi_intr_add_handler.9f @@ -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 ddi_intr_add_handler 9F "22 Apr 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_INTR_ADD_HANDLER 9F "Apr 22, 2005" .SH NAME ddi_intr_add_handler, ddi_intr_remove_handler \- add or remove interrupt handler @@ -17,7 +17,7 @@ handler -\fBint\fR \fBddi_intr_add_handler\fR(\fBddi_intr_handle_t *\fR\fIh\fR, +\fBint\fR \fBddi_intr_add_handler\fR(\fBddi_intr_handle_t *\fR\fIh\fR, \fBddi_intr_handler_t\fR \fIinthandler\fR, \fBvoid *\fR\fIarg1\fR, \fBvoid *\fR\fIarg2\fR); .fi @@ -37,45 +37,37 @@ Solaris DDI specific (Solaris DDI). \fBddi_intr_add_handler()\fR .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 14n -.rt Pointer to the DDI interrupt handle .RE .sp .ne 2 -.mk .na \fB\fIinthandler\fR\fR .ad .RS 14n -.rt Pointer to interrupt handler .RE .sp .ne 2 -.mk .na \fB\fIarg1\fR\fR .ad .RS 14n -.rt First argument for the interrupt handler .RE .sp .ne 2 -.mk .na \fB\fIarg2\fR\fR .ad .RS 14n -.rt Second, optional, argument for the interrupt handler .RE @@ -84,12 +76,10 @@ Second, optional, argument for the interrupt handler \fBddi_intr_remove_handler()\fR .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 5n -.rt DDI interrupt handle .RE @@ -138,34 +128,28 @@ The \fBddi_intr_add_handler()\fR and \fBddi_intr_remove_handler()\fR functions return: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_EINVAL\fR\fR .ad .RS 15n -.rt On encountering invalid input parameters. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt On any implementation specific failure. .RE @@ -182,13 +166,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_intr_add_softint.9f b/usr/src/man/man9f/ddi_intr_add_softint.9f index 169f3e0dce..7ffbf122e2 100644 --- a/usr/src/man/man9f/ddi_intr_add_softint.9f +++ b/usr/src/man/man9f/ddi_intr_add_softint.9f @@ -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 ddi_intr_add_softint 9F "16 Oct 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_INTR_ADD_SOFTINT 9F "Oct 16, 2005" .SH NAME ddi_intr_add_softint, ddi_intr_remove_softint, ddi_intr_trigger_softint, ddi_intr_get_softint_pri, ddi_intr_set_softint_pri \- software interrupt @@ -18,8 +18,8 @@ handling routines -\fBint\fR \fBddi_intr_add_softint\fR(\fBdev_info_t *\fR\fIdip\fR, - \fBddi_softint_handle_t *\fR\fIh\fR, \fBint\fR \fIsoft_pri\fR, +\fBint\fR \fBddi_intr_add_softint\fR(\fBdev_info_t *\fR\fIdip\fR, + \fBddi_softint_handle_t *\fR\fIh\fR, \fBint\fR \fIsoft_pri\fR, \fBddi_intr_handler_t\fR \fIhandler\fR, \fBvoid *\fR\fIarg1\fR); .fi @@ -56,56 +56,46 @@ Solaris DDI specific (Solaris DDI). \fBddi_intr_add_softint()\fR .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 12n -.rt Pointer to a \fBdev_info\fR structure .RE .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 12n -.rt Pointer to the DDI soft interrupt handle .RE .sp .ne 2 -.mk .na \fB\fIsoft_pri\fR\fR .ad .RS 12n -.rt Priority to associate with a soft interrupt .RE .sp .ne 2 -.mk .na \fB\fIhandler\fR\fR .ad .RS 12n -.rt Pointer to soft interrupt handler .RE .sp .ne 2 -.mk .na \fB\fIarg1\fR\fR .ad .RS 12n -.rt Argument for the soft interrupt handler .RE @@ -114,23 +104,19 @@ Argument for the soft interrupt handler \fBddi_intr_trigger_softint()\fR .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 8n -.rt DDI soft interrupt handle .RE .sp .ne 2 -.mk .na \fB\fIarg2\fR\fR .ad .RS 8n -.rt Additional argument for the soft interrupt handler .RE @@ -139,12 +125,10 @@ Additional argument for the soft interrupt handler \fBddi_intr_remove_softint()\fR .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 5n -.rt DDI soft interrupt handle .RE @@ -153,23 +137,19 @@ DDI soft interrupt handle \fBddi_intr_get_softint_pri()\fR .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 13n -.rt DDI soft interrupt handle .RE .sp .ne 2 -.mk .na \fB\fIsoft_prip\fR\fR .ad .RS 13n -.rt Soft interrupt priority of the handle .RE @@ -178,23 +158,19 @@ Soft interrupt priority of the handle \fBddi_intr_set_softint_pri()\fR .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 13n -.rt DDI soft interrupt handle .RE .sp .ne 2 -.mk .na \fB\fIsoft_prip\fR\fR .ad .RS 13n -.rt Soft interrupt priority of the handle .RE @@ -271,56 +247,46 @@ The \fBddi_intr_add_softint()\fR, \fBddi_intr_remove_softint()\fR, \fBddi_intr_set_softint_pri()\fR functions return: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 16n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_EAGAIN\fR\fR .ad .RS 16n -.rt On encountering internal error regarding currently unavailable resources. .RE .sp .ne 2 -.mk .na \fB\fBDDI_EINVAL\fR\fR .ad .RS 16n -.rt On encountering invalid input parameters. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 16n -.rt On any implementation specific failure. .RE .sp .ne 2 -.mk .na \fB\fBDDI_EPENDING\fR\fR .ad .RS 16n -.rt On encountering a previously triggered softint event that is pending. .RE @@ -530,13 +496,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_intr_alloc.9f b/usr/src/man/man9f/ddi_intr_alloc.9f index 069b1428cd..a8829831e7 100644 --- a/usr/src/man/man9f/ddi_intr_alloc.9f +++ b/usr/src/man/man9f/ddi_intr_alloc.9f @@ -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 ddi_intr_alloc 9F "23 Apr 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_INTR_ALLOC 9F "Apr 23, 2008" .SH NAME ddi_intr_alloc, ddi_intr_free \- allocate or free interrupts for a given interrupt type @@ -34,56 +34,46 @@ Solaris DDI specific (Solaris DDI). \fBddi_intr_alloc()\fR .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 12n -.rt Pointer to the \fBdev_info\fR structure .RE .sp .ne 2 -.mk .na \fB\fIh_array\fR\fR .ad .RS 12n -.rt Pointer to an array of DDI interrupt handles .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 12n -.rt Interrupt type .RE .sp .ne 2 -.mk .na \fB\fIinum\fR\fR .ad .RS 12n -.rt Interrupt number .RE .sp .ne 2 -.mk .na \fB\fIcount\fR\fR .ad .RS 12n -.rt Number of interrupts requested. The \fIcount\fR should not exceed the total number of interrupts supported by the device, as returned by a call to \fBddi_intr_get_nintrs\fR(9F). @@ -91,23 +81,19 @@ number of interrupts supported by the device, as returned by a call to .sp .ne 2 -.mk .na \fB\fIactualp\fR\fR .ad .RS 12n -.rt Pointer to the number of interrupts actually allocated .RE .sp .ne 2 -.mk .na \fB\fIbehavior\fR\fR .ad .RS 12n -.rt Flag to determine the allocation algorithm .RE @@ -116,12 +102,10 @@ Flag to determine the allocation algorithm \fBddi_intr_free()\fR .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 5n -.rt DDI interrupt handle .RE @@ -184,56 +168,46 @@ handle array. The \fBddi_intr_alloc()\fR and \fBddi_intr_free()\fR functions return: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 21n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_EAGAIN\fR\fR .ad .RS 21n -.rt Not enough interrupt resources. .RE .sp .ne 2 -.mk .na \fB\fBDDI_EINVAL\fR\fR .ad .RS 21n -.rt On encountering invalid input parameters. .RE .sp .ne 2 -.mk .na \fB\fBDDI_INTR_NOTFOUND\fR\fR .ad .RS 21n -.rt On failure to find the interrupt. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 21n -.rt On any implementation specific failure. .RE @@ -250,13 +224,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_intr_dup_handler.9f b/usr/src/man/man9f/ddi_intr_dup_handler.9f index 26618f16e2..0015714550 100644 --- a/usr/src/man/man9f/ddi_intr_dup_handler.9f +++ b/usr/src/man/man9f/ddi_intr_dup_handler.9f @@ -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 ddi_intr_dup_handler 9F "09 May 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_INTR_DUP_HANDLER 9F "May 09, 2006" .SH NAME ddi_intr_dup_handler \- reuse interrupt handler and arguments for MSI-X interrupts @@ -15,7 +15,7 @@ interrupts #include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBddi_intr_dup_handler\fR(\fBddi_intr_handle_t\fR \fIprimary\fR, \fBint\fR \fIvector\fR, +\fBint\fR \fBddi_intr_dup_handler\fR(\fBddi_intr_handle_t\fR \fIprimary\fR, \fBint\fR \fIvector\fR, \fBddi_intr_handle_t *\fR\fInew\fR); .fi @@ -26,34 +26,28 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIprimary\fR\fR .ad .RS 11n -.rt Original DDI interrupt handle .RE .sp .ne 2 -.mk .na \fB\fIvector\fR\fR .ad .RS 11n -.rt Interrupt number to duplicate .RE .sp .ne 2 -.mk .na \fB\fInew\fR\fR .ad .RS 11n -.rt Pointer to new DDI interrupt handle .RE @@ -113,12 +107,10 @@ See the EXAMPLES section for code that illustrates the use of the The \fBddi_intr_dup_handler()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt On success. .sp Note that the interface should be verified to ensure that the return value is @@ -128,12 +120,10 @@ result in inconsistent behavior among platforms. .sp .ne 2 -.mk .na \fB\fBDDI_EINVAL\fR\fR .ad .RS 15n -.rt On encountering invalid input parameters. \fBDDI_EINVAL\fR is also returned if a dup is attempted from a dup-ed interrupt or if the hardware device is found not to support MSI-X interrupts. @@ -141,12 +131,10 @@ not to support MSI-X interrupts. .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt On any implementation specific failure. .RE @@ -234,7 +222,7 @@ add_msix_interrupts(intr_state_t *state) (void) ddi_intr_disable(state->intr_htable[y]); (void) ddi_intr_free(state->intr_htable[y]); } - + goto error2; } } @@ -255,7 +243,7 @@ remove_msix_interrupts(intr_state_t *state) { int x; - /* + /* * Disable all the handles and free the dup-ed handles * before we can remove the main MSI-X interrupt handle. */ @@ -290,13 +278,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_intr_enable.9f b/usr/src/man/man9f/ddi_intr_enable.9f index 550c4d9a70..1ddad705e0 100644 --- a/usr/src/man/man9f/ddi_intr_enable.9f +++ b/usr/src/man/man9f/ddi_intr_enable.9f @@ -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 ddi_intr_enable 9F "22 Apr 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_INTR_ENABLE 9F "Apr 22, 2005" .SH NAME ddi_intr_enable, ddi_intr_block_enable, ddi_intr_disable, ddi_intr_block_disable \- enable or disable a given interrupt or range of @@ -46,12 +46,10 @@ Solaris DDI specific (Solaris DDI). \fBddi_intr_enable()\fR .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 5n -.rt DDI interrupt handle .RE @@ -60,23 +58,19 @@ DDI interrupt handle \fBddi_intr_block_enable()\fR .sp .ne 2 -.mk .na \fB\fIh_array\fR\fR .ad .RS 11n -.rt Pointer to an array of DDI interrupt handles .RE .sp .ne 2 -.mk .na \fB\fIcount\fR\fR .ad .RS 11n -.rt Number of interrupts .RE @@ -85,12 +79,10 @@ Number of interrupts \fBddi_intr_disable()\fR .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 5n -.rt DDI interrupt handle .RE @@ -99,23 +91,19 @@ DDI interrupt handle \fBddi_intr_block_disable()\fR .sp .ne 2 -.mk .na \fB\fIh_array\fR\fR .ad .RS 11n -.rt Pointer to an array of DDI interrupt handles .RE .sp .ne 2 -.mk .na \fB\fIcount\fR\fR .ad .RS 11n -.rt Number of interrupts .RE @@ -184,34 +172,28 @@ The \fBddi_intr_enable()\fR, \fBddi_intr_block_enable()\fR, \fBddi_intr_disable()\fR, and \fBddi_intr_block_disable()\fR functions return: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_EINVAL\fR\fR .ad .RS 15n -.rt On encountering invalid input parameters. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt On any implementation specific failure. .RE @@ -229,13 +211,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_intr_get_cap.9f b/usr/src/man/man9f/ddi_intr_get_cap.9f index 4f01280e67..605ae5339e 100644 --- a/usr/src/man/man9f/ddi_intr_get_cap.9f +++ b/usr/src/man/man9f/ddi_intr_get_cap.9f @@ -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 ddi_intr_get_cap 9F "20 Apr 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_INTR_GET_CAP 9F "Apr 20, 2005" .SH NAME ddi_intr_get_cap, ddi_intr_set_cap \- get or set interrupt capabilities for a given interrupt type @@ -33,23 +33,19 @@ Solaris DDI specific (Solaris DDI). \fBddi_intr_get_cap()\fR .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 10n -.rt DDI interrupt handle .RE .sp .ne 2 -.mk .na \fB\fIflagsp\fR\fR .ad .RS 10n -.rt Pointer to the capability flags returned for this handle .RE @@ -58,23 +54,19 @@ Pointer to the capability flags returned for this handle \fBddi_intr_set_cap()\fR .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 9n -.rt DDI interrupt handle .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 9n -.rt Contains the capability flag to be set .RE @@ -89,12 +81,10 @@ returned in the integer pointed to by the \fIflagsp\fR argument. These flags are typically combinations of the following: .sp .ne 2 -.mk .na \fB\fBDDI_INTR_FLAG_EDGE\fR\fR .ad .RS 26n -.rt For discrete interrupts, the host supports \fBedge\fR type of trigger. This flag is not returned for \fBDDI_INTR_TYPE_MSI\fR or \fBDDI_INTR_TYPE_MSIX\fR interrupt types. This is a read-write (RW) flag. @@ -102,12 +92,10 @@ interrupt types. This is a read-write (RW) flag. .sp .ne 2 -.mk .na \fB\fBDDI_INTR_FLAG_LEVEL\fR\fR .ad .RS 26n -.rt For discrete interrupts the host supports \fBlevel\fR, \fBedge\fR, or both types of triggers. This flag is not returned for \fBDDI_INTR_TYPE_MSI\fR or \fBDDI_INTR_TYPE_MSIX\fR interrupt types. @@ -115,36 +103,30 @@ types of triggers. This flag is not returned for \fBDDI_INTR_TYPE_MSI\fR or .sp .ne 2 -.mk .na \fB\fBDDI_INTR_FLAG_MASKABLE\fR\fR .ad .RS 26n -.rt The interrupt can be masked either by the device or by the host bridge, or optionally by the host. This is a read-only (\fBRO\fR) flag. .RE .sp .ne 2 -.mk .na \fB\fBDDI_INTR_FLAG_PENDING\fR\fR .ad .RS 26n -.rt The interrupt supports an interrupt pending bit. This is a read-only (\fBRO\fR) flag. .RE .sp .ne 2 -.mk .na \fB\fBDDI_INTR_FLAG_BLOCK\fR\fR .ad .RS 26n -.rt All interrupts of the given type must be block-enabled and are not individually maskable. This is a read-only (\fBRO\fR) flag. .RE @@ -167,45 +149,37 @@ returns failure. The \fBddi_intr_get_cap()\fR and \fBddi_intr_set_cap()\fR functions return: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_EINVAL\fR\fR .ad .RS 15n -.rt On encountering invalid input parameters. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt On any implementation specific failure. .RE .sp .ne 2 -.mk .na \fB\fBDDI_ENOTSUP\fR\fR .ad .RS 15n -.rt On device not supporting operation. .RE @@ -222,13 +196,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_intr_get_hilevel_pri.9f b/usr/src/man/man9f/ddi_intr_get_hilevel_pri.9f index 2edc8bba4b..0c4df24099 100644 --- a/usr/src/man/man9f/ddi_intr_get_hilevel_pri.9f +++ b/usr/src/man/man9f/ddi_intr_get_hilevel_pri.9f @@ -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 ddi_intr_get_hilevel_pri 9F "07 Apr 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_INTR_GET_HILEVEL_PRI 9F "Apr 07, 2005" .SH NAME ddi_intr_get_hilevel_pri \- get minimum priority level for a high-level interrupt @@ -73,13 +73,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_intr_get_nintrs.9f b/usr/src/man/man9f/ddi_intr_get_nintrs.9f index da8f72d885..4cc7d0cdb1 100644 --- a/usr/src/man/man9f/ddi_intr_get_nintrs.9f +++ b/usr/src/man/man9f/ddi_intr_get_nintrs.9f @@ -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 ddi_intr_get_nintrs 9F "13 November 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_INTR_GET_NINTRS 9F "Nov 13, 2006" .SH NAME ddi_intr_get_nintrs, ddi_intr_get_navail \- return number of interrupts supported or available for a given interrupt type @@ -33,34 +33,28 @@ Solaris DDI specific (Solaris DDI). \fBddi_intr_get_nintrs()\fR .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 11n -.rt Pointer to \fBdev_info\fR structure .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 11n -.rt Interrupt type .RE .sp .ne 2 -.mk .na \fB\fInintrsp\fR\fR .ad .RS 11n -.rt Pointer to number of interrupts of the given type that are supported by the system .RE @@ -70,34 +64,28 @@ system \fBddi_intr_get_navail()\fR .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 11n -.rt Pointer to \fBdev_info\fR structure .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 11n -.rt Interrupt type .RE .sp .ne 2 -.mk .na \fB\fInavailp\fR\fR .ad .RS 11n -.rt Pointer to number of interrupts of the given type that are currently available from the system .RE @@ -139,45 +127,37 @@ The \fBddi_intr_get_nintrs()\fR and \fBddi_intr_get_navail()\fR functions return: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 21n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_EINVAL\fR\fR .ad .RS 21n -.rt On encountering invalid input parameters. .RE .sp .ne 2 -.mk .na \fB\fBDDI_INTR_NOTFOUND\fR\fR .ad .RS 21n -.rt On not finding any interrupts for the given interrupt type. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 21n -.rt On any implementation specific failure. .RE @@ -194,13 +174,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_intr_get_pending.9f b/usr/src/man/man9f/ddi_intr_get_pending.9f index fcce848eb9..6fca6effae 100644 --- a/usr/src/man/man9f/ddi_intr_get_pending.9f +++ b/usr/src/man/man9f/ddi_intr_get_pending.9f @@ -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 ddi_intr_get_pending 9F "07Apr 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_INTR_GET_PENDING 9F "Apr 7, 2005" .SH NAME ddi_intr_get_pending \- get pending bit for a given interrupt .SH SYNOPSIS @@ -24,23 +24,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 12n -.rt DDI interrupt handle .RE .sp .ne 2 -.mk .na \fB\fIpendingp\fR\fR .ad .RS 12n -.rt Pointer to the pending capability returned for this handle .RE @@ -65,45 +61,37 @@ If the \fBDDI_INTR_FLAG_PENDING\fR capability is not supported, The \fBddi_intr_get_pending()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_EINVAL\fR\fR .ad .RS 15n -.rt On encountering invalid input parameters. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt On any implementation specific failure. .RE .sp .ne 2 -.mk .na \fB\fBDDI_ENOTSUP\fR\fR .ad .RS 15n -.rt On device not supporting operation. .RE @@ -120,13 +108,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_intr_get_pri.9f b/usr/src/man/man9f/ddi_intr_get_pri.9f index d5392bb981..e1753b64b8 100644 --- a/usr/src/man/man9f/ddi_intr_get_pri.9f +++ b/usr/src/man/man9f/ddi_intr_get_pri.9f @@ -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 ddi_intr_get_pri 9F "04 Jun 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_INTR_GET_PRI 9F "Jun 04, 2007" .SH NAME ddi_intr_get_pri, ddi_intr_set_pri \- get or set priority of a given interrupt .SH SYNOPSIS @@ -32,23 +32,19 @@ Solaris DDI specific (Solaris DDI). \fBddi_intr_get_pri()\fR .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 8n -.rt DDI interrupt handle .RE .sp .ne 2 -.mk .na \fB\fIprip\fR\fR .ad .RS 8n -.rt Pointer to the priority returned for this handle .RE @@ -57,23 +53,19 @@ Pointer to the priority returned for this handle \fBddi_intr_set_pri()\fR .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 7n -.rt DDI interrupt handle .RE .sp .ne 2 -.mk .na \fB\fIpri\fR\fR .ad .RS 7n -.rt Contains the priority to be set .RE @@ -110,45 +102,37 @@ is returned in all other cases. The \fBddi_intr_get_pri()\fR and \fBddi_intr_set_pri()\fR functions return: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_EINVAL\fR\fR .ad .RS 15n -.rt On encountering invalid input parameters. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt On any implementation specific failure. .RE .sp .ne 2 -.mk .na \fB\fBDDI_ENOTSUP\fR\fR .ad .RS 15n -.rt On device not supporting operation. .RE @@ -165,13 +149,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_intr_get_supported_types.9f b/usr/src/man/man9f/ddi_intr_get_supported_types.9f index e16f361e6c..fcb94260ce 100644 --- a/usr/src/man/man9f/ddi_intr_get_supported_types.9f +++ b/usr/src/man/man9f/ddi_intr_get_supported_types.9f @@ -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 ddi_intr_get_supported_types 9F "07 Apr 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_INTR_GET_SUPPORTED_TYPES 9F "Apr 07, 2005" .SH NAME ddi_intr_get_supported_types \- return information on supported hardware interrupt types @@ -25,23 +25,19 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 10n -.rt Pointer to \fBdev_info\fR structure .RE .sp .ne 2 -.mk .na \fB\fItypesp\fR\fR .ad .RS 10n -.rt Pointer to supported interrupt types .RE @@ -70,34 +66,28 @@ interrupts. The \fBddi_intr_get_supported_types()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 21n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_EINVAL\fR\fR .ad .RS 21n -.rt On encountering invalid input parameters. .RE .sp .ne 2 -.mk .na \fB\fBDDI_INTR_NOTFOUND\fR\fR .ad .RS 21n -.rt Returned when the hardware device is found not to support any hardware interrupts. .RE @@ -115,13 +105,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_intr_hilevel.9f b/usr/src/man/man9f/ddi_intr_hilevel.9f index 165e70bdcf..35e1fa772c 100644 --- a/usr/src/man/man9f/ddi_intr_hilevel.9f +++ b/usr/src/man/man9f/ddi_intr_hilevel.9f @@ -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 ddi_intr_hilevel 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_INTR_HILEVEL 9F "Jan 16, 2006" .SH NAME ddi_intr_hilevel \- indicate interrupt handler type .SH SYNOPSIS @@ -26,23 +26,19 @@ Drivers\fR for more information. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 11n -.rt Pointer to \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIinumber\fR\fR .ad .RS 11n -.rt Interrupt number. .RE @@ -78,12 +74,10 @@ level) and on other machines they are not. .SH RETURN VALUES .sp .ne 2 -.mk .na \fBnon-zero\fR .ad .RS 12n -.rt indicates a high-level interrupt. .RE @@ -99,13 +93,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_intr_set_mask.9f b/usr/src/man/man9f/ddi_intr_set_mask.9f index 315e79170e..035b5ca768 100644 --- a/usr/src/man/man9f/ddi_intr_set_mask.9f +++ b/usr/src/man/man9f/ddi_intr_set_mask.9f @@ -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 ddi_intr_set_mask 9F "05 Apri 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_INTR_SET_MASK 9F "Apr 05, 2006" .SH NAME ddi_intr_set_mask, ddi_intr_clr_mask \- set or clear mask for a given interrupt .SH SYNOPSIS @@ -29,12 +29,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIh\fR\fR .ad .RS 5n -.rt DDI interrupt handle .RE @@ -69,45 +67,37 @@ preceded by a call to \fBddi_intr_set_mask()\fR. It is not necessary to call The \fBddi_intr_set_mask()\fR and \fBddi_intr_clr_mask()\fR functions return: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_EINVAL\fR\fR .ad .RS 15n -.rt On encountering invalid input parameters or when an interrupt is not enabled. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt On any implementation specific failure. .RE .sp .ne 2 -.mk .na \fB\fBDDI_ENOTSUP\fR\fR .ad .RS 15n -.rt On device not supporting operation. .RE @@ -124,13 +114,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_intr_set_nreq.9f b/usr/src/man/man9f/ddi_intr_set_nreq.9f index 1b9ebb4979..7064e9c675 100644 --- a/usr/src/man/man9f/ddi_intr_set_nreq.9f +++ b/usr/src/man/man9f/ddi_intr_set_nreq.9f @@ -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 ddi_intr_set_nreq 9F "5 Jan 2009" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_INTR_SET_NREQ 9F "Jan 5, 2009" .SH NAME ddi_intr_set_nreq \- set the number of interrupts requested for a device driver instance .SH SYNOPSIS .LP .nf -#include <sys/ddi_intr.h> +#include <sys/ddi_intr.h> @@ -24,23 +24,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 8n -.rt Pointer to the \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fInreq\fR\fR .ad .RS 8n -.rt Number of interrupts requested. .RE @@ -77,46 +73,38 @@ functionality. The \fBddi_intr_set_nreq()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt on success .RE .sp .ne 2 -.mk .na \fB\fBDDI_EINVAL\fR\fR .ad .RS 15n -.rt The operation is invalid because the \fInreq\fR parameter is not a legal value .RE .sp .ne 2 -.mk .na \fB\fBDDI_ENOTSUP\fR\fR .ad .RS 15n -.rt The operation is not supported. The driver must have a registered callback, and the system must have interrupt pools implemented. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Implementation specific failure .RE @@ -132,15 +120,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 StabilityPrivate +Interface Stability Private _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_io_get8.9f b/usr/src/man/man9f/ddi_io_get8.9f index 7e5f2c12b6..e5557a5ff2 100644 --- a/usr/src/man/man9f/ddi_io_get8.9f +++ b/usr/src/man/man9f/ddi_io_get8.9f @@ -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 ddi_io_get8 9F "1 Nov 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_IO_GET8 9F "Nov 1, 2005" .SH NAME ddi_io_get8, ddi_io_get16, ddi_io_get32, ddi_io_getb, ddi_io_getl, ddi_io_getw \- read data from the mapped device register in I/O space .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> @@ -43,24 +43,20 @@ Solaris DDI specific (Solaris DDI). The \fBddi_io_get8()\fR, .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 12n -.rt Data access handle returned from setup calls, such as \fBddi_regs_map_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIdev_addr\fR\fR .ad .RS 12n -.rt Device address. .RE @@ -89,13 +85,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_io_put8.9f b/usr/src/man/man9f/ddi_io_put8.9f index ba6351c507..61ad766abe 100644 --- a/usr/src/man/man9f/ddi_io_put8.9f +++ b/usr/src/man/man9f/ddi_io_put8.9f @@ -3,25 +3,25 @@ .\" 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 ddi_io_put8 9F "1 Nov 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_IO_PUT8 9F "Nov 1, 2005" .SH NAME ddi_io_put8, ddi_io_put16, ddi_io_put32, ddi_io_putb, ddi_io_putl, ddi_io_putw \- write data to the mapped device register in I/O space .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBvoid\fR \fBddi_io_put8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint8_t *\fR\fIdev_addr\fR, +\fBvoid\fR \fBddi_io_put8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint8_t *\fR\fIdev_addr\fR, uint8_t \fIvalue\fR); .fi .LP .nf -\fBvoid\fR \fBddi_io_put16\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint16_t *\fR\fIdev_addr\fR, +\fBvoid\fR \fBddi_io_put16\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint16_t *\fR\fIdev_addr\fR, uint16_t \fIvalue\fR); .fi @@ -46,35 +46,29 @@ Solaris DDI specific (Solaris DDI). The \fBddi_io_put8()\fR, .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 12n -.rt Data access handle returned from setup calls, such as \fBddi_regs_map_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIdev_addr\fR\fR .ad .RS 12n -.rt Base device address. .RE .sp .ne 2 -.mk .na \fB\fIvalue\fR\fR .ad .RS 12n -.rt Data to be written to the device. .RE @@ -103,13 +97,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_io_rep_get8.9f b/usr/src/man/man9f/ddi_io_rep_get8.9f index 8ebebafc75..ac24d9d35c 100644 --- a/usr/src/man/man9f/ddi_io_rep_get8.9f +++ b/usr/src/man/man9f/ddi_io_rep_get8.9f @@ -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 ddi_io_rep_get8 9F "1 Nov 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_IO_REP_GET8 9F "Nov 1, 2005" .SH NAME ddi_io_rep_get8, ddi_io_rep_get16, ddi_io_rep_get32, ddi_io_rep_getb, ddi_io_rep_getl, ddi_io_rep_getw \- read multiple data from the mapped device @@ -11,12 +11,12 @@ register in I/O space .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBvoid\fR \fBddi_io_rep_get8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint8_t *\fR\fIhost_addr\fR, +\fBvoid\fR \fBddi_io_rep_get8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint8_t *\fR\fIhost_addr\fR, \fBuint8_t *\fR\fIdev_addr\fR, \fBsize_t\fR \fIrepcount\fR); .fi @@ -47,46 +47,38 @@ The \fBddi_rep_get8\fR(9F) function replaces \fBddi_io_rep_get8()\fR. The .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 13n -.rt The data access handle returned from setup calls, such as \fBddi_regs_map_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIhost_addr\fR\fR .ad .RS 13n -.rt Base host address. .RE .sp .ne 2 -.mk .na \fB\fIdev_addr\fR\fR .ad .RS 13n -.rt Base device address. .RE .sp .ne 2 -.mk .na \fB\fIrepcount\fR\fR .ad .RS 13n -.rt Number of data accesses to perform. .RE @@ -118,13 +110,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_io_rep_put8.9f b/usr/src/man/man9f/ddi_io_rep_put8.9f index bacdea9981..b9fdf27161 100644 --- a/usr/src/man/man9f/ddi_io_rep_put8.9f +++ b/usr/src/man/man9f/ddi_io_rep_put8.9f @@ -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 ddi_io_rep_put8 9F "1 Nov 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_IO_REP_PUT8 9F "Nov 1, 2005" .SH NAME ddi_io_rep_put8, ddi_io_rep_put16, ddi_io_rep_put32, ddi_io_rep_putb, ddi_io_rep_putl, ddi_io_rep_putw \- write multiple data to the mapped device @@ -11,12 +11,12 @@ register in I/O space .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBvoid\fR \fBddi_io_rep_put8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint8_t *\fR\fIhost_addr\fR, +\fBvoid\fR \fBddi_io_rep_put8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint8_t *\fR\fIhost_addr\fR, \fBuin8_t *\fR\fIdev_addr\fR, \fBsize_t\fR \fIrepcount\fR); .fi @@ -47,46 +47,38 @@ The \fBddi_rep_put8\fR(9F) function replaces \fBddi_io_rep_put8()\fR. The .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 13n -.rt Data access handle returned from setup calls, such as \fBddi_regs_map_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIhost_addr\fR\fR .ad .RS 13n -.rt Base host address. .RE .sp .ne 2 -.mk .na \fB\fIdev_addr\fR\fR .ad .RS 13n -.rt Base device address. .RE .sp .ne 2 -.mk .na \fB\fIrepcount\fR\fR .ad .RS 13n -.rt Number of data accesses to perform. .RE @@ -118,13 +110,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_iomin.9f b/usr/src/man/man9f/ddi_iomin.9f index 791ff31d81..96e299aeaa 100644 --- a/usr/src/man/man9f/ddi_iomin.9f +++ b/usr/src/man/man9f/ddi_iomin.9f @@ -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 ddi_iomin 9F "04 Apr 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_IOMIN 9F "Apr 04, 2006" .SH NAME ddi_iomin \- find minimum alignment and transfer size for DMA .SH SYNOPSIS @@ -25,23 +25,19 @@ Solaris DDI specific (Solaris DDI). This interface is obsolete. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 13n -.rt A pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIinitial\fR\fR .ad .RS 13n -.rt The initial minimum \fBDMA\fRtransfer size in bytes. This may be zero or an appropriate \fBdlim_minxfer\fR value for device's \fBddi_dma_lim\fR structure (see \fBddi_dma_lim_sparc\fR(9S) or \fBddi_dma_lim_x86\fR(9S)). This value must @@ -50,12 +46,10 @@ be a power of two. .sp .ne 2 -.mk .na \fB\fIstreaming\fR\fR .ad .RS 13n -.rt This argument, if non-zero, indicates that the returned value should be modified to account for \fIstreaming\fR mode accesses (see \fBddi_dma_req\fR(9S) for a discussion of streaming versus non-streaming access @@ -87,13 +81,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_iopb_alloc.9f b/usr/src/man/man9f/ddi_iopb_alloc.9f index c6a86c8eda..fbbbb0ca70 100644 --- a/usr/src/man/man9f/ddi_iopb_alloc.9f +++ b/usr/src/man/man9f/ddi_iopb_alloc.9f @@ -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 ddi_iopb_alloc 9F "04 Apr 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_IOPB_ALLOC 9F "Apr 04, 2006" .SH NAME ddi_iopb_alloc, ddi_iopb_free \- allocate and free non-sequentially accessed memory @@ -13,7 +13,7 @@ memory #include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBddi_iopb_alloc\fR(\fBdev_info_t *\fR\fIdip\fR, \fBddi_dma_lim_t *\fR\fIlimits\fR, +\fBint\fR \fBddi_iopb_alloc\fR(\fBdev_info_t *\fR\fIdip\fR, \fBddi_dma_lim_t *\fR\fIlimits\fR, \fBuint_t\fR \fIlength\fR, \fBcaddr_t *\fR\fIiopbp\fR); .fi @@ -32,23 +32,19 @@ These interfaces are obsolete. Use \fBddi_dma_mem_alloc\fR(9F) instead of .SS "\fBddi_iopb_alloc()\fR" .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 10n -.rt A pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIlimits\fR\fR .ad .RS 10n -.rt A pointer to a \fBDMA \fRlimits structure for this device (see \fBddi_dma_lim_sparc\fR(9S) or \fBddi_dma_lim_x86\fR(9S)). If this pointer is \fINULL\fR, a default set of \fBDMA \fRlimits is assumed. @@ -56,23 +52,19 @@ A pointer to a \fBDMA \fRlimits structure for this device (see .sp .ne 2 -.mk .na \fB\fIlength\fR\fR .ad .RS 10n -.rt The length in bytes of the desired allocation. .RE .sp .ne 2 -.mk .na \fB\fIiopbp\fR\fR .ad .RS 10n -.rt A pointer to a \fBcaddr_t\fR. On a successful return, \fI*iopbp\fR points to the allocated storage. .RE @@ -80,12 +72,10 @@ the allocated storage. .SS "\fBddi_iopb_free()\fR" .sp .ne 2 -.mk .na \fB\fIiopb\fR\fR .ad .RS 8n -.rt The \fIiopb\fR returned from a successful call to \fBddi_iopb_alloc()\fR. .RE @@ -121,23 +111,19 @@ The \fBddi_iopb_free()\fR function frees up memory allocated by The \fBddi_iopb_alloc()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Memory successfully allocated. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Allocation failed. .RE @@ -153,13 +139,12 @@ See \fBattributes\fR(5) for a description 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 _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_log_sysevent.9f b/usr/src/man/man9f/ddi_log_sysevent.9f index 11b3d7e71d..6194c137da 100644 --- a/usr/src/man/man9f/ddi_log_sysevent.9f +++ b/usr/src/man/man9f/ddi_log_sysevent.9f @@ -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 ddi_log_sysevent 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_LOG_SYSEVENT 9F "Jan 16, 2006" .SH NAME ddi_log_sysevent \- log system event for drivers .SH SYNOPSIS @@ -14,8 +14,8 @@ ddi_log_sysevent \- log system event for drivers -\fBint\fR \fBddi_log_sysevent\fR(\fBdev_info_t *\fR\fIdip\fR, \fBchar *\fR\fIvendor\fR, - \fBchar *\fR\fIclass\fR, \fBchar *\fR\fIsubclass\fR, \fBnvlist_t *\fR\fIattr_list\fR, +\fBint\fR \fBddi_log_sysevent\fR(\fBdev_info_t *\fR\fIdip\fR, \fBchar *\fR\fIvendor\fR, + \fBchar *\fR\fIclass\fR, \fBchar *\fR\fIsubclass\fR, \fBnvlist_t *\fR\fIattr_list\fR, \fBsysevent_id_t *\fR\fIeidp\fR, \fBint\fR \fIsleep_flag\fR); .fi @@ -26,23 +26,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 14n -.rt A pointer to the \fBdev_info\fR node for this driver. .RE .sp .ne 2 -.mk .na \fB\fIvendor\fR\fR .ad .RS 14n -.rt A pointer to a string defining the vendor. Third-party drivers should use their company's stock symbol (or similarly enduring identifier). Sun-supplied drivers should use \fBDDI_VENDOR_SUNW\fR. @@ -50,46 +46,38 @@ should use \fBDDI_VENDOR_SUNW\fR. .sp .ne 2 -.mk .na \fB\fIclass\fR\fR .ad .RS 14n -.rt A pointer to a string defining the event class. .RE .sp .ne 2 -.mk .na \fB\fIsubclass\fR\fR .ad .RS 14n -.rt A pointer to a string defining the event subclass. .RE .sp .ne 2 -.mk .na \fB\fIattr_list\fR\fR .ad .RS 14n -.rt A pointer to an \fBnvlist_t\fR, listing the name-value attributes associated with the event or NULL if there are no such attributes for this event. .RE .sp .ne 2 -.mk .na \fB\fIeidp\fR\fR .ad .RS 14n -.rt The address of a \fBsysevent_id_t\fR structure in which the event's sequence number and timestamp are returned if the event is successfully queued. May be NULL if this information is not of interest. See below for the definition of @@ -98,12 +86,10 @@ NULL if this information is not of interest. See below for the definition of .sp .ne 2 -.mk .na \fB\fIsleep_flag\fR\fR .ad .RS 14n -.rt Indicates how a caller wants to handle the possibility of resources not being available. If \fIsleep_flag\fR is \fBDDI_NOSLEEP\fR, the caller does not care if the allocation fails or the queue is full and can handle a failure @@ -152,47 +138,39 @@ The structure members of \fBsysevent_id_t\fR are: The \fBddi_log_sysevent()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 18n -.rt The event has been queued for delivery successfully. .RE .sp .ne 2 -.mk .na \fB\fBDDI_ENOMEM\fR\fR .ad .RS 18n -.rt There is not enough memory to queue the system event at this time. \fBDDI_ENOMEM\fR cannot be returned when \fIsleep_flag\fR is \fBDDI_SLEEP\fR. .RE .sp .ne 2 -.mk .na \fB\fBDDI_EBUSY\fR\fR .ad .RS 18n -.rt The system event queue is full at this time. \fBDDI_EBUSY\fR cannot be returned when \fIsleep_flag\fR is \fBDDI_SLEEP\fR. .RE .sp .ne 2 -.mk .na \fB\fBDDI_ETRANSPORT\fR\fR .ad .RS 18n -.rt The \fBsyseventd\fR daemon is not responding and events cannot be queued or delivered at this time. \fBDDI_ETRANSPORT\fR can be returned even when \fIsleep_flag\fR is \fBDDI_SLEEP\fR. @@ -200,12 +178,10 @@ delivered at this time. \fBDDI_ETRANSPORT\fR can be returned even when .sp .ne 2 -.mk .na \fB\fBDDI_ECONTEXT\fR\fR .ad .RS 18n -.rt \fIsleep_flag\fR is DDI_SLEEP and the driver is running in interrupt context. .RE diff --git a/usr/src/man/man9f/ddi_map_regs.9f b/usr/src/man/man9f/ddi_map_regs.9f index ab109a1ead..8e3867a828 100644 --- a/usr/src/man/man9f/ddi_map_regs.9f +++ b/usr/src/man/man9f/ddi_map_regs.9f @@ -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 ddi_map_regs 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_MAP_REGS 9F "Jan 16, 2006" .SH NAME ddi_map_regs, ddi_unmap_regs \- map or unmap registers .SH SYNOPSIS @@ -15,7 +15,7 @@ ddi_map_regs, ddi_unmap_regs \- map or unmap registers -\fBint\fR \fBddi_map_regs\fR(\fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIrnumber\fR, \fBcaddr_t *\fR\fIkaddrp\fR, +\fBint\fR \fBddi_map_regs\fR(\fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIrnumber\fR, \fBcaddr_t *\fR\fIkaddrp\fR, \fBoff_t\fR \fIoffset\fR, \fBoff_t\fR \fIlen\fR); .fi @@ -35,112 +35,92 @@ These interfaces are obsolete. Use \fBddi_regs_map_setup\fR(9F) instead of .SS "\fBddi_map_regs()\fR" .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 11n -.rt Pointer to the device's dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIrnumber\fR\fR .ad .RS 11n -.rt Register set number. .RE .sp .ne 2 -.mk .na \fB\fIkaddrp\fR\fR .ad .RS 11n -.rt Pointer to the base kernel address of the mapped region (set on return). .RE .sp .ne 2 -.mk .na \fB\fIoffset\fR\fR .ad .RS 11n -.rt Offset into register space. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 11n -.rt Length to be mapped. .RE .SS "\fBddi_unmap_regs()\fR" .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 11n -.rt Pointer to the device's dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIrnumber\fR\fR .ad .RS 11n -.rt Register set number. .RE .sp .ne 2 -.mk .na \fB\fIkaddrp\fR\fR .ad .RS 11n -.rt Pointer to the base kernel address of the region to be unmapped. .RE .sp .ne 2 -.mk .na \fB\fIoffset\fR\fR .ad .RS 11n -.rt Offset into register space. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 11n -.rt Length to be unmapped. .RE @@ -175,12 +155,10 @@ unmapped. \fIkaddrp\fR is a pointer to the address returned from The \fBddi_map_regs()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt on success. .RE @@ -196,13 +174,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface Stability Obsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_mem_alloc.9f b/usr/src/man/man9f/ddi_mem_alloc.9f index 3c3770a5b3..c8baf915f3 100644 --- a/usr/src/man/man9f/ddi_mem_alloc.9f +++ b/usr/src/man/man9f/ddi_mem_alloc.9f @@ -3,17 +3,17 @@ .\" 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 ddi_mem_alloc 9F "04 Apr 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_MEM_ALLOC 9F "Apr 04, 2006" .SH NAME ddi_mem_alloc, ddi_mem_free \- allocate and free sequentially accessed memory .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBddi_mem_alloc\fR(\fBdev_info_t *\fR\fIdip\fR, \fBddi_dma_lim_t *\fR\fIlimits\fR, - \fBuint_t\fR \fIlength\fR, \fBuint_t\fR \fIflags\fR, \fBcaddr_t *\fR\fIkaddrp\fR, +\fBint\fR \fBddi_mem_alloc\fR(\fBdev_info_t *\fR\fIdip\fR, \fBddi_dma_lim_t *\fR\fIlimits\fR, + \fBuint_t\fR \fIlength\fR, \fBuint_t\fR \fIflags\fR, \fBcaddr_t *\fR\fIkaddrp\fR, \fBuint_t *\fR\fIreal_length\fR); .fi @@ -31,23 +31,19 @@ These interfaces are obsolete. \fBddi_dma_mem_alloc\fR(9F) and .SS "\fBddi_mem_alloc()\fR" .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 15n -.rt A pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIlimits\fR\fR .ad .RS 15n -.rt A pointer to a \fBDMA\fR limits structure for this device (see \fBddi_dma_lim_sparc\fR(9S) or \fBddi_dma_lim_x86\fR(9S)). If this pointer is \fINULL\fR, a default set of \fBDMA\fR limits is assumed. @@ -55,46 +51,38 @@ A pointer to a \fBDMA\fR limits structure for this device (see .sp .ne 2 -.mk .na \fB\fIlength\fR\fR .ad .RS 15n -.rt The length in bytes of the desired allocation. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 15n -.rt The possible flags \fB1\fR and \fB0\fR are taken to mean, respectively, wait until memory is available, or do not wait. .RE .sp .ne 2 -.mk .na \fB\fIkaddrp\fR\fR .ad .RS 15n -.rt On a successful return, *\fIkaddrp\fR points to the allocated memory. .RE .sp .ne 2 -.mk .na \fB\fIreal_length\fR\fR .ad .RS 15n -.rt The length in bytes that was allocated. Alignment and padding requirements may cause \fBddi_mem_alloc()\fR to allocate more memory than requested in \fIlength\fR. @@ -103,12 +91,10 @@ cause \fBddi_mem_alloc()\fR to allocate more memory than requested in .SS "\fBddi_mem_free()\fR" .sp .ne 2 -.mk .na \fB\fIkaddr\fR\fR .ad .RS 9n -.rt The memory returned from a successful call to \fBddi_mem_alloc()\fR. .RE @@ -144,23 +130,19 @@ The \fBddi_mem_free()\fR function frees up memory allocated by The \fBddi_mem_alloc()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Memory successfully allocated. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Allocation failed. .RE @@ -178,13 +160,12 @@ See \fBattributes\fR(5) for a description 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 _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_mem_get8.9f b/usr/src/man/man9f/ddi_mem_get8.9f index b994f93a2c..6bb6a2c60f 100644 --- a/usr/src/man/man9f/ddi_mem_get8.9f +++ b/usr/src/man/man9f/ddi_mem_get8.9f @@ -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 ddi_mem_get8 9F "1 Nov 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_MEM_GET8 9F "Nov 1, 2005" .SH NAME ddi_mem_get8, ddi_mem_get16, ddi_mem_get32, ddi_mem_get64, ddi_mem_getb, ddi_mem_getl, ddi_mem_getll, ddi_mem_getw \- read data from mapped device in @@ -11,7 +11,7 @@ the memory space or allocated DMA memory .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> @@ -52,24 +52,20 @@ replaces \fBddi_mem_get8()\fR. The \fBddi_get16\fR(9F) function replaces .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 12n -.rt The data access handle returned from setup calls, such as \fBddi_regs_map_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIdev_addr\fR\fR .ad .RS 12n -.rt Base device address. .RE @@ -99,13 +95,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_mem_put8.9f b/usr/src/man/man9f/ddi_mem_put8.9f index 367d3ba940..e78585be0d 100644 --- a/usr/src/man/man9f/ddi_mem_put8.9f +++ b/usr/src/man/man9f/ddi_mem_put8.9f @@ -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 ddi_mem_put8 9F "1 Nov 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_MEM_PUT8 9F "Nov 1, 2005" .SH NAME ddi_mem_put8, ddi_mem_put16, ddi_mem_put32, ddi_mem_put64, ddi_mem_putb, ddi_mem_putw, ddi_mem_putl, ddi_mem_putll \- write data to mapped device in the @@ -11,65 +11,59 @@ memory space or allocated DMA memory .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBvoid\fR \fBddi_mem_put8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint8_t *\fR\fIdev_addr\fR, +\fBvoid\fR \fBddi_mem_put8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint8_t *\fR\fIdev_addr\fR, \fBuint8_t\fR \fIvalue\fR); .fi .LP .nf -\fBvoid\fR \fBddi_mem_put16\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint16_t *\fR\fIdev_addr\fR, +\fBvoid\fR \fBddi_mem_put16\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint16_t *\fR\fIdev_addr\fR, \fBuint16_t\fR \fIvalue\fR); .fi .LP .nf -\fBvoid\fR \fBddi_mem_put32\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint32_t *\fR\fIdev_addr\fR, +\fBvoid\fR \fBddi_mem_put32\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint32_t *\fR\fIdev_addr\fR, \fBuint32_t\fR \fIvalue\fR); .fi .LP .nf -\fBvoid\fR \fBddi_mem_put64\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint64_t *\fR\fIdev_addr\fR, +\fBvoid\fR \fBddi_mem_put64\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint64_t *\fR\fIdev_addr\fR, \fBuint64_t\fR \fIvalue\fR); .fi .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 12n -.rt The data access handle returned from setup calls, such as \fBddi_regs_map_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIdev_addr\fR\fR .ad .RS 12n -.rt Base device address. .RE .sp .ne 2 -.mk .na \fB\fIvalue\fR\fR .ad .RS 12n -.rt The data to be written to the device. .RE @@ -114,13 +108,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_mem_rep_get8.9f b/usr/src/man/man9f/ddi_mem_rep_get8.9f index 7696a0f4b2..ddedd0b2c5 100644 --- a/usr/src/man/man9f/ddi_mem_rep_get8.9f +++ b/usr/src/man/man9f/ddi_mem_rep_get8.9f @@ -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 ddi_mem_rep_get8 9F "1 Nov 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_MEM_REP_GET8 9F "Nov 1, 2005" .SH NAME ddi_mem_rep_get8, ddi_mem_rep_get16, ddi_mem_rep_get32, ddi_mem_rep_get64, ddi_mem_rep_getb, ddi_mem_rep_getl, ddi_mem_rep_getll, ddi_mem_rep_getw \- read @@ -11,34 +11,34 @@ multiple data from mapped device in the memory space or allocated DMA memory .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBvoid\fR \fBddi_mem_rep_get8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, - \fBuint8_t *\fR\fIhost_addr\fR, \fBuint8_t *\fR\fIdev_addr\fR, \fBsize_t\fR \fIrepcount\fR, +\fBvoid\fR \fBddi_mem_rep_get8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, + \fBuint8_t *\fR\fIhost_addr\fR, \fBuint8_t *\fR\fIdev_addr\fR, \fBsize_t\fR \fIrepcount\fR, \fBuint_t\fR \fIflags\fR); .fi .LP .nf -\fBvoid\fR \fBddi_mem_rep_get16\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, - \fBuint16_t *\fR\fIhost_addr\fR, \fBuint16_t *\fR\fIdev_addr\fR, \fBsize_t\fR \fIrepcount\fR, +\fBvoid\fR \fBddi_mem_rep_get16\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, + \fBuint16_t *\fR\fIhost_addr\fR, \fBuint16_t *\fR\fIdev_addr\fR, \fBsize_t\fR \fIrepcount\fR, \fBuint_t\fR \fIflags\fR); .fi .LP .nf -\fBvoid\fR \fBddi_mem_rep_get32\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, - \fBuint32_t *\fR\fIhost_addr\fR, \fBuint32_t *\fR\fIdev_addr\fR, \fBsize_t\fR \fIrepcount\fR, +\fBvoid\fR \fBddi_mem_rep_get32\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, + \fBuint32_t *\fR\fIhost_addr\fR, \fBuint32_t *\fR\fIdev_addr\fR, \fBsize_t\fR \fIrepcount\fR, \fBuint_t\fR \fIflags\fR); .fi .LP .nf -\fBvoid\fR \fBddi_mem_rep_get64\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, - \fBuint64_t *\fR\fIhost_addr\fR, \fBuint64_t *\fR\fIdev_addr\fR, \fBsize_t\fR \fIrepcount\fR, +\fBvoid\fR \fBddi_mem_rep_get64\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, + \fBuint64_t *\fR\fIhost_addr\fR, \fBuint64_t *\fR\fIdev_addr\fR, \fBsize_t\fR \fIrepcount\fR, \fBuint_t\fR \fIflags\fR); .fi @@ -60,78 +60,64 @@ The \fBddi_rep_get8\fR(9F) function replaces \fBddi_mem_rep_get8()\fR. The .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 13n -.rt The data access handle returned from setup calls, such as \fBddi_regs_map_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIhost_addr\fR\fR .ad .RS 13n -.rt Base host address. .RE .sp .ne 2 -.mk .na \fB\fIdev_addr\fR\fR .ad .RS 13n -.rt Base device address. .RE .sp .ne 2 -.mk .na \fB\fIrepcount\fR\fR .ad .RS 13n -.rt Number of data accesses to perform. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 13n -.rt Device address flags: .sp .ne 2 -.mk .na \fB\fBDDI_DEV_AUTOINCR\fR\fR .ad .RS 23n -.rt Automatically increment the device address, \fIdev_addr\fR, during data accesses. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DEV_NO_AUTOINCR\fR\fR .ad .RS 23n -.rt Do not advance the device address, \fIdev_addr\fR, during data accesses. .RE @@ -174,13 +160,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_mem_rep_put8.9f b/usr/src/man/man9f/ddi_mem_rep_put8.9f index 44a71a8e27..c5901f00f5 100644 --- a/usr/src/man/man9f/ddi_mem_rep_put8.9f +++ b/usr/src/man/man9f/ddi_mem_rep_put8.9f @@ -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 ddi_mem_rep_put8 9F "1 Nov 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_MEM_REP_PUT8 9F "Nov 1, 2005" .SH NAME ddi_mem_rep_put8, ddi_mem_rep_put16, ddi_mem_rep_put32, ddi_mem_rep_put64, ddi_mem_rep_putb, ddi_mem_rep_putl, ddi_mem_rep_putll, ddi_mem_rep_putw \- @@ -12,7 +12,7 @@ memory .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> @@ -57,78 +57,64 @@ The \fBddi_rep_put8\fR(9F) function replaces \fBddi_mem_rep_put8()\fR. The .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 13n -.rt The data access handle returned from setup calls, such as \fBddi_regs_map_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIhost_addr\fR\fR .ad .RS 13n -.rt Base host address. .RE .sp .ne 2 -.mk .na \fB\fIdev_addr\fR\fR .ad .RS 13n -.rt Base device address. .RE .sp .ne 2 -.mk .na \fB\fIrepcount\fR\fR .ad .RS 13n -.rt Number of data accesses to perform. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 13n -.rt Device address flags: .sp .ne 2 -.mk .na \fB\fBDDI_DEV_AUTOINCR\fR\fR .ad .RS 23n -.rt Automatically increment the device address, \fIdev_addr\fR, during data accesses. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DEV_NO_AUTOINCR\fR\fR .ad .RS 23n -.rt Do not advance the device address, \fIdev_addr\fR, during data accesses. .RE @@ -171,13 +157,12 @@ 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 StabilityObsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_mmap_get_model.9f b/usr/src/man/man9f/ddi_mmap_get_model.9f index 0d4b6abdc5..33c43e961d 100644 --- a/usr/src/man/man9f/ddi_mmap_get_model.9f +++ b/usr/src/man/man9f/ddi_mmap_get_model.9f @@ -4,13 +4,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 ddi_mmap_get_model 9F "8 Feb 2001" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_MMAP_GET_MODEL 9F "Feb 8, 2001" .SH NAME ddi_mmap_get_model \- return data model type of current thread .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> @@ -35,34 +35,28 @@ data model. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_MODEL_ILP32\fR \fR .ad .RS 20n -.rt Current thread expects 32-bit \fI(ILP32)\fR semantics. .RE .sp .ne 2 -.mk .na \fB\fBDDI_MODEL_LP64\fR \fR .ad .RS 20n -.rt Current thread expects 64-bit \fI(LP64)\fR semantics. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR \fR .ad .RS 20n -.rt The \fBddi_mmap_get_model()\fR function was not called from the \fBmmap\fR(9E) entry point. .RE @@ -87,7 +81,7 @@ struct data32 { int len; caddr32_t addr; }; - + struct data { int len; caddr_t addr; diff --git a/usr/src/man/man9f/ddi_model_convert_from.9f b/usr/src/man/man9f/ddi_model_convert_from.9f index 73406d00ff..752ee456d5 100644 --- a/usr/src/man/man9f/ddi_model_convert_from.9f +++ b/usr/src/man/man9f/ddi_model_convert_from.9f @@ -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 ddi_model_convert_from 9F "8 Feb 2001" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_MODEL_CONVERT_FROM 9F "Feb 8, 2001" .SH NAME ddi_model_convert_from \- determine data model type mismatch .SH SYNOPSIS @@ -22,12 +22,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImodel\fR \fR .ad .RS 10n -.rt The data model type of the current thread. .RE @@ -52,23 +50,19 @@ non-native data model. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_MODEL_ILP32\fR \fR .ad .RS 20n -.rt A conversion to/from \fBILP32\fR is necessary. .RE .sp .ne 2 -.mk .na \fB\fBDDI_MODEL_NONE\fR \fR .ad .RS 20n -.rt No conversion is necessary. Current thread and driver use the same data model. .RE @@ -92,7 +86,7 @@ struct passargs32 { int len; caddr32_t addr; }; - + struct passargs { int len; caddr_t addr; @@ -100,7 +94,7 @@ struct passargs { xxioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) { struct passargs pa; - + switch (ddi_model_convert_from(mode & FMODELS)) { case DDI_MODEL_ILP32: { diff --git a/usr/src/man/man9f/ddi_modopen.9f b/usr/src/man/man9f/ddi_modopen.9f index 37e174b070..ad05306c06 100644 --- a/usr/src/man/man9f/ddi_modopen.9f +++ b/usr/src/man/man9f/ddi_modopen.9f @@ -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 ddi_modopen 9F "17 March 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_MODOPEN 9F "Mar 17, 2008" .SH NAME ddi_modopen, ddi_modsym, ddi_modclose \- dynamically-loaded kernel module functions @@ -34,12 +34,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImodname\fR\fR .ad .RS 11n -.rt The name of the dynamically-loaded kernel module (file) to be opened. The \fImodname\fR string is of the form: .sp @@ -59,47 +57,39 @@ provided. .sp .ne 2 -.mk .na \fB\fImode\fR\fR .ad .RS 11n -.rt Currently, \fBKRTLD_MODE_FIRST\fR. .RE .sp .ne 2 -.mk .na \fB\fIerrnop\fR\fR .ad .RS 11n -.rt Pointer to \fBerrno\fR returned on error, if \fBNULL\fR then no additional error information is available. .RE .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 11n -.rt Opaque handle returned from \fBddi_modopen()\fR, invalidated by \fBddi_modclose()\fR. .RE .sp .ne 2 -.mk .na \fB\fIsymname\fR\fR .ad .RS 11n -.rt Symbol's name as a character string. .RE diff --git a/usr/src/man/man9f/ddi_no_info.9f b/usr/src/man/man9f/ddi_no_info.9f index bd254250b8..1315cf73b9 100644 --- a/usr/src/man/man9f/ddi_no_info.9f +++ b/usr/src/man/man9f/ddi_no_info.9f @@ -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 ddi_no_info 9F "9 Jul 2002" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_NO_INFO 9F "Jul 9, 2002" .SH NAME ddi_no_info \- stub for getinfo(9E) .SH SYNOPSIS @@ -14,7 +14,7 @@ ddi_no_info \- stub for getinfo(9E) -\fBint\fR \fBddi_no_info\fR(\fBdev_info_t *\fR\fIdip\fR, \fBddi_info_cmd_t\fR \fIinfocmd\fR, \fBvoid *\fR\fIarg\fR, +\fBint\fR \fBddi_no_info\fR(\fBdev_info_t *\fR\fIdip\fR, \fBddi_info_cmd_t\fR \fIinfocmd\fR, \fBvoid *\fR\fIarg\fR, \fBvoid **\fR\fIresult\fR .fi @@ -25,46 +25,38 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fBdev_info_t *\fIdip\fR\fR .ad .RS 26n -.rt Pointer to \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fBddi_info_cmd_t \fIinfocmd\fR\fR .ad .RS 26n -.rt Command argument. Valid command values are: \fBDDI_INFO_DEVT2DEVINFO\fR and \fBDDI_INFO_DEVT2INSTANCE\fR. .RE .sp .ne 2 -.mk .na \fBvoid *\fIarg\fR\fR .ad .RS 26n -.rt Command-specific argument. .RE .sp .ne 2 -.mk .na \fBvoid **\fIresult\fR\fR .ad .RS 26n -.rt Pointer to where the requested information is stored. .RE diff --git a/usr/src/man/man9f/ddi_node_name.9f b/usr/src/man/man9f/ddi_node_name.9f index 4857a1df77..898569fd27 100644 --- a/usr/src/man/man9f/ddi_node_name.9f +++ b/usr/src/man/man9f/ddi_node_name.9f @@ -4,7 +4,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 ddi_node_name 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_NODE_NAME 9F "Jan 16, 2006" .SH NAME ddi_node_name \- return the devinfo node name .SH SYNOPSIS @@ -25,12 +25,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt A pointer the device's \fBdev_info\fR structure. .RE diff --git a/usr/src/man/man9f/ddi_peek.9f b/usr/src/man/man9f/ddi_peek.9f index 8024ca266b..b1a8e0cf2a 100644 --- a/usr/src/man/man9f/ddi_peek.9f +++ b/usr/src/man/man9f/ddi_peek.9f @@ -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 ddi_peek 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_PEEK 9F "Jan 16, 2006" .SH NAME ddi_peek, ddi_peek8, ddi_peek16, ddi_peek32, ddi_peek64, ddi_peekc, ddi_peeks, ddi_peekl, ddi_peekd \- read a value from a location @@ -43,34 +43,28 @@ respectively, \fBddi_peek8()\fR, \fBddi_peek16()\fR, \fBddi_peek32()\fR, and .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 10n -.rt A pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIaddr\fR\fR .ad .RS 10n -.rt Virtual address of the location to be examined. .RE .sp .ne 2 -.mk .na \fB\fIvaluep\fR\fR .ad .RS 10n -.rt Pointer to a location to hold the result. If a null pointer is specified, then the value read from the location will simply be discarded. .RE @@ -93,24 +87,20 @@ routines. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt The value at the given virtual address was successfully read, and if \fIvaluep\fR is non-null, \fI*valuep\fR will have been updated. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt An error occurred while trying to read the location. \fI*valuep\fR is unchanged. .RE @@ -184,14 +174,13 @@ name equivalents: .sp .TS -tab() box; -lw(2.75i) lw(2.75i) -lw(2.75i) lw(2.75i) -. -\fBPrevious Name\fR\fBNew Name\fR -\fBddi_peekc\fR\fBddi_peek8\fR -\fBddi_peeks\fR\fBddi_peek16\fR -\fBddi_peekl\fR\fBddi_peek32\fR -\fBddi_peekd\fR\fBddi_peek64\fR +box; +l l +l l . +\fBPrevious Name\fR \fBNew Name\fR +\fBddi_peekc\fR \fBddi_peek8\fR +\fBddi_peeks\fR \fBddi_peek16\fR +\fBddi_peekl\fR \fBddi_peek32\fR +\fBddi_peekd\fR \fBddi_peek64\fR .TE diff --git a/usr/src/man/man9f/ddi_periodic_add.9f b/usr/src/man/man9f/ddi_periodic_add.9f index 58cd6c13da..5501409e01 100644 --- a/usr/src/man/man9f/ddi_periodic_add.9f +++ b/usr/src/man/man9f/ddi_periodic_add.9f @@ -3,16 +3,16 @@ .\" 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 ddi_periodic_add 9F "13 Apr 2009" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_PERIODIC_ADD 9F "Apr 13, 2009" .SH NAME ddi_periodic_add \- issue nanosecond periodic timeout requests .SH SYNOPSIS .LP .nf -#include <sys/dditypes.h> +#include <sys/dditypes.h> #include <sys/sunddi.h> -\fBddi_periodic_t\fR \fBddi_periodic_add\fR(\fBvoid (*\fR\fIfunc\fR)(\fBvoid *)\fR, \fBvoid\fR \fIarg\fR, +\fBddi_periodic_t\fR \fBddi_periodic_add\fR(\fBvoid (*\fR\fIfunc\fR)(\fBvoid *)\fR, \fBvoid\fR \fIarg\fR, \fBhrtime_t\fR \fIinterval\fR, \fBint\fR \fIlevel\fR); .fi @@ -23,12 +23,10 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIfunc\fR\fR .ad .RS 12n -.rt The callback function is invoked periodically in the specified interval. If the argument level is zero, the function is invoked in kernel context. Otherwise, it's invoked in interrupt context at the specified level. @@ -36,34 +34,28 @@ it's invoked in interrupt context at the specified level. .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 12n -.rt The argument passed to the callback function. .RE .sp .ne 2 -.mk .na \fB\fIinterval\fR\fR .ad .RS 12n -.rt Interval time in nanoseconds. .RE .sp .ne 2 -.mk .na \fB\fIlevel\fR\fR .ad .RS 12n -.rt Callback interrupt level. If the value is zero, the callback function is invoked in kernel context. If the value is more than zero, but less than or equal to ten, the callback function is invoked in interrupt context at the @@ -167,7 +159,7 @@ invoked in interrupt context at level 7. /* * Register the callback function invoked periodically - * at interrupt level 7. + * at interrupt level 7. */ statep->periodic_id = ddi_periodic_add(my_periodic_int7_func, statep, interval, DDI_IPL_7); diff --git a/usr/src/man/man9f/ddi_periodic_delete.9f b/usr/src/man/man9f/ddi_periodic_delete.9f index 67e9824b8d..cfaf0fc8a7 100644 --- a/usr/src/man/man9f/ddi_periodic_delete.9f +++ b/usr/src/man/man9f/ddi_periodic_delete.9f @@ -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 ddi_periodic_delete 9F "6 May 2009" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_PERIODIC_DELETE 9F "May 6, 2009" .SH NAME ddi_periodic_delete \- cancel nanosecond periodic timeout requests .SH SYNOPSIS .LP .nf -#include <sys/dditypes.h> +#include <sys/dditypes.h> #include <sys/sunddi.h> \fBvoid\fR \fBddi_periodic_delete\fR(\fBddi_periodic_t\fR \fIreq\fR\fB);\fR @@ -22,12 +22,10 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIreq\fR\fR .ad .RS 7n -.rt \fBddi_periodic_t\fR opaque value returned by \fBddi_periodic_add\fR(9F) .RE diff --git a/usr/src/man/man9f/ddi_poke.9f b/usr/src/man/man9f/ddi_poke.9f index fa6b6de81e..2809917ced 100644 --- a/usr/src/man/man9f/ddi_poke.9f +++ b/usr/src/man/man9f/ddi_poke.9f @@ -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 ddi_poke 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_POKE 9F "Jan 16, 2006" .SH NAME ddi_poke, ddi_poke8, ddi_poke16, ddi_poke32, ddi_poke64, ddi_pokec, ddi_pokes, ddi_pokel, ddi_poked \- write a value to a location @@ -43,34 +43,28 @@ respectively, \fBddi_poke8()\fR, \fBddi_poke16()\fR, \fBddi_poke32()\fR, and .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 9n -.rt A pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIaddr\fR\fR .ad .RS 9n -.rt Virtual address of the location to be written to. .RE .sp .ne 2 -.mk .na \fB\fIvalue\fR\fR .ad .RS 9n -.rt Value to be written to the location. .RE @@ -96,23 +90,19 @@ use the \fBddi_peek\fR(9F) routines instead if possible. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt The value was successfully written to the given virtual address. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt An error occurred while trying to write to the location. .RE @@ -138,14 +128,13 @@ name equivalents: .sp .TS -tab() box; -lw(2.75i) lw(2.75i) -lw(2.75i) lw(2.75i) -. -\fBPrevious Name\fR\fBNew Name\fR -\fBddi_pokec\fR\fBddi_poke8\fR -\fBddi_pokes\fR\fBddi_poke16\fR -\fBddi_pokel\fR\fBddi_poke32\fR -\fBddi_poked\fR\fBddi_poke64\fR +box; +l l +l l . +\fBPrevious Name\fR \fBNew Name\fR +\fBddi_pokec\fR \fBddi_poke8\fR +\fBddi_pokes\fR \fBddi_poke16\fR +\fBddi_pokel\fR \fBddi_poke32\fR +\fBddi_poked\fR \fBddi_poke64\fR .TE diff --git a/usr/src/man/man9f/ddi_prop_create.9f b/usr/src/man/man9f/ddi_prop_create.9f index edbdb108c5..ca9f607e2d 100644 --- a/usr/src/man/man9f/ddi_prop_create.9f +++ b/usr/src/man/man9f/ddi_prop_create.9f @@ -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 ddi_prop_create 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_PROP_CREATE 9F "Jan 16, 2006" .SH NAME ddi_prop_create, ddi_prop_modify, ddi_prop_remove, ddi_prop_remove_all, ddi_prop_undefine \- create, remove, or modify properties for leaf device @@ -15,19 +15,19 @@ drivers #include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBddi_prop_create\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBint\fR \fIflags\fR, +\fBint\fR \fBddi_prop_create\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBint\fR \fIflags\fR, \fBchar *\fR\fIname\fR, \fBcaddr_t\fR \fIvaluep\fR, \fBint\fR \fIlength\fR); .fi .LP .nf -\fBint\fR \fBddi_prop_undefine\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBint\fR \fIflags\fR, +\fBint\fR \fBddi_prop_undefine\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBint\fR \fIflags\fR, \fBchar *\fR\fIname\fR); .fi .LP .nf -\fBint\fR \fBddi_prop_modify\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBint\fR \fIflags\fR, +\fBint\fR \fBddi_prop_modify\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBint\fR \fIflags\fR, \fBchar *\fR\fIname\fR, \fBcaddr_t\fR \fIvaluep\fR, \fBint\fR \fIlength\fR); .fi @@ -53,68 +53,56 @@ instead of these functions. \fBddi_prop_create()\fR .sp .ne 2 -.mk .na \fB\fIdev\fR\fR .ad .RS 10n -.rt \fBdev_t\fR of the device. .RE .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 10n -.rt \fBdev_info_t\fR pointer of the device. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 10n -.rt \fIflag\fR modifiers. The only possible flag value is \fBDDI_PROP_CANSLEEP\fR: Memory allocation may sleep. .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 10n -.rt name of property. .RE .sp .ne 2 -.mk .na \fB\fIvaluep\fR\fR .ad .RS 10n -.rt pointer to property value. .RE .sp .ne 2 -.mk .na \fB\fIlength\fR\fR .ad .RS 10n -.rt property length. .RE @@ -123,46 +111,38 @@ property length. \fBddi_prop_undefine()\fR .sp .ne 2 -.mk .na \fB\fIdev\fR\fR .ad .RS 9n -.rt \fBdev_t\fR of the device. .RE .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 9n -.rt \fBdev_info_t\fR pointer of the device. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 9n -.rt flag modifiers. The only possible flag value is \fBDDI_PROP_CANSLEEP\fR: Memory allocation may sleep. .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 9n -.rt name of property. .RE @@ -171,68 +151,56 @@ name of property. \fBddi_prop_modify()\fR .sp .ne 2 -.mk .na \fB\fIdev\fR\fR .ad .RS 10n -.rt \fBdev_t\fR of the device. .RE .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 10n -.rt \fBdev_info_t\fR pointer of the device. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 10n -.rt flag modifiers. The only possible flag value is \fBDDI_PROP_CANSLEEP\fR: Memory allocation may sleep. .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 10n -.rt name of property. .RE .sp .ne 2 -.mk .na \fB\fIvaluep\fR\fR .ad .RS 10n -.rt pointer to property value. .RE .sp .ne 2 -.mk .na \fB\fIlength\fR\fR .ad .RS 10n -.rt property length. .RE @@ -241,34 +209,28 @@ property length. \fBddi_prop_remove()\fR .sp .ne 2 -.mk .na \fB\fIdev\fR\fR .ad .RS 8n -.rt \fBdev_t\fR of the device. .RE .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 8n -.rt \fBdev_info_t\fR pointer of the device. .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 8n -.rt name of property. .RE @@ -277,12 +239,10 @@ name of property. \fBddi_prop_remove_all()\fR .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt \fBdev_info_t\fR pointer of the device. .RE @@ -308,12 +268,10 @@ caller. The individual functions are described as follows: .sp .ne 2 -.mk .na \fB\fBddi_prop_create()\fR\fR .ad .RS 25n -.rt \fBddi_prop_create()\fR adds a property to the device's property list. If the property is not associated with any particular \fIdev\fR but is associated with the physical device itself, then the argument \fIdev\fR should be the special @@ -336,12 +294,10 @@ sleep until memory becomes available. .sp .ne 2 -.mk .na \fB\fBddi_prop_undefine()\fR\fR .ad .RS 25n -.rt \fBddi_prop_undefine()\fR is a special case of property creation where the value of the property is set to undefined. This property has the effect of terminating a property search at the current devinfo node, rather than allowing @@ -357,12 +313,10 @@ is subject to the same memory allocation constraints as .sp .ne 2 -.mk .na \fB\fBddi_prop_modify()\fR\fR .ad .RS 25n -.rt \fBddi_prop_modify()\fR modifies the length and the value of a property. If \fBddi_prop_modify()\fR finds the property in the driver's property list, allocates memory for the property value and returns \fBDDI_PROP_SUCCESS\fR. If @@ -375,12 +329,10 @@ is subject to the same memory allocation constraints as .sp .ne 2 -.mk .na \fB\fBddi_prop_remove()\fR\fR .ad .RS 25n -.rt \fBddi_prop_remove()\fR unlinks a property from the device's property list. If \fBddi_prop_remove()\fR finds the property (an exact match of both \fIname\fRand \fIdev\fR), it unlinks the property, frees its memory, and @@ -389,12 +341,10 @@ returns \fBDDI_PROP_SUCCESS,\fR otherwise, it returns \fBDDI_PROP_NOT_FOUND\fR. .sp .ne 2 -.mk .na \fB\fBddi_prop_remove_all()\fR\fR .ad .RS 25n -.rt \fBddi_prop_remove_all()\fR removes the properties of all the \fBdev_t\fR's associated with the \fIdip\fR. It is called before unloading a driver. .RE @@ -405,34 +355,28 @@ associated with the \fIdip\fR. It is called before unloading a driver. The \fBddi_prop_create()\fR function returns the following values: .sp .ne 2 -.mk .na \fB\fBDDI_PROP_SUCCESS\fR\fR .ad .RS 22n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_NO_MEMORY\fR\fR .ad .RS 22n -.rt On memory allocation failure. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_INVAL_ARG\fR\fR .ad .RS 22n -.rt If an attempt is made to create a property with \fIdev\fR equal to \fBDDI_DEV_T_ANY\fR or if \fIname\fR is \fINULL\fR or \fIname\fR is the \fINULL\fR string. @@ -443,34 +387,28 @@ If an attempt is made to create a property with \fIdev\fR equal to The \fBddi_prop_ undefine()\fR function returns the following values: .sp .ne 2 -.mk .na \fB\fBDDI_PROP_SUCCESS\fR\fR .ad .RS 22n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_NO_MEMORY\fR\fR .ad .RS 22n -.rt On memory allocation failure. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_INVAL_ARG\fR\fR .ad .RS 22n -.rt If an attempt is made to create a property with \fIdev\fR \fBDDI_DEV_T_ANY\fR or if \fIname\fR is \fINULL\fR or \fIname\fR is the \fINULL\fR string. .RE @@ -480,34 +418,28 @@ or if \fIname\fR is \fINULL\fR or \fIname\fR is the \fINULL\fR string. The \fBddi_prop_modify()\fR function returns the following values: .sp .ne 2 -.mk .na \fB\fBDDI_PROP_SUCCESS\fR\fR .ad .RS 22n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_NO_MEMORY\fR\fR .ad .RS 22n -.rt On memory allocation failure. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_INVAL_ARG\fR\fR .ad .RS 22n -.rt If an attempt is made to create a property with \fIdev\fR equal to \fBDDI_DEV_T_ANY\fR or if \fIname\fR is \fINULL\fR or \fIname\fR is the \fINULL\fR string. @@ -515,12 +447,10 @@ If an attempt is made to create a property with \fIdev\fR equal to .sp .ne 2 -.mk .na \fB\fBDDI_PROP_NOT_FOUND\fR\fR .ad .RS 22n -.rt On property search failure. .RE @@ -529,23 +459,19 @@ On property search failure. The \fBddi_prop_remove()\fR function returns the following values: .sp .ne 2 -.mk .na \fB\fBDDI_PROP_SUCCESS\fR\fR .ad .RS 22n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_INVAL_ARG\fR\fR .ad .RS 22n -.rt If an attempt is made to create a property with \fIdev\fR equal to \fBDDI_DEV_T_ANY\fR or if \fIname\fR is \fINULL\fR or \fIname\fR is the \fINULL\fR string. @@ -553,12 +479,10 @@ If an attempt is made to create a property with \fIdev\fR equal to .sp .ne 2 -.mk .na \fB\fBDDI_PROP_NOT_FOUND\fR\fR .ad .RS 22n -.rt On property search failure. .RE @@ -582,8 +506,8 @@ partition on a disk. int propval = 8192; for (minor = 0; minor < 8; minor ++) { - (void) ddi_prop_create(makedevice(DDI_MAJOR_T_UNKNOWN, minor), - dev, DDI_PROP_CANSLEEP, "nblocks", (caddr_t) &propval, + (void) ddi_prop_create(makedevice(DDI_MAJOR_T_UNKNOWN, minor), + dev, DDI_PROP_CANSLEEP, "nblocks", (caddr_t) &propval, sizeof (int)); \&.\|.\|. } @@ -598,13 +522,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.66i) |cw(2.84i) -lw(2.66i) |lw(2.84i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelT{ +Stability Level T{ \fBddi_prop_create()\fR and \fBddi_prop_modify()\fR are Obsolete T} .TE diff --git a/usr/src/man/man9f/ddi_prop_exists.9f b/usr/src/man/man9f/ddi_prop_exists.9f index f590dd92ac..f88fcfe9c5 100644 --- a/usr/src/man/man9f/ddi_prop_exists.9f +++ b/usr/src/man/man9f/ddi_prop_exists.9f @@ -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 ddi_prop_exists 9F "22 May 1995" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_PROP_EXISTS 9F "May 22, 1995" .SH NAME ddi_prop_exists \- check for the existence of a property .SH SYNOPSIS @@ -14,7 +14,7 @@ ddi_prop_exists \- check for the existence of a property -\fBint\fR \fBddi_prop_exists\fR(\fBdev_t\fR \fImatch_dev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIflags\fR, +\fBint\fR \fBddi_prop_exists\fR(\fBdev_t\fR \fImatch_dev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIflags\fR, \fBchar *\fR\fIname\fR); .fi @@ -25,56 +25,46 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImatch_dev\fR \fR .ad .RS 14n -.rt Device number associated with property or \fBDDI_DEV_T_ANY.\fR .RE .sp .ne 2 -.mk .na \fB\fIdip\fR \fR .ad .RS 14n -.rt Pointer to the device info node of device whose property list should be searched. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR \fR .ad .RS 14n -.rt Possible flag values are some combination of: .sp .ne 2 -.mk .na \fB\fBDDI_PROP_DONTPASS\fR \fR .ad .RS 22n -.rt Do not pass request to parent device information node if the property is not found. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_NOTPROM\fR \fR .ad .RS 22n -.rt Do not look at \fBPROM \fRproperties (ignored on platforms that do not support \fBPROM \fRproperties). .RE @@ -83,12 +73,10 @@ Do not look at \fBPROM \fRproperties (ignored on platforms that do not support .sp .ne 2 -.mk .na \fB\fIname\fR \fR .ad .RS 14n -.rt String containing the name of the property. .RE diff --git a/usr/src/man/man9f/ddi_prop_get_int.9f b/usr/src/man/man9f/ddi_prop_get_int.9f index ced2df9a80..b5fcaf613f 100644 --- a/usr/src/man/man9f/ddi_prop_get_int.9f +++ b/usr/src/man/man9f/ddi_prop_get_int.9f @@ -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 ddi_prop_get_int 9F "25 Aug 2001" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_PROP_GET_INT 9F "Aug 25, 2001" .SH NAME ddi_prop_get_int, ddi_prop_get_int64 \- lookup integer property .SH SYNOPSIS @@ -14,7 +14,7 @@ ddi_prop_get_int, ddi_prop_get_int64 \- lookup integer property -\fBint\fR \fBddi_prop_get_int\fR(\fBdev_t\fR \fImatch_dev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIflags\fR, +\fBint\fR \fBddi_prop_get_int\fR(\fBdev_t\fR \fImatch_dev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIflags\fR, \fBchar *\fR\fIname\fR, \fBint\fR \fIdefvalue\fR); .fi @@ -27,55 +27,45 @@ ddi_prop_get_int, ddi_prop_get_int64 \- lookup integer property .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImatch_dev\fR\fR .ad .RS 13n -.rt Device number associated with property or \fBDDI_DEV_T_ANY.\fR .RE .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 13n -.rt Pointer to the device info node of device whose property list should be searched. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 13n -.rt Possible flag values are some combination of: .sp .ne 2 -.mk .na \fB\fBDDI_PROP_DONTPASS\fR\fR .ad .RS 21n -.rt Do not pass request to parent device information node if property not found. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_NOTPROM\fR\fR .ad .RS 21n -.rt Do not look at \fBPROM \fRproperties (ignored on platforms that do not support \fBPROM \fRproperties). .RE @@ -84,23 +74,19 @@ Do not look at \fBPROM \fRproperties (ignored on platforms that do not support .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 13n -.rt String containing the name of the property. .RE .sp .ne 2 -.mk .na \fB\fIdefvalue\fR\fR .ad .RS 13n -.rt An integer value that is returned if the property cannot be found. .RE @@ -200,7 +186,7 @@ The following example demonstrates the use of \fBddi_prop_get_int()\fR. * Get the value of the integer "width" property, using * our own default if no such property exists */ - width = ddi_prop_get_int(xx_dev, xx_dip, 0, "width", + width = ddi_prop_get_int(xx_dev, xx_dip, 0, "width", XX_DEFAULT_WIDTH);\fR .fi .in -2 diff --git a/usr/src/man/man9f/ddi_prop_lookup.9f b/usr/src/man/man9f/ddi_prop_lookup.9f index 2b72c336bc..c371ee8d3a 100644 --- a/usr/src/man/man9f/ddi_prop_lookup.9f +++ b/usr/src/man/man9f/ddi_prop_lookup.9f @@ -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 ddi_prop_lookup 9F "11 Apr 2001" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_PROP_LOOKUP 9F "Apr 11, 2001" .SH NAME ddi_prop_lookup, ddi_prop_lookup_int_array, ddi_prop_lookup_int64_array, ddi_prop_lookup_string_array, ddi_prop_lookup_string, @@ -16,13 +16,13 @@ ddi_prop_lookup_byte_array, ddi_prop_free \- look up property information -\fBint\fR \fBddi_prop_lookup_int_array\fR(\fBdev_t\fR \fImatch_dev\fR, \fBdev_info_t *\fR\fIdip\fR, +\fBint\fR \fBddi_prop_lookup_int_array\fR(\fBdev_t\fR \fImatch_dev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIflags\fR, \fBchar *\fR\fIname\fR, \fBint **\fR\fIdatap\fR, \fBuint_t *\fR\fInelementsp\fR); .fi .LP .nf -\fBint\fR \fBddi_prop_lookup_int64_array\fR(\fBdev_t\fR \fImatch_dev\fR, \fBdev_info_t *\fR\fIdip\fR, +\fBint\fR \fBddi_prop_lookup_int64_array\fR(\fBdev_t\fR \fImatch_dev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIflags\fR, \fBchar *\fR\fIname\fR, \fBint64_t **\fR\fIdatap\fR, \fBuint_t *\fR\fInelementsp\fR); .fi @@ -40,7 +40,7 @@ ddi_prop_lookup_byte_array, ddi_prop_free \- look up property information .LP .nf -\fBint\fR \fBddi_prop_lookup_byte_array\fR(\fBdev_t\fR \fImatch_dev\fR, \fBdev_info_t *\fR\fIdip\fR, +\fBint\fR \fBddi_prop_lookup_byte_array\fR(\fBdev_t\fR \fImatch_dev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIflags\fR, \fBchar *\fR\fIname\fR, \fBuchar_t **\fR\fIdatap\fR, \fBuint_t *\fR\fInelementsp\fR); .fi @@ -52,56 +52,46 @@ ddi_prop_lookup_byte_array, ddi_prop_free \- look up property information .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImatch_dev\fR\fR .ad .RS 14n -.rt Device number associated with property or \fBDDI_DEV_T_ANY.\fR .RE .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 14n -.rt Pointer to the device info node of device whose property list should be searched. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 14n -.rt Possible flag values are some combination of: .sp .ne 2 -.mk .na \fB\fBDDI_PROP_DONTPASS\fR\fR .ad .RS 21n -.rt Do not pass request to parent device information node if the property is not found. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_NOTPROM\fR\fR .ad .RS 21n -.rt Do not look at \fBPROM \fRproperties (ignored on platforms that do not support \fBPROM \fRproperties). .RE @@ -110,23 +100,19 @@ Do not look at \fBPROM \fRproperties (ignored on platforms that do not support .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 14n -.rt String containing the name of the property. .RE .sp .ne 2 -.mk .na \fB\fInelementsp\fR\fR .ad .RS 14n -.rt The address of an unsigned integer which, upon successful return, will contain the number of elements accounted for in the memory pointed at by \fIdatap\fR. The elements are either integers, strings or bytes depending on the interface @@ -135,15 +121,12 @@ used. .sp .ne 2 -.mk .na \fB\fIdatap\fR\fR .ad .RS 14n -.rt .sp .ne 2 -.mk .na \fB\fBddi_prop_lookup_int_array()\fR\fR .ad @@ -155,7 +138,6 @@ will point to memory containing the integer array property value. .sp .ne 2 -.mk .na \fB\fBddi_prop_lookup_int64_array()\fR\fR .ad @@ -167,7 +149,6 @@ return, will point to memory containing the integer array property value. .sp .ne 2 -.mk .na \fB\fBddi_prop_lookup_string_array()\fR\fR .ad @@ -181,7 +162,6 @@ the \fIargv\fR argument to \fBexecve\fR(2). .sp .ne 2 -.mk .na \fB\fBddi_prop_lookup_string()\fR\fR .ad @@ -193,7 +173,6 @@ to memory containing the \fBNULL \fRterminated string value of the property. .sp .ne 2 -.mk .na \fB\fBddi_prop_lookup_byte_array()\fR\fR .ad @@ -289,7 +268,6 @@ then the companion free call would be \fBddi_prop_free(\fR\fImy_int_ptr\fR\fB)\fR. .sp .ne 2 -.mk .na \fB\fBddi_prop_lookup_int_array()\fR\fR .ad @@ -304,7 +282,6 @@ integer array value of the property. .sp .ne 2 -.mk .na \fB\fBddi_prop_lookup_int64_array()\fR\fR .ad @@ -320,7 +297,6 @@ for 64-bit property values. .sp .ne 2 -.mk .na \fB\fBddi_prop_lookup_string_array()\fR\fR .ad @@ -335,7 +311,6 @@ strings, much like the \fIargv\fR argument to \fBexecve\fR(2). .sp .ne 2 -.mk .na \fB\fBddi_prop_lookup_string()\fR\fR .ad @@ -349,7 +324,6 @@ property. .sp .ne 2 -.mk .na \fB\fBddi_prop_lookup_byte_array()\fR\fR .ad @@ -363,7 +337,6 @@ value of the property. .sp .ne 2 -.mk .na \fB\fBddi_prop_free()\fR\fR .ad @@ -384,23 +357,19 @@ The functions \fBddi_prop_lookup_int_array()\fR, the following values: .sp .ne 2 -.mk .na \fB\fBDDI_PROP_SUCCESS\fR\fR .ad .RS 26n -.rt Upon success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_INVAL_ARG\fR\fR .ad .RS 26n -.rt If an attempt is made to look up a property with \fImatch_dev\fR equal to \fBDDI_DEV_T_NONE\fR, \fIname\fR is \fBNULL \fRor \fIname\fR is the null string. @@ -408,34 +377,28 @@ string. .sp .ne 2 -.mk .na \fB\fBDDI_PROP_NOT_FOUND\fR\fR .ad .RS 26n -.rt Property not found. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_UNDEFINED\fR\fR .ad .RS 26n -.rt Property explicitly not defined (see \fBddi_prop_undefine\fR(9F)). .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_CANNOT_DECODE\fR\fR .ad .RS 26n -.rt The value of the property cannot be decoded. .RE diff --git a/usr/src/man/man9f/ddi_prop_op.9f b/usr/src/man/man9f/ddi_prop_op.9f index ab0be87745..64b7b3958e 100644 --- a/usr/src/man/man9f/ddi_prop_op.9f +++ b/usr/src/man/man9f/ddi_prop_op.9f @@ -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 ddi_prop_op 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_PROP_OP 9F "Jan 16, 2006" .SH NAME ddi_prop_op, ddi_getprop, ddi_getlongprop, ddi_getlongprop_buf, ddi_getproplen \- get property information for leaf device drivers @@ -16,7 +16,7 @@ ddi_prop_op, ddi_getprop, ddi_getlongprop, ddi_getlongprop_buf, ddi_getproplen -\fBint\fR \fBddi_prop_op\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBddi_prop_op_t\fR \fIprop_op\fR, +\fBint\fR \fBddi_prop_op\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBddi_prop_op_t\fR \fIprop_op\fR, \fBint\fR \fIflags\fR, \fBchar *\fR\fIname\fR, \fBcaddr_t\fR \fIvaluep\fR, \fBint *\fR\fIlengthp\fR); .fi @@ -56,77 +56,63 @@ functions are obsolete. Use \fBddi_prop_lookup\fR(9F) instead of .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdev\fR\fR .ad .RS 12n -.rt Device number associated with property or \fBDDI_DEV_T_ANY\fR as the \fIwildcard\fR device number. .RE .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 12n -.rt Pointer to a device info node. .RE .sp .ne 2 -.mk .na \fB\fIprop_op\fR\fR .ad .RS 12n -.rt Property operator. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 12n -.rt Possible flag values are some combination of: .sp .ne 2 -.mk .na \fB\fBDDI_PROP_DONTPASS\fR\fR .ad .RS 21n -.rt do not pass request to parent device information node if property not found .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_CANSLEEP\fR\fR .ad .RS 21n -.rt the routine may sleep while allocating memory .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_NOTPROM\fR\fR .ad .RS 21n -.rt do not look at PROM properties (ignored on architectures that do not support PROM properties) .RE @@ -135,23 +121,19 @@ PROM properties) .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 12n -.rt String containing the name of the property. .RE .sp .ne 2 -.mk .na \fB\fIvaluep\fR\fR .ad .RS 12n -.rt If \fIprop_op\fR is \fBPROP_LEN_AND_VAL_BUF\fR, this should be a pointer to the users buffer. If \fIprop_op\fR is \fBPROP_LEN_AND_VAL_ALLOC,\fR this should be the \fIaddress\fR of a pointer. @@ -159,12 +141,10 @@ the \fIaddress\fR of a pointer. .sp .ne 2 -.mk .na \fB\fIlengthp\fR\fR .ad .RS 12n -.rt On exit, \fI*lengthp\fR will contain the property length. If \fIprop_op\fR is \fBPROP_LEN_AND_VAL_BUF\fR then before calling \fBddi_prop_op()\fR, \fIlengthp\fR should point to an \fBint\fR that contains the length of callers @@ -173,12 +153,10 @@ buffer. .sp .ne 2 -.mk .na \fB\fIdefvalue\fR\fR .ad .RS 12n -.rt The value that \fBddi_getprop()\fR returns if the property is not found. .RE @@ -270,57 +248,47 @@ The \fBddi_prop_op()\fR, \fBddi_getlongprop()\fR, \fBddi_getlongprop_buf()\fR, and \fBddi_getproplen()\fR functions return: .sp .ne 2 -.mk .na \fB\fBDDI_PROP_SUCCESS\fR\fR .ad .RS 26n -.rt Property found and returned. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_NOT_FOUND\fR\fR .ad .RS 26n -.rt Property not found. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_UNDEFINED\fR\fR .ad .RS 26n -.rt Property already explicitly undefined. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_NO_MEMORY\fR\fR .ad .RS 26n -.rt Property found, but unable to allocate memory. \fIlengthp\fR points to the correct property length. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_BUF_TOO_SMALL\fR\fR .ad .RS 26n -.rt Property found, but the supplied buffer is too small. \fIlengthp\fR points to the correct property length. .RE @@ -347,13 +315,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.51i) |cw(2.99i) -lw(2.51i) |lw(2.99i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelT{ +Stability Level T{ \fBddi_getlongprop()\fR, \fBddi_getlongprop_buf()\fR, \fBddi_getprop()\fR, and \fBddi_getproplen()\fR functions are Obsolete T} .TE diff --git a/usr/src/man/man9f/ddi_prop_update.9f b/usr/src/man/man9f/ddi_prop_update.9f index 7f5cd9433a..16156f8a1f 100644 --- a/usr/src/man/man9f/ddi_prop_update.9f +++ b/usr/src/man/man9f/ddi_prop_update.9f @@ -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 ddi_prop_update 9F "28 Aug 2001" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_PROP_UPDATE 9F "Aug 28, 2001" .SH NAME ddi_prop_update, ddi_prop_update_int_array, ddi_prop_update_int, ddi_prop_update_string_array, ddi_prop_update_int64, @@ -17,13 +17,13 @@ ddi_prop_update_int64_array, ddi_prop_update_string, ddi_prop_update_byte_array -\fBint\fR \fBddi_prop_update_int_array\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, +\fBint\fR \fBddi_prop_update_int_array\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBchar *\fR\fIname\fR, \fBint *\fR\fIdata\fR, \fBuint_t\fR \fInelements\fR); .fi .LP .nf -\fBint\fR \fBddi_prop_update_int\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBchar *\fR\fIname\fR, +\fBint\fR \fBddi_prop_update_int\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBchar *\fR\fIname\fR, \fBint\fR \fIdata\fR); .fi @@ -35,7 +35,7 @@ ddi_prop_update_int64_array, ddi_prop_update_string, ddi_prop_update_byte_array .LP .nf -\fBint\fR \fBddi_prop_update_int64\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBchar *\fR\fIname\fR, +\fBint\fR \fBddi_prop_update_int64\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBchar *\fR\fIname\fR, \fBint64_t\fR \fIdata\fR); .fi @@ -47,7 +47,7 @@ ddi_prop_update_int64_array, ddi_prop_update_string, ddi_prop_update_byte_array .LP .nf -\fBint\fR \fBddi_prop_update_string\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBchar *\fR\fIname\fR, +\fBint\fR \fBddi_prop_update_string\fR(\fBdev_t\fR \fIdev\fR, \fBdev_info_t *\fR\fIdip\fR, \fBchar *\fR\fIname\fR, \fBchar *\fR\fIdata\fR); .fi @@ -60,46 +60,38 @@ ddi_prop_update_int64_array, ddi_prop_update_string, ddi_prop_update_byte_array .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdev\fR \fR .ad .RS 14n -.rt Device number associated with the device. .RE .sp .ne 2 -.mk .na \fB\fIdip\fR \fR .ad .RS 14n -.rt Pointer to the device info node of device whose property list should be updated. .RE .sp .ne 2 -.mk .na \fB\fIname\fR \fR .ad .RS 14n -.rt String containing the name of the property to be updated. .RE .sp .ne 2 -.mk .na \fB\fInelements\fR \fR .ad .RS 14n -.rt The number of elements contained in the memory pointed at by \fIdata\fR. .RE @@ -108,12 +100,10 @@ The number of elements contained in the memory pointed at by \fIdata\fR. \fBddi_prop_update_int_array()\fR .sp .ne 2 -.mk .na \fB\fIdata\fR \fR .ad .RS 9n -.rt A pointer an integer array with which to update the property. .RE @@ -122,12 +112,10 @@ A pointer an integer array with which to update the property. \fBddi_prop_update_int()\fR .sp .ne 2 -.mk .na \fB\fIdata\fR \fR .ad .RS 9n -.rt An integer value with which to update the property. .RE @@ -136,12 +124,10 @@ An integer value with which to update the property. \fBddi_prop_update_int64_array()\fR .sp .ne 2 -.mk .na \fB\fIdata\fR \fR .ad .RS 9n -.rt An pointer to a 64-bit integer array with which to update the property. .RE @@ -150,12 +136,10 @@ An pointer to a 64-bit integer array with which to update the property. \fBddi_prop_update_int64()\fR .sp .ne 2 -.mk .na \fB\fIdata\fR \fR .ad .RS 9n -.rt A 64-bit integer value with which to update the property. .RE @@ -164,12 +148,10 @@ A 64-bit integer value with which to update the property. \fBddi_prop_update_string_array()\fR .sp .ne 2 -.mk .na \fB\fIdata\fR \fR .ad .RS 9n -.rt A pointer to a string array with which to update the property. The array of strings is formatted as an array of pointers to \fBNULL \fRterminated strings, much like the \fIargv\fR argument to \fBexecve\fR(2). @@ -180,12 +162,10 @@ much like the \fIargv\fR argument to \fBexecve\fR(2). \fBddi_prop_update_string()\fR .sp .ne 2 -.mk .na \fB\fIdata\fR \fR .ad .RS 9n -.rt A pointer to a string value with which to update the property. .RE @@ -194,12 +174,10 @@ A pointer to a string value with which to update the property. \fBddi_prop_update_byte_array()\fR .sp .ne 2 -.mk .na \fB\fIdata\fR \fR .ad .RS 9n -.rt A pointer to a byte array with which to update the property. .RE @@ -324,35 +302,29 @@ value of the property. All of the property update routines return: .sp .ne 2 -.mk .na \fB\fBDDI_PROP_SUCCESS\fR \fR .ad .RS 27n -.rt On success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_INVAL_ARG\fR \fR .ad .RS 27n -.rt If an attempt is made to update a property with \fIname\fR set to \fINULL\fR or \fIname\fR set to the null string. .RE .sp .ne 2 -.mk .na \fB\fBDDI_PROP_CANNOT_ENCODE\fR \fR .ad .RS 27n -.rt If the bytes of the property cannot be encoded. .RE diff --git a/usr/src/man/man9f/ddi_put8.9f b/usr/src/man/man9f/ddi_put8.9f index 57a6750170..ae1bfe2ae2 100644 --- a/usr/src/man/man9f/ddi_put8.9f +++ b/usr/src/man/man9f/ddi_put8.9f @@ -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 ddi_put8 9F "1 Nov 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_PUT8 9F "Nov 1, 2005" .SH NAME ddi_put8, ddi_put16, ddi_put32, ddi_put64, ddi_putb, ddi_putl, ddi_putll, ddi_putw \- write data to the mapped memory address, device register or @@ -11,30 +11,30 @@ allocated DMA memory address .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBvoid\fR \fBddi_put8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint8_t\fR \fI*dev_addr\fR, +\fBvoid\fR \fBddi_put8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint8_t\fR \fI*dev_addr\fR, \fBuint8_t\fR \fIvalue\fR); .fi .LP .nf -\fBvoid\fR \fBddi_put16\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint16_t\fR \fI*dev_addr\fR, +\fBvoid\fR \fBddi_put16\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint16_t\fR \fI*dev_addr\fR, \fBuint16_t\fR \fIvalue\fR); .fi .LP .nf -\fBvoid\fR \fBddi_put32\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint32_t\fR \fI*dev_addr\fR, +\fBvoid\fR \fBddi_put32\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint32_t\fR \fI*dev_addr\fR, \fBuint32_t\fR \fIvalue\fR); .fi .LP .nf -\fBvoid\fR \fBddi_put64\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint64_t\fR \fI*dev_addr\fR, +\fBvoid\fR \fBddi_put64\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint64_t\fR \fI*dev_addr\fR, \fBuint64_t\fR \fIvalue\fR); .fi @@ -49,35 +49,29 @@ function replaces \fBddi_putl()\fR. The \fBddi_put64()\fR function replaces .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 12n -.rt The data access handle returned from setup calls, such as \fBddi_regs_map_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIvalue\fR\fR .ad .RS 12n -.rt The data to be written to the device. .RE .sp .ne 2 -.mk .na \fB\fIdev_addr\fR\fR .ad .RS 12n -.rt Base device address. .RE @@ -113,13 +107,12 @@ 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 StabilityT{ +Interface Stability T{ \fBddi_putb()\fR, \fBddi_putl()\fR, \fBddi_putll()\fR, and \fBddi_putw()\fR are Obsolete \fBddi_put8()\fR, \fBddi_put16()\fR, \fBddi_put32()\fR, \fBddi_put64()\fR are Committed T} .TE diff --git a/usr/src/man/man9f/ddi_regs_map_free.9f b/usr/src/man/man9f/ddi_regs_map_free.9f index e2b8379617..4f09d2c099 100644 --- a/usr/src/man/man9f/ddi_regs_map_free.9f +++ b/usr/src/man/man9f/ddi_regs_map_free.9f @@ -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 ddi_regs_map_free 9F "18 Nov 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_REGS_MAP_FREE 9F "Nov 18, 2004" .SH NAME ddi_regs_map_free \- free a previously mapped register address space .SH SYNOPSIS @@ -24,12 +24,10 @@ Solaris \fBDDI\fR specific (Solaris \fBDDI\fR). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 11n -.rt Pointer to a data access handle previously allocated by a call to a setup routine such as \fBddi_regs_map_setup\fR(9F). .RE @@ -53,13 +51,12 @@ 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 _ -ArchitecturePCI Local Bus, SBus, ISA +Architecture PCI Local Bus, SBus, ISA .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_regs_map_setup.9f b/usr/src/man/man9f/ddi_regs_map_setup.9f index aef3e1eb9d..1e9189505f 100644 --- a/usr/src/man/man9f/ddi_regs_map_setup.9f +++ b/usr/src/man/man9f/ddi_regs_map_setup.9f @@ -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 ddi_regs_map_setup 9F "18 Nov 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_REGS_MAP_SETUP 9F "Nov 18, 2004" .SH NAME ddi_regs_map_setup \- set up a mapping for a register address space .SH SYNOPSIS @@ -15,7 +15,7 @@ ddi_regs_map_setup \- set up a mapping for a register address space \fBint\fR \fBddi_regs_map_setup\fR(\fBdev_info_t\fR \fI*dip\fR, \fBuint_t\fR \fIrnumber\fR, \fBcaddr_t\fR \fI*addrp\fR, - \fBoffset_t\fR \fIoffset\fR, \fBoffset_t\fR \fIlen\fR, \fBddi_device_acc_attr_t\fR \fI*accattrp\fR, + \fBoffset_t\fR \fIoffset\fR, \fBoffset_t\fR \fIlen\fR, \fBddi_device_acc_attr_t\fR \fI*accattrp\fR, \fBddi_acc_handle_t\fR \fI*handlep\fR); .fi @@ -26,34 +26,28 @@ Solaris \fBDDI\fR specific (Solaris \fBDDI\fR). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 12n -.rt Pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIrnumber\fR\fR .ad .RS 12n -.rt Index number to the register address space set. .RE .sp .ne 2 -.mk .na \fB\fIaddrp\fR\fR .ad .RS 12n -.rt A platform-dependent value that, when added to an offset that is less than or equal to the \fIlen\fR parameter (see below), is used for the \fBdev_addr\fR argument to the \fBddi_get\fR, \fBddi_mem_get\fR, and @@ -62,46 +56,38 @@ argument to the \fBddi_get\fR, \fBddi_mem_get\fR, and .sp .ne 2 -.mk .na \fB\fIoffset\fR\fR .ad .RS 12n -.rt Offset into the register address space. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 12n -.rt Length to be mapped. .RE .sp .ne 2 -.mk .na \fB\fIaccattrp\fR\fR .ad .RS 12n -.rt Pointer to a device access attribute structure of this mapping (see \fBddi_device_acc_attr\fR(9S)). .RE .sp .ne 2 -.mk .na \fB\fIhandlep\fR\fR .ad .RS 12n -.rt Pointer to a data access handle. .RE @@ -134,46 +120,38 @@ maintain a consistent view between the host and the device. \fBddi_regs_map_setup()\fR returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 25n -.rt Successfully set up the mapping for data access. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 25n -.rt Invalid register number \fIrnumber\fR, offset \fIoffset\fR, or length \fIlen\fR. .RE .sp .ne 2 -.mk .na \fB\fBDDI_ME_RNUMBER_RANGE\fR\fR .ad .RS 25n -.rt Invalid register number \fIrnumber\fR or unable to find \fIreg\fR property. .RE .sp .ne 2 -.mk .na \fB\fBDDI_REGS_ACC_CONFLICT\fR\fR .ad .RS 25n -.rt Cannot enable the register mapping due to access conflicts with other enabled mappings. .RE @@ -196,13 +174,12 @@ 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 _ -ArchitecturePCI Local Bus, SBus, ISA +Architecture PCI Local Bus, SBus, ISA .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_remove_event_handler.9f b/usr/src/man/man9f/ddi_remove_event_handler.9f index b934079999..f46282b99c 100644 --- a/usr/src/man/man9f/ddi_remove_event_handler.9f +++ b/usr/src/man/man9f/ddi_remove_event_handler.9f @@ -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 ddi_remove_event_handler 9F "2 May 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_REMOVE_EVENT_HANDLER 9F "May 2, 2003" .SH NAME ddi_remove_event_handler \- remove an NDI event service callback handler .SH SYNOPSIS @@ -22,12 +22,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fBddi_registration_id_t \fR\fIid\fR\fR .ad .RS 28n -.rt Unique system wide registration ID return by \fBddi_add_event_handler\fR(9F) upon successful registration. .RE @@ -42,23 +40,19 @@ not be invoked in the face of the event. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Callback handler removed successfully. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Failed to remove callback handler. .RE @@ -75,13 +69,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelCommitted +Stability Level Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_remove_minor_node.9f b/usr/src/man/man9f/ddi_remove_minor_node.9f index 4ce29cb642..4761fae149 100644 --- a/usr/src/man/man9f/ddi_remove_minor_node.9f +++ b/usr/src/man/man9f/ddi_remove_minor_node.9f @@ -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 ddi_remove_minor_node 9F "10 Mar 1992" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_REMOVE_MINOR_NODE 9F "Mar 10, 1992" .SH NAME ddi_remove_minor_node \- remove a minor node for this dev_info .SH SYNOPSIS @@ -19,23 +19,19 @@ Solaris \fBDDI\fR specific (Solaris \fBDDI\fR). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR \fR .ad .RS 9n -.rt A pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIname\fR \fR .ad .RS 9n -.rt The name of this minor device. If \fIname\fR is \fINULL\fR, then remove all minor data structures from this \fBdev_info\fR. .RE diff --git a/usr/src/man/man9f/ddi_removing_power.9f b/usr/src/man/man9f/ddi_removing_power.9f index 0f79021b7f..138818b9a1 100644 --- a/usr/src/man/man9f/ddi_removing_power.9f +++ b/usr/src/man/man9f/ddi_removing_power.9f @@ -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 ddi_removing_power 9F "14 March 2001" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_REMOVING_POWER 9F "Mar 14, 2001" .SH NAME ddi_removing_power \- check whether \fBDDI_SUSPEND\fR might result in power being removed from a device @@ -38,12 +38,10 @@ the device due to a failure to suspend and power off the system. The \fBddi_removing_power()\fR function supports the following parameter: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt pointer to the device's \fBdev_info\fR structure .RE @@ -53,24 +51,20 @@ pointer to the device's \fBdev_info\fR structure The \fBddi_removing_power()\fR function returns: .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 5n -.rt Power might be removed by the framework as a result of the pending \fBDDI_SUSPEND\fR call. .RE .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 5n -.rt Power will not be removed by the framework as a result of the pending \fBDDI_SUSPEND\fR call. .RE @@ -95,7 +89,7 @@ int /* * We do not allow DDI_SUSPEND if power will be removed and * we have a device that damages tape when power is removed - * We do support DDI_SUSPEND for Device Reconfiguration, + * We do support DDI_SUSPEND for Device Reconfiguration, * however. */ if (ddi_removing_power(dip) && xxdamages_tape(dip)) @@ -112,13 +106,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_rep_get8.9f b/usr/src/man/man9f/ddi_rep_get8.9f index bfa7bb0a68..40607c5667 100644 --- a/usr/src/man/man9f/ddi_rep_get8.9f +++ b/usr/src/man/man9f/ddi_rep_get8.9f @@ -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 ddi_rep_get8 9F "1 Nov 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_REP_GET8 9F "Nov 1, 2005" .SH NAME ddi_rep_get8, ddi_rep_get16, ddi_rep_get32, ddi_rep_get64, ddi_rep_getw, ddi_rep_getl, ddi_rep_getll, ddi_rep_getb \- read data from the mapped memory @@ -16,25 +16,25 @@ address, device register or allocated DMA memory address -\fBvoid\fR \fBddi_rep_get8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint8_t\fR \fI*host_addr\fR, +\fBvoid\fR \fBddi_rep_get8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint8_t\fR \fI*host_addr\fR, \fBuint8_t\fR \fI*dev_addr\fR, \fBsize_t\fR \fIrepcount\fR, \fBuint_t\fR \fIflags\fR); .fi .LP .nf -\fBvoid\fR \fBddi_rep_get16\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint16_t\fR \fI*host_addr\fR, +\fBvoid\fR \fBddi_rep_get16\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint16_t\fR \fI*host_addr\fR, \fBuint16_t\fR \fI*dev_addr\fR, \fBsize_t\fR \fIrepcount\fR, \fBuint_t\fR \fIflags\fR); .fi .LP .nf -\fBvoid\fR \fBddi_rep_get32\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint32_t\fR \fI*host_addr\fR, +\fBvoid\fR \fBddi_rep_get32\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint32_t\fR \fI*host_addr\fR, \fBuint32_t\fR \fI*dev_addr\fR, \fBsize_t\fR \fIrepcount\fR, \fBuint_t\fR \fIflags\fR); .fi .LP .nf -\fBvoid\fR \fBddi_rep_get64\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint64_t\fR \fI*host_addr\fR, +\fBvoid\fR \fBddi_rep_get64\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint64_t\fR \fI*host_addr\fR, \fBuint64_t\fR \fI*dev_addr\fR, \fBsize_t\fR \fIrepcount\fR, \fBuint_t\fR \fIflags\fR); .fi @@ -50,78 +50,64 @@ The \fBddi_rep_get32()\fR function replaces \fBddi_rep_getl()\fR. The .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 13n -.rt The data access handle returned from setup calls, such as \fBddi_regs_map_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIhost_addr\fR\fR .ad .RS 13n -.rt Base host address. .RE .sp .ne 2 -.mk .na \fB\fIdev_addr\fR\fR .ad .RS 13n -.rt Base device address. .RE .sp .ne 2 -.mk .na \fB\fIrepcount\fR\fR .ad .RS 13n -.rt Number of data accesses to perform. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 13n -.rt Device address flags: .sp .ne 2 -.mk .na \fB\fBDDI_DEV_AUTOINCR\fR\fR .ad .RS 23n -.rt Automatically increment the device address, \fIdev_addr\fR, during data accesses. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DEV_NO_AUTOINCR\fR\fR .ad .RS 23n -.rt Do not advance the device address, \fIdev_addr\fR, during data accesses. .RE @@ -168,13 +154,12 @@ 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 StabilityT{ +Interface Stability T{ \fBddi_rep_getb()\fR, \fBddi_rep_getl()\fR, \fBddi_rep_getll()\fR, and \fBddi_rep_getw()\fR are Obsolete \fBddi_rep_get8()\fR, \fBddi_rep_get16()\fR, \fBddi_rep_get32()\fR, \fBddi_rep_get64()\fR are Committed T} .TE diff --git a/usr/src/man/man9f/ddi_rep_put8.9f b/usr/src/man/man9f/ddi_rep_put8.9f index 2a320f60f6..b0066c9720 100644 --- a/usr/src/man/man9f/ddi_rep_put8.9f +++ b/usr/src/man/man9f/ddi_rep_put8.9f @@ -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 ddi_rep_put8 9F "1 Nov 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_REP_PUT8 9F "Nov 1, 2005" .SH NAME ddi_rep_put8, ddi_rep_put16, ddi_rep_put32, ddi_rep_put64, ddi_rep_putb, ddi_rep_putw, ddi_rep_putl, ddi_rep_putll \- write data to the mapped memory @@ -11,30 +11,30 @@ address, device register or allocated DMA memory address .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBvoid\fR \fBddi_rep_put8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint8_t\fR \fI*host_addr\fR, +\fBvoid\fR \fBddi_rep_put8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint8_t\fR \fI*host_addr\fR, \fBuint8_t\fR \fI*dev_addr\fR, \fBsize_t\fR \fIrepcount\fR, \fBuint_t\fR \fIflags\fR); .fi .LP .nf -\fBvoid\fR \fBddi_rep_put16\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint16_t\fR \fI*host_addr\fR, +\fBvoid\fR \fBddi_rep_put16\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint16_t\fR \fI*host_addr\fR, \fBuint16_t\fR \fI*dev_addr\fR, \fBsize_t\fR \fIrepcount\fR, \fBuint_t\fR \fIflags\fR); .fi .LP .nf -\fBvoid\fR \fBddi_rep_put32\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint32_t\fR \fI*host_addr\fR, +\fBvoid\fR \fBddi_rep_put32\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint32_t\fR \fI*host_addr\fR, \fBuint32_t\fR \fI*dev_addr\fR, \fBsize_t\fR \fIrepcount\fR, \fBuint_t\fR \fIflags\fR); .fi .LP .nf -\fBvoid\fR \fBddi_rep_put64\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint64_t\fR \fI*host_addr\fR, +\fBvoid\fR \fBddi_rep_put64\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBuint64_t\fR \fI*host_addr\fR, \fBuint64_t\fR \fI*dev_addr\fR,\fBsize_t\fR \fIrepcount\fR, \fBuint_t\fR \fIflags\fR); .fi @@ -50,78 +50,64 @@ The \fBddi_rep_put32()\fR function replaces \fBddi_rep_putl()\fR. The .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 13n -.rt The data access handle returned from setup calls, such as \fBddi_regs_map_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIhost_addr\fR\fR .ad .RS 13n -.rt Base host address. .RE .sp .ne 2 -.mk .na \fB\fIdev_addr\fR\fR .ad .RS 13n -.rt Base device address. .RE .sp .ne 2 -.mk .na \fB\fIrepcount\fR\fR .ad .RS 13n -.rt Number of data accesses to perform. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 13n -.rt Device address flags: .sp .ne 2 -.mk .na \fB\fBDDI_DEV_AUTOINCR\fR\fR .ad .RS 23n -.rt Automatically increment the device address, \fIdev_addr\fR, during data accesses. .RE .sp .ne 2 -.mk .na \fB\fBDDI_DEV_NO_AUTOINCR\fR\fR .ad .RS 23n -.rt Do not advance the device address, \fIdev_addr\fR, during data accesses. .RE @@ -164,13 +150,12 @@ 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 StabilityT{ +Interface Stability T{ \fBddi_rep_putb()\fR, \fBddi_rep_putl()\fR, \fBddi_rep_putll()\fR, and \fBddi_rep_putw()\fR are Obsolete \fBddi_rep_put8()\fR, \fBddi_rep_put16()\fR, \fBddi_rep_put32()\fR, \fBddi_rep_put64()\fR are Committed T} .TE diff --git a/usr/src/man/man9f/ddi_report_dev.9f b/usr/src/man/man9f/ddi_report_dev.9f index 2ef7f773ed..e9b4b458f4 100644 --- a/usr/src/man/man9f/ddi_report_dev.9f +++ b/usr/src/man/man9f/ddi_report_dev.9f @@ -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 ddi_report_dev 9F "7 Jun 1993" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_REPORT_DEV 9F "Jun 7, 1993" .SH NAME ddi_report_dev \- announce a device .SH SYNOPSIS @@ -25,12 +25,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR \fR .ad .RS 8n -.rt a pointer the device's \fBdev_info\fR structure. .RE diff --git a/usr/src/man/man9f/ddi_root_node.9f b/usr/src/man/man9f/ddi_root_node.9f index a932db3f50..397b780be9 100644 --- a/usr/src/man/man9f/ddi_root_node.9f +++ b/usr/src/man/man9f/ddi_root_node.9f @@ -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 ddi_root_node 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_ROOT_NODE 9F "Jan 16, 2006" .SH NAME ddi_root_node \- get the root of the dev_info tree .SH SYNOPSIS diff --git a/usr/src/man/man9f/ddi_segmap.9f b/usr/src/man/man9f/ddi_segmap.9f index 81481f6769..9840343df8 100644 --- a/usr/src/man/man9f/ddi_segmap.9f +++ b/usr/src/man/man9f/ddi_segmap.9f @@ -3,28 +3,28 @@ .\" 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 ddi_segmap 9F "17 Nov 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_SEGMAP 9F "Nov 17, 2003" .SH NAME ddi_segmap, ddi_segmap_setup \- set up a user mapping using seg_dev .SH SYNOPSIS .LP .nf #include <sys/conf.h> -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBddi_segmap\fR(\fBdev_t\fR \fIdev\fR, \fBoff_t\fR \fIoffset\fR, \fBstruct as *\fR\fIasp\fR, - \fBcaddr_t *\fR\fIaddrp\fR, \fBoff_t\fR \fIlen\fR, \fBuint_t\fR \fIprot\fR, +\fBint\fR \fBddi_segmap\fR(\fBdev_t\fR \fIdev\fR, \fBoff_t\fR \fIoffset\fR, \fBstruct as *\fR\fIasp\fR, + \fBcaddr_t *\fR\fIaddrp\fR, \fBoff_t\fR \fIlen\fR, \fBuint_t\fR \fIprot\fR, \fBuint_t\fR \fImaxprot\fR, \fBuint_t\fR \fIflags\fR, \fBcred_t\fR \fI*credp\fR); .fi .LP .nf -\fBint\fR \fBddi_segmap_setup\fR(\fBdev_t\fR \fIdev\fR, \fBoff_t\fR \fIoffset\fR, \fBstruct as *\fR\fIasp\fR, - \fBcaddr_t *\fR\fIaddrp\fR, \fBoff_t\fR \fIlen\fR, \fBuint_t\fR \fIprot\fR, - \fBuint_t\fR \fImaxprot\fR, \fBuint_t\fR \fIflags\fR, \fBcred_t\fR \fI*credp\fR, +\fBint\fR \fBddi_segmap_setup\fR(\fBdev_t\fR \fIdev\fR, \fBoff_t\fR \fIoffset\fR, \fBstruct as *\fR\fIasp\fR, + \fBcaddr_t *\fR\fIaddrp\fR, \fBoff_t\fR \fIlen\fR, \fBuint_t\fR \fIprot\fR, + \fBuint_t\fR \fImaxprot\fR, \fBuint_t\fR \fIflags\fR, \fBcred_t\fR \fI*credp\fR, \fBddi_device_acc_attr_t\fR \fI*accattrp\fR, \fBuint_t\fR \fIrnumber\fR); .fi @@ -37,124 +37,102 @@ These interfaces are obsolete. See \fBdevmap\fR(9E) for an alternative to .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdev\fR \fR .ad .RS 12n -.rt The device whose memory is to be mapped. .RE .sp .ne 2 -.mk .na \fB\fIoffset\fR \fR .ad .RS 12n -.rt The offset within device memory at which the mapping begins. .RE .sp .ne 2 -.mk .na \fB\fIasp\fR \fR .ad .RS 12n -.rt An opaque pointer to the user address space into which the device memory should be mapped. .RE .sp .ne 2 -.mk .na \fB\fIaddrp\fR \fR .ad .RS 12n -.rt Pointer to the starting address within the user address space to which the device memory should be mapped. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR \fR .ad .RS 12n -.rt Length (in bytes) of the memory to be mapped. .RE .sp .ne 2 -.mk .na \fB\fIprot\fR \fR .ad .RS 12n -.rt A bit field that specifies the protections. Some combinations of possible settings are: .sp .ne 2 -.mk .na \fB\fBPROT_READ\fR \fR .ad .RS 15n -.rt Read access is desired. .RE .sp .ne 2 -.mk .na \fB\fBPROT_WRITE\fR \fR .ad .RS 15n -.rt Write access is desired. .RE .sp .ne 2 -.mk .na \fB\fBPROT_EXEC\fR \fR .ad .RS 15n -.rt Execute access is desired. .RE .sp .ne 2 -.mk .na \fB\fBPROT_USER\fR \fR .ad .RS 15n -.rt User-level access is desired (the mapping is being done as a result of a \fBmmap\fR(2) system call). .RE .sp .ne 2 -.mk .na \fB\fBPROT_ALL\fR \fR .ad .RS 15n -.rt All access is desired. .RE @@ -162,12 +140,10 @@ All access is desired. .sp .ne 2 -.mk .na \fB\fImaxprot\fR \fR .ad .RS 12n -.rt Maximum protection flag possible for attempted mapping (the \fBPROT_WRITE\fR bit may be masked out if the user opened the special file read-only). If \fB(maxprot & prot) != prot\fR then there is an access violation. @@ -175,43 +151,35 @@ bit may be masked out if the user opened the special file read-only). If .sp .ne 2 -.mk .na \fB\fIflags\fR \fR .ad .RS 12n -.rt Flags indicating type of mapping. Possible values are (other bits may be set): .sp .ne 2 -.mk .na \fB\fBMAP_PRIVATE\fR \fR .ad .RS 16n -.rt Changes are private. .RE .sp .ne 2 -.mk .na \fB\fBMAP_SHARED\fR \fR .ad .RS 16n -.rt Changes should be shared. .RE .sp .ne 2 -.mk .na \fB\fBMAP_FIXED\fR \fR .ad .RS 16n -.rt The user specified an address in \fI*addrp\fR rather than letting the system pick and address. .RE @@ -220,36 +188,30 @@ pick and address. .sp .ne 2 -.mk .na \fB\fIcredp\fR \fR .ad .RS 12n -.rt Pointer to user credential structure. .RE .SS "ddi_segmap_setup(\|)" .sp .ne 2 -.mk .na \fB\fIdev_acc_attr\fR \fR .ad .RS 17n -.rt Pointer to a \fBddi_device_acc_attr\fR(9S) structure which contains the device access attributes to apply to this mapping. .RE .sp .ne 2 -.mk .na \fB\fIrnumber\fR \fR .ad .RS 17n -.rt Index number to the register address space set. .RE @@ -294,23 +256,19 @@ structure and requires a driver to have a \fBsegmap\fR(9E) entry point. \fBddi_segmap()\fR and \fBddi_segmap_setup()\fR return the following values: .sp .ne 2 -.mk .na \fB\fB0\fR \fR .ad .RS 12n -.rt Successful completion. .RE .sp .ne 2 -.mk .na \fB\fBNon-zero\fR\fR .ad .RS 12n -.rt An error occurred. In particular, they return \fBENXIO\fR if the range to be mapped is invalid. .RE @@ -328,13 +286,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_slaveonly.9f b/usr/src/man/man9f/ddi_slaveonly.9f index 16680ed72d..cd7e11d3d3 100644 --- a/usr/src/man/man9f/ddi_slaveonly.9f +++ b/usr/src/man/man9f/ddi_slaveonly.9f @@ -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 ddi_slaveonly 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_SLAVEONLY 9F "Jan 16, 2006" .SH NAME ddi_slaveonly \- tell if a device is installed in a slave access only location .SH SYNOPSIS @@ -25,12 +25,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt A pointer to the device's \fBdev_info\fR structure. .RE @@ -44,23 +42,19 @@ slot. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt The device has been installed in a slave access only location. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt The device has not been installed in a slave access only location. .RE diff --git a/usr/src/man/man9f/ddi_soft_state.9f b/usr/src/man/man9f/ddi_soft_state.9f index 7f8ed5e45c..e841b827f3 100644 --- a/usr/src/man/man9f/ddi_soft_state.9f +++ b/usr/src/man/man9f/ddi_soft_state.9f @@ -4,7 +4,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 ddi_soft_state 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_SOFT_STATE 9F "Jan 16, 2006" .SH NAME ddi_soft_state, ddi_get_soft_state, ddi_soft_state_fini, ddi_soft_state_free, ddi_soft_state_init, ddi_soft_state_zalloc \- driver soft state utility @@ -12,8 +12,8 @@ routines .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> -#include <sys/sunddi.h> +#include <sys/ddi.h> +#include <sys/sunddi.h> @@ -47,59 +47,49 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIstate_p\fR\fR .ad .RS 11n -.rt Address of the opaque state pointer which will be initialized by \fBddi_soft_state_init()\fR to point to implementation dependent data. .RE .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 11n -.rt Size of the item which will be allocated by subsequent calls to \fBddi_soft_state_zalloc()\fR. .RE .sp .ne 2 -.mk .na \fB\fIn_items\fR\fR .ad .RS 11n -.rt A hint of the number of items which will be preallocated; zero is allowed. .RE .sp .ne 2 -.mk .na \fB\fIstate\fR\fR .ad .RS 11n -.rt An opaque pointer to implementation-dependent data that describes the soft state. .RE .sp .ne 2 -.mk .na \fB\fIitem\fR\fR .ad .RS 11n -.rt The item number for the state structure; usually the instance number of the associated devinfo node. .RE @@ -166,23 +156,19 @@ structures in an MT-safe fashion, thus no additional locks should be necessary. \fBddi_get_soft_state()\fR .sp .ne 2 -.mk .na \fB\fINULL\fR\fR .ad .RS 11n -.rt The requested state structure was not allocated at the time of the call. .RE .sp .ne 2 -.mk .na \fB\fIpointer\fR\fR .ad .RS 11n -.rt The pointer to the state structure. .RE @@ -191,23 +177,19 @@ The pointer to the state structure. \fBddi_soft_state_init()\fR .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 10n -.rt The allocation was successful. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Either the \fBsize\fR parameter was zero, or the \fIstate_p\fR parameter was invalid. .RE @@ -217,23 +199,19 @@ invalid. \fBddi_soft_state_zalloc()\fR .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt The allocation was successful. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt The routine failed to allocate the storage required; either the \fIstate\fR parameter was invalid, the item number was negative, or an attempt was made to allocate an item number that was already allocated. diff --git a/usr/src/man/man9f/ddi_strtol.9f b/usr/src/man/man9f/ddi_strtol.9f index 0df523607c..102e332e7c 100644 --- a/usr/src/man/man9f/ddi_strtol.9f +++ b/usr/src/man/man9f/ddi_strtol.9f @@ -3,16 +3,16 @@ .\" 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 ddi_strtol 9F "13 May 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_STRTOL 9F "May 13, 2004" .SH NAME ddi_strtol \- String conversion routines .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBddi_strtol\fR(\fBconst char *\fR\fIstr\fR, \fBchar **\fR\fIendptr\fR, \fBint\fR \fIbase\fR, +\fBint\fR \fBddi_strtol\fR(\fBconst char *\fR\fIstr\fR, \fBchar **\fR\fIendptr\fR, \fBint\fR \fIbase\fR, \fBlong *\fR\fIresult\fR); .fi @@ -23,45 +23,37 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIstr\fR \fR .ad .RS 11n -.rt Pointer to a character string to be converted. .RE .sp .ne 2 -.mk .na \fB\fIendptr\fR \fR .ad .RS 11n -.rt Post-conversion final string of unrecognized characters. .RE .sp .ne 2 -.mk .na \fB\fIbase\fR\fR .ad .RS 11n -.rt Radix used for conversion. .RE .sp .ne 2 -.mk .na \fB\fIresult\fR \fR .ad .RS 11n -.rt Pointer to variable which contains the converted value. .RE diff --git a/usr/src/man/man9f/ddi_strtoll.9f b/usr/src/man/man9f/ddi_strtoll.9f index 507615d137..e9a5480c7f 100644 --- a/usr/src/man/man9f/ddi_strtoll.9f +++ b/usr/src/man/man9f/ddi_strtoll.9f @@ -9,7 +9,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 ddi_strtoll 9F "25 Feb 2009" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_STRTOLL 9F "Feb 25, 2009" .SH NAME ddi_strtoll, ddi_strtoull \- string conversion functions .SH SYNOPSIS @@ -31,45 +31,37 @@ ddi_strtoll, ddi_strtoull \- string conversion functions .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIstr\fR\fR .ad .RS 10n -.rt pointer to a character string to be converted .RE .sp .ne 2 -.mk .na \fB\fIendptr\fR\fR .ad .RS 10n -.rt post-conversion final string of unrecognized characters .RE .sp .ne 2 -.mk .na \fB\fIbase\fR\fR .ad .RS 10n -.rt radix used for conversion .RE .sp .ne 2 -.mk .na \fB\fIresult\fR\fR .ad .RS 10n -.rt pointer to variable which contains the converted value .RE @@ -176,13 +168,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/ddi_strtoul.9f b/usr/src/man/man9f/ddi_strtoul.9f index 248018f6c6..7093ba8d2c 100644 --- a/usr/src/man/man9f/ddi_strtoul.9f +++ b/usr/src/man/man9f/ddi_strtoul.9f @@ -3,16 +3,16 @@ .\" 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 ddi_strtoul 9F "13 May 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_STRTOUL 9F "May 13, 2004" .SH NAME ddi_strtoul \- String conversion functions .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBddi_strtoul\fR(\fBconst char *\fR\fIstr\fR, \fBchar **\fR\fIendptr\fR, \fBint\fR \fIbase\fR, +\fBint\fR \fBddi_strtoul\fR(\fBconst char *\fR\fIstr\fR, \fBchar **\fR\fIendptr\fR, \fBint\fR \fIbase\fR, \fBunsigned long *\fR\fIresult\fR); .fi @@ -23,45 +23,37 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIstr\fR \fR .ad .RS 11n -.rt Pointer to a character string to be converted. .RE .sp .ne 2 -.mk .na \fB\fIendptr\fR \fR .ad .RS 11n -.rt Post-conversion final string of unrecognized characters. .RE .sp .ne 2 -.mk .na \fB\fIbase\fR\fR .ad .RS 11n -.rt Radix used for conversion. .RE .sp .ne 2 -.mk .na \fB\fIresult\fR \fR .ad .RS 11n -.rt Pointer to variable which contains the converted value. .RE diff --git a/usr/src/man/man9f/ddi_umem_alloc.9f b/usr/src/man/man9f/ddi_umem_alloc.9f index 1e45c68967..07ea3c63b6 100644 --- a/usr/src/man/man9f/ddi_umem_alloc.9f +++ b/usr/src/man/man9f/ddi_umem_alloc.9f @@ -4,7 +4,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 ddi_umem_alloc 9F "19 Mar 2002" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_UMEM_ALLOC 9F "Mar 19, 2002" .SH NAME ddi_umem_alloc, ddi_umem_free \- allocate and free page-aligned kernel memory .SH SYNOPSIS @@ -30,23 +30,19 @@ Solaris DDI specific (Solaris DDI). .SS "ddi_umem_alloc()" .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 11n -.rt Number of bytes to allocate. .RE .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 11n -.rt Used to determine the sleep and pageable conditions. .sp Possible sleep flags are \fBDDI_UMEM_SLEEP\fR, which allows sleeping until @@ -59,24 +55,20 @@ allocate pageable memory using the \fBDDI_UMEM_PAGEABLE\fR flag. .sp .ne 2 -.mk .na \fB\fIcookiep\fR\fR .ad .RS 11n -.rt Pointer to a kernel memory cookie. .RE .SS "ddi_umem_free()" .sp .ne 2 -.mk .na \fB\fIcookie\fR\fR .ad .RS 10n -.rt A kernel memory cookie allocated in \fBddi_umem_alloc()\fR. .RE @@ -111,24 +103,20 @@ entire buffer. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBNon-null\fR\fR .ad .RS 12n -.rt Successful completion. \fBddi_umem_alloc()\fR returns a pointer to the allocated memory. .RE .sp .ne 2 -.mk .na \fB\fBNULL\fR\fR .ad .RS 12n -.rt Memory cannot be allocated by \fBddi_umem_alloc()\fR because \fBDDI_UMEM_NOSLEEP\fR is set and the system is out of resources. .RE diff --git a/usr/src/man/man9f/ddi_umem_iosetup.9f b/usr/src/man/man9f/ddi_umem_iosetup.9f index 68ec98ca93..082be2b78a 100644 --- a/usr/src/man/man9f/ddi_umem_iosetup.9f +++ b/usr/src/man/man9f/ddi_umem_iosetup.9f @@ -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 ddi_umem_iosetup 9F "4 Feb 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_UMEM_IOSETUP 9F "Feb 4, 2003" .SH NAME ddi_umem_iosetup \- Setup I/O requests to application memory .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> @@ -26,90 +26,74 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIcookie\fR \fR .ad .RS 14n -.rt The kernel memory cookie allocated by \fBddi_umem_lock\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIoff\fR \fR .ad .RS 14n -.rt Offset from the start of the cookie. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR \fR .ad .RS 14n -.rt Length of the I/O request in bytes. .RE .sp .ne 2 -.mk .na \fB\fIdirection\fR \fR .ad .RS 14n -.rt Must be set to \fBB_READ\fR for reads from the device or \fBB_WRITE\fR for writes to the device. .RE .sp .ne 2 -.mk .na \fB\fIdev\fR \fR .ad .RS 14n -.rt Device number .RE .sp .ne 2 -.mk .na \fB\fIblkno\fR \fR .ad .RS 14n -.rt Block number on device. .RE .sp .ne 2 -.mk .na \fB\fIiodone\fR \fR .ad .RS 14n -.rt Specific \fBbiodone\fR(9F) routine. .RE .sp .ne 2 -.mk .na \fB\fIsleepflag\fR \fR .ad .RS 14n -.rt Determines whether caller can sleep for memory. Possible flags are \fBDDI_UMEM_SLEEP\fR to allow sleeping until memory is available, or \fBDDI_UMEM_NOSLEEP\fR to return \fBNULL\fR immediately if memory is not diff --git a/usr/src/man/man9f/ddi_umem_lock.9f b/usr/src/man/man9f/ddi_umem_lock.9f index 02157909ae..dc7598870a 100644 --- a/usr/src/man/man9f/ddi_umem_lock.9f +++ b/usr/src/man/man9f/ddi_umem_lock.9f @@ -3,16 +3,16 @@ .\" 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 ddi_umem_lock 9F "10 Apr 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DDI_UMEM_LOCK 9F "Apr 10, 2007" .SH NAME ddi_umem_lock, ddi_umem_unlock \- lock and unlock memory pages .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBddi_umem_lock\fR(\fBcaddr_t\fR \fIaddr\fR, \fBsize_t\fR \fIlen\fR, \fBint\fR \fIflags\fR, +\fBint\fR \fBddi_umem_lock\fR(\fBcaddr_t\fR \fIaddr\fR, \fBsize_t\fR \fIlen\fR, \fBint\fR \fIflags\fR, \fBddi_umem_cookie_t\fR *\fIcookiep\fR); .fi @@ -29,54 +29,44 @@ Solaris DDI specific (Solaris DDI) .SS "ddi_umem_lock" .sp .ne 2 -.mk .na \fB\fIaddr\fR\fR .ad .RS 11n -.rt Virtual address of memory object .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 11n -.rt Length of memory object in bytes .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 11n -.rt Valid flags include: .sp .ne 2 -.mk .na \fBDDI_UMEMLOCK_READ\fR .ad .RS 21n -.rt Memory pages are locked to be read from. (Disk write or a network send.) .RE .sp .ne 2 -.mk .na \fBDDI_UMEMLOCK_WRITE\fR .ad .RS 22n -.rt Memory pages are locked to be written to. (Disk read or a network receive.) .RE @@ -84,24 +74,20 @@ Memory pages are locked to be written to. (Disk read or a network receive.) .sp .ne 2 -.mk .na \fB\fIcookiep\fR\fR .ad .RS 11n -.rt Pointer to a kernel memory cookie. .RE .SS "ddi_umem_unlock" .sp .ne 2 -.mk .na \fBcookie\fR .ad .RS 10n -.rt Kernel memory cookie allocated by \fBddi_umem_lock()\fR. .RE @@ -145,58 +131,48 @@ On success, a \fB0\fR is returned. Otherwise, one of the following \fBerrno\fR values is returned. .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt User process has no mapping at that address range or does not support locking .RE .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 10n -.rt User process does not have the required permission. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt The system does not have sufficient resources to lock memory, or locking \fIlen\fR memory would exceed a limit or resource control on locked memory. .RE .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt Could not allocate system resources required to lock the pages. The \fBddi_umem_lock()\fR could succeed at a later time. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Requested memory is not aligned on a system page boundary. .RE diff --git a/usr/src/man/man9f/delay.9f b/usr/src/man/man9f/delay.9f index 4ccd413a47..22e6ab2674 100644 --- a/usr/src/man/man9f/delay.9f +++ b/usr/src/man/man9f/delay.9f @@ -4,7 +4,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 delay 9F "15 Oct 2001" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DELAY 9F "Oct 15, 2001" .SH NAME delay \- delay execution for a specified number of clock ticks .SH SYNOPSIS @@ -24,12 +24,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIticks\fR \fR .ad .RS 10n -.rt The number of clock cycles to delay. .RE @@ -75,7 +73,7 @@ displayed on the system console (line 14). The driver waits an allotted time 4 short xmit_char; /* transmit character to device */ 5 }; 6 - 7 + 7 . . . 9 /* get device registers */ 10 register struct device *rp = ... diff --git a/usr/src/man/man9f/devmap_default_access.9f b/usr/src/man/man9f/devmap_default_access.9f index 2f3c99d7cf..9e34bbcb06 100644 --- a/usr/src/man/man9f/devmap_default_access.9f +++ b/usr/src/man/man9f/devmap_default_access.9f @@ -3,17 +3,17 @@ .\" 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 devmap_default_access 9F "14 Jan 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DEVMAP_DEFAULT_ACCESS 9F "Jan 14, 1997" .SH NAME devmap_default_access \- default driver memory access function .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> - -\fBint\fR \fBdevmap_default_access\fR(\fBdevmap_cookie_t\fR \fIdhp\fR, \fBvoid *\fR\fIpvtp\fR, + +\fBint\fR \fBdevmap_default_access\fR(\fBdevmap_cookie_t\fR \fIdhp\fR, \fBvoid *\fR\fIpvtp\fR, \fBoffset_t\fR \fIoff\fR, \fBsize_t\fR \fIlen\fR, \fBuint_t\fR \fItype\fR, \fBuint_t\fR \fIrw\fR); .fi @@ -24,67 +24,55 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdhp\fR \fR .ad .RS 9n -.rt An opaque mapping handle that the system uses to describe the mapping. .RE .sp .ne 2 -.mk .na \fB\fIpvtp\fR \fR .ad .RS 9n -.rt Driver private mapping data. .RE .sp .ne 2 -.mk .na \fB\fIoff\fR \fR .ad .RS 9n -.rt User offset within the logical device memory at which the access begins. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR \fR .ad .RS 9n -.rt Length (in bytes) of the memory being accessed. .RE .sp .ne 2 -.mk .na \fB\fItype\fR \fR .ad .RS 9n -.rt Type of access operation. .RE .sp .ne 2 -.mk .na \fB\fIrw\fR \fR .ad .RS 9n -.rt Type of access. .RE @@ -105,23 +93,19 @@ the \fBdevmap_access\fR(9E) entry point and must not be modified. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB0\fR \fR .ad .RS 12n -.rt Successful completion. .RE .sp .ne 2 -.mk .na \fB\fBNon-zero\fR\fR .ad .RS 12n -.rt An error occurred. .RE diff --git a/usr/src/man/man9f/devmap_devmem_setup.9f b/usr/src/man/man9f/devmap_devmem_setup.9f index b7e67131ea..b7c36e8087 100644 --- a/usr/src/man/man9f/devmap_devmem_setup.9f +++ b/usr/src/man/man9f/devmap_devmem_setup.9f @@ -3,28 +3,28 @@ .\" 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 devmap_devmem_setup 9F "05 Jun 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DEVMAP_DEVMEM_SETUP 9F "Jun 05, 2006" .SH NAME devmap_devmem_setup, devmap_umem_setup \- set driver memory mapping parameters .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBdevmap_devmem_setup\fR(\fBdevmap_cookie_t\fR \fIdhp\fR, \fBdev_info_t *\fR\fIdip\fR, - \fBstruct devmap_callback_ctl *\fR\fIcallbackops\fR, \fBuint_t\fR \fIrnumber\fR, - \fBoffset_t\fR \fIroff\fR, \fBsize_t\fR \fIlen\fR, \fBuint_t\fR \fImaxprot\fR, +\fBint\fR \fBdevmap_devmem_setup\fR(\fBdevmap_cookie_t\fR \fIdhp\fR, \fBdev_info_t *\fR\fIdip\fR, + \fBstruct devmap_callback_ctl *\fR\fIcallbackops\fR, \fBuint_t\fR \fIrnumber\fR, + \fBoffset_t\fR \fIroff\fR, \fBsize_t\fR \fIlen\fR, \fBuint_t\fR \fImaxprot\fR, \fBuint_t\fR \fIflags\fR, \fBddi_device_acc_attr_t *\fR\fIaccattrp\fR); .fi .LP .nf -\fBint\fR \fBdevmap_umem_setup\fR(\fBdevmap_cookie_t\fR \fIdhp\fR, \fBdev_info_t *\fR\fIdip\fR, - \fBstruct devmap_callback_ctl *\fR\fIcallbackops\fR, \fBddi_umem_cookie_t\fR \fIcookie\fR, - \fBoffset_t\fR \fIkoff\fR, \fBsize_t\fR \fIlen\fR, \fBuint_t\fR \fImaxprot\fR, \fBuint_t\fR \fIflags\fR, +\fBint\fR \fBdevmap_umem_setup\fR(\fBdevmap_cookie_t\fR \fIdhp\fR, \fBdev_info_t *\fR\fIdip\fR, + \fBstruct devmap_callback_ctl *\fR\fIcallbackops\fR, \fBddi_umem_cookie_t\fR \fIcookie\fR, + \fBoffset_t\fR \fIkoff\fR, \fBsize_t\fR \fIlen\fR, \fBuint_t\fR \fImaxprot\fR, \fBuint_t\fR \fIflags\fR, \fBddi_device_acc_attr_t *\fR\fIaccattrp\fR); .fi @@ -38,34 +38,28 @@ Solaris DDI specific (Solaris DDI). \fBdevmap_devmem_setup()\fR parameters: .sp .ne 2 -.mk .na \fB\fIdhp\fR\fR .ad .RS 15n -.rt An opaque mapping handle that the system uses to describe the mapping. .RE .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 15n -.rt Pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIcallbackops\fR\fR .ad .RS 15n -.rt Pointer to a \fBdevmap_callback_ctl\fR(9S) structure. The structure contains pointers to device driver-supplied functions that manage events on the device mapping. The framework will copy the structure to the system private memory. @@ -73,100 +67,82 @@ mapping. The framework will copy the structure to the system private memory. .sp .ne 2 -.mk .na \fB\fIrnumber\fR\fR .ad .RS 15n -.rt Index number to the register address space set. .RE .sp .ne 2 -.mk .na \fB\fIroff\fR\fR .ad .RS 15n -.rt Offset into the register address space. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 15n -.rt Length (in bytes) of the mapping to be mapped. .RE .sp .ne 2 -.mk .na \fB\fImaxprot\fR\fR .ad .RS 15n -.rt Maximum protection flag possible for attempted mapping. Some combinations of possible settings are: .sp .ne 2 -.mk .na \fB\fBPROT_READ\fR\fR .ad .RS 14n -.rt Read access is allowed. .RE .sp .ne 2 -.mk .na \fB\fBPROT_WRITE\fR\fR .ad .RS 14n -.rt Write access is allowed. .RE .sp .ne 2 -.mk .na \fB\fBPROT_EXEC\fR\fR .ad .RS 14n -.rt Execute access is allowed. .RE .sp .ne 2 -.mk .na \fB\fBPROT_USER\fR\fR .ad .RS 14n -.rt User-level access is allowed. The mapping is done as a result of a \fBmmap\fR(2) system call. .RE .sp .ne 2 -.mk .na \fB\fBPROT_ALL\fR\fR .ad .RS 14n -.rt All access is allowed. .RE @@ -174,23 +150,19 @@ All access is allowed. .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 15n -.rt Used to determine the cache attribute. .sp Possible values of the cache attribute are: .sp .ne 2 -.mk .na \fB\fBIOMEM_DATA_CACHED\fR\fR .ad .RS 28n -.rt The CPU can cache the data it fetches and push it to memory at a later time. This is the default attribute that is used if no cache attributes are specified. @@ -198,12 +170,10 @@ specified. .sp .ne 2 -.mk .na \fB\fBIOMEM_DATA_UC_WR_COMBINE\fR\fR .ad .RS 28n -.rt The CPU never caches the data, but writes can occur out of order or can be combined. Reordering is implied. .sp @@ -213,12 +183,10 @@ If \fBIOMEM_DATA_UC_WR_COMBINE\fR is specified but not supported, .sp .ne 2 -.mk .na \fB\fBIOMEM_DATA_UNCACHED\fR\fR .ad .RS 28n -.rt The CPU never caches data, but has uncacheable access to memory. Strict ordering is implied. .RE @@ -230,12 +198,10 @@ meaningful. Others lead to a failure. .sp .ne 2 -.mk .na \fB\fIaccattrp\fR\fR .ad .RS 15n -.rt Pointer to a \fBddi_device_acc_attr()\fR structure of the device. See \fBddi_device_acc_attr\fR(9S). The value in \fBdevacc_attr_dataorder\fR is ignored in the current release. The value in \fBdevacc_attr_endian_flags\fR is @@ -247,34 +213,28 @@ meaningful on the SPARC architecture only. \fBdevmap_umem_setup()\fR parameters: .sp .ne 2 -.mk .na \fB\fIdhp\fR\fR .ad .RS 15n -.rt An opaque data structure that the system uses to describe the mapping. .RE .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 15n -.rt Pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIcallbackops\fR\fR .ad .RS 15n -.rt Pointer to a \fBdevmap_callback_ctl\fR(9S) structure. The structure contains pointers to device driver-supplied functions that manage events on the device mapping. @@ -282,100 +242,82 @@ mapping. .sp .ne 2 -.mk .na \fB\fIcookie\fR\fR .ad .RS 15n -.rt A kernel memory \fIcookie\fR (see \fBddi_umem_alloc\fR(9F)). .RE .sp .ne 2 -.mk .na \fB\fIkoff\fR\fR .ad .RS 15n -.rt Offset into the kernel memory defined by \fIcookie\fR. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 15n -.rt Length (in bytes) of the mapping to be mapped. .RE .sp .ne 2 -.mk .na \fB\fImaxprot\fR\fR .ad .RS 15n -.rt Maximum protection flag possible for attempted mapping. Some combinations of possible settings are: .sp .ne 2 -.mk .na \fB\fBPROT_READ\fR\fR .ad .RS 14n -.rt Read access is allowed. .RE .sp .ne 2 -.mk .na \fB\fBPROT_WRITE\fR\fR .ad .RS 14n -.rt Write access is allowed. .RE .sp .ne 2 -.mk .na \fB\fBPROT_EXEC\fR\fR .ad .RS 14n -.rt Execute access is allowed. .RE .sp .ne 2 -.mk .na \fB\fBPROT_USER\fR\fR .ad .RS 14n -.rt User-level access is allowed (the mapping is being done as a result of a \fBmmap\fR(2) system call). .RE .sp .ne 2 -.mk .na \fB\fBPROT_ALL\fR\fR .ad .RS 14n -.rt All access is allowed. .RE @@ -383,23 +325,19 @@ All access is allowed. .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 15n -.rt Must be set to \fB0\fR. .RE .sp .ne 2 -.mk .na \fB\fIaccattrp\fR\fR .ad .RS 15n -.rt Pointer to a \fBddi_device_acc_attr\fR(9S) structure. Ignored in the current release. Reserved for future use. .RE @@ -422,46 +360,38 @@ notified of user events on the mappings via the entry points defined by events: .sp .ne 2 -.mk .na \fBMapping Setup\fR .ad .RS 17n -.rt User has called \fBmmap\fR(2) to create a mapping to the device memory. .RE .sp .ne 2 -.mk .na \fBAccess\fR .ad .RS 17n -.rt User has accessed an address in the mapping that has no translations. .RE .sp .ne 2 -.mk .na \fBDuplication\fR .ad .RS 17n -.rt User has duplicated the mapping. Mappings are duplicated when the process calls \fBfork\fR(2). .RE .sp .ne 2 -.mk .na \fBUnmapping\fR .ad .RS 17n -.rt User has called \fBmunmap\fR(2) on the mapping or is exiting, \fBexit\fR(2). .RE @@ -510,23 +440,19 @@ cache incoherence if the mapping is not \fBMAP_FIXED.\fR .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 6n -.rt Successful completion. .RE .sp .ne 2 -.mk .na \fB\fB-1\fR\fR .ad .RS 6n -.rt An error occurred. .RE diff --git a/usr/src/man/man9f/devmap_do_ctxmgt.9f b/usr/src/man/man9f/devmap_do_ctxmgt.9f index f4759c2538..06ec004ad2 100644 --- a/usr/src/man/man9f/devmap_do_ctxmgt.9f +++ b/usr/src/man/man9f/devmap_do_ctxmgt.9f @@ -3,20 +3,20 @@ .\" 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 devmap_do_ctxmgt 9F "22 Jan 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DEVMAP_DO_CTXMGT 9F "Jan 22, 1997" .SH NAME devmap_do_ctxmgt \- perform device context switching on a mapping .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBdevmap_do_ctxmgt\fR(\fBdevmap_cookie_t\fR \fIdhp\fR, \fBvoid\fR \fI*pvtp\fR, \fBoffset_t\fR \fIoff\fR, - \fBsize_t\fR \fIlen\fR, \fBuint_t\fR \fItype\fR, - \fBuint_t\fR \fIrw\fR, \fBint (*\fR\fIdevmap_contextmgt\fR)devmap_cookie_t, +\fBint\fR \fBdevmap_do_ctxmgt\fR(\fBdevmap_cookie_t\fR \fIdhp\fR, \fBvoid\fR \fI*pvtp\fR, \fBoffset_t\fR \fIoff\fR, + \fBsize_t\fR \fIlen\fR, \fBuint_t\fR \fItype\fR, + \fBuint_t\fR \fIrw\fR, \fBint (*\fR\fIdevmap_contextmgt\fR)devmap_cookie_t, void *, offset_t, size_t, uint_t, uint_t); .fi @@ -27,80 +27,66 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdhp\fR \fR .ad .RS 22n -.rt An opaque mapping handle that the system uses to describe the mapping. .RE .sp .ne 2 -.mk .na \fB\fIpvtp\fR \fR .ad .RS 22n -.rt Driver private mapping data. .RE .sp .ne 2 -.mk .na \fB\fIoff\fR \fR .ad .RS 22n -.rt User offset within the logical device memory at which the access begins. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR \fR .ad .RS 22n -.rt Length (in bytes) of the memory being accessed. .RE .sp .ne 2 -.mk .na \fB\fIdevmap_contextmgt\fR \fR .ad .RS 22n -.rt The address of driver function that the system will call to perform context switching on a mapping. See \fBdevmap_contextmgt\fR(9E) for details. .RE .sp .ne 2 -.mk .na \fB\fItype\fR \fR .ad .RS 22n -.rt Type of access operation. Provided by \fBdevmap_access\fR(9E). Should not be modified. .RE .sp .ne 2 -.mk .na \fB\fIrw\fR \fR .ad .RS 22n -.rt Direction of access. Provided by \fBdevmap_access\fR(9E). Should not be modified. .RE @@ -133,23 +119,19 @@ actual device context switching. The return value from .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB0\fR \fR .ad .RS 12n -.rt Successful completion. .RE .sp .ne 2 -.mk .na \fB\fBNon-zero\fR\fR .ad .RS 12n -.rt An error occurred. .RE diff --git a/usr/src/man/man9f/devmap_set_ctx_timeout.9f b/usr/src/man/man9f/devmap_set_ctx_timeout.9f index a2755149b5..9699da21e7 100644 --- a/usr/src/man/man9f/devmap_set_ctx_timeout.9f +++ b/usr/src/man/man9f/devmap_set_ctx_timeout.9f @@ -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 devmap_set_ctx_timeout 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DEVMAP_SET_CTX_TIMEOUT 9F "Jan 16, 2006" .SH NAME devmap_set_ctx_timeout \- set the timeout value for the context management callback @@ -25,23 +25,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdhp\fR\fR .ad .RS 9n -.rt An opaque mapping handle that the system uses to describe the mapping. .RE .sp .ne 2 -.mk .na \fB\fIticks\fR\fR .ad .RS 9n -.rt Number of clock ticks to wait between successive calls to the context management callback function. .RE diff --git a/usr/src/man/man9f/devmap_setup.9f b/usr/src/man/man9f/devmap_setup.9f index 9a50067c9f..2c0182899b 100644 --- a/usr/src/man/man9f/devmap_setup.9f +++ b/usr/src/man/man9f/devmap_setup.9f @@ -3,27 +3,27 @@ .\" 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 devmap_setup 9F "22 Jan 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DEVMAP_SETUP 9F "Jan 22, 1997" .SH NAME devmap_setup, ddi_devmap_segmap \- set up a user mapping to device memory using the devmap framework .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> -#include <sys/sunddi.h> +#include <sys/ddi.h> +#include <sys/sunddi.h> -\fBint\fR \fBdevmap_setup\fR(\fBdev_t\fR \fIdev\fR, \fBoffset_t\fR \fIoff\fR, \fBddi_as_handle_t\fR \fIas\fR, - \fBcaddr_t *\fR\fIaddrp\fR, \fBsize_t\fR\fIlen\fR, \fBuint_t\fR \fIprot\fR, \fBuint_t\fR \fImaxprot\fR, +\fBint\fR \fBdevmap_setup\fR(\fBdev_t\fR \fIdev\fR, \fBoffset_t\fR \fIoff\fR, \fBddi_as_handle_t\fR \fIas\fR, + \fBcaddr_t *\fR\fIaddrp\fR, \fBsize_t\fR\fIlen\fR, \fBuint_t\fR \fIprot\fR, \fBuint_t\fR \fImaxprot\fR, \fBuint_t\fR \fIflags\fR, \fBcred_t *\fR\fIcred\fR); .fi .LP .nf -\fBint\fR \fBddi_devmap_segmap\fR(\fBdev_t\fR \fIdev\fR, \fBoff_t\fR \fIoff\fR, \fBddi_as_handle_t\fR \fIas\fR, - \fBcaddr_t *\fR\fIaddrp\fR, \fBoff_t\fR\fIlen\fR, \fBuint_t\fR \fIprot\fR, \fBuint_t\fR \fImaxprot\fR, +\fBint\fR \fBddi_devmap_segmap\fR(\fBdev_t\fR \fIdev\fR, \fBoff_t\fR \fIoff\fR, \fBddi_as_handle_t\fR \fIas\fR, + \fBcaddr_t *\fR\fIaddrp\fR, \fBoff_t\fR\fIlen\fR, \fBuint_t\fR \fIprot\fR, \fBuint_t\fR \fImaxprot\fR, \fBuint_t\fR \fIflags\fR, \fBcred_t *\fR\fIcred\fR); .fi @@ -34,124 +34,102 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdev\fR \fR .ad .RS 12n -.rt Device whose memory is to be mapped. .RE .sp .ne 2 -.mk .na \fB\fIoff\fR \fR .ad .RS 12n -.rt User offset within the logical device memory at which the mapping begins. .RE .sp .ne 2 -.mk .na \fB\fIas\fR \fR .ad .RS 12n -.rt An opaque data structure that describes the address space into which the device memory should be mapped. .RE .sp .ne 2 -.mk .na \fB\fIaddrp\fR \fR .ad .RS 12n -.rt Pointer to the starting address in the address space into which the device memory should be mapped. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR \fR .ad .RS 12n -.rt Length (in bytes) of the memory to be mapped. .RE .sp .ne 2 -.mk .na \fB\fIprot\fR \fR .ad .RS 12n -.rt A bit field that specifies the protections. Some possible settings combinations are: .sp .ne 2 -.mk .na \fB\fBPROT_READ\fR \fR .ad .RS 15n -.rt Read access is desired. .RE .sp .ne 2 -.mk .na \fB\fBPROT_WRITE\fR \fR .ad .RS 15n -.rt Write access is desired. .RE .sp .ne 2 -.mk .na \fB\fBPROT_EXEC\fR \fR .ad .RS 15n -.rt Execute access is desired. .RE .sp .ne 2 -.mk .na \fB\fBPROT_USER\fR \fR .ad .RS 15n -.rt User-level access is desired (the mapping is being done as a result of a \fBmmap\fR(2) system call). .RE .sp .ne 2 -.mk .na \fB\fBPROT_ALL\fR \fR .ad .RS 15n -.rt All access is desired. .RE @@ -159,55 +137,45 @@ All access is desired. .sp .ne 2 -.mk .na \fB\fImaxprot\fR \fR .ad .RS 12n -.rt Maximum protection flag possible for attempted mapping; the \fBPROT_WRITE\fR bit may be masked out if the user opened the special file read-only. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR \fR .ad .RS 12n -.rt Flags indicating type of mapping. The following flags can be specified: .sp .ne 2 -.mk .na \fB\fBMAP_PRIVATE\fR \fR .ad .RS 16n -.rt Changes are private. .RE .sp .ne 2 -.mk .na \fB\fBMAP_SHARED\fR \fR .ad .RS 16n -.rt Changes should be shared. .RE .sp .ne 2 -.mk .na \fB\fBMAP_FIXED\fR \fR .ad .RS 16n -.rt The user specified an address in \fI*addrp\fR rather than letting the system choose an address. .RE @@ -216,12 +184,10 @@ choose an address. .sp .ne 2 -.mk .na \fB\fIcred\fR \fR .ad .RS 12n -.rt Pointer to the user credential structure. .RE @@ -295,23 +261,19 @@ offset within the device address space. If the driver does not provide its own .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB0\fR \fR .ad .RS 12n -.rt Successful completion. .RE .sp .ne 2 -.mk .na \fB\fBNon-zero\fR\fR .ad .RS 12n -.rt An error occurred. The return value of \fBdevmap_setup()\fR and \fBddi_devmap_segmap()\fR should be used directly in the \fBsegmap\fR(9E) entry point. diff --git a/usr/src/man/man9f/devmap_unload.9f b/usr/src/man/man9f/devmap_unload.9f index f44768ac19..73694ba1aa 100644 --- a/usr/src/man/man9f/devmap_unload.9f +++ b/usr/src/man/man9f/devmap_unload.9f @@ -3,18 +3,18 @@ .\" 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 devmap_unload 9F "22 Jan 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DEVMAP_UNLOAD 9F "Jan 22, 1997" .SH NAME devmap_unload, devmap_load \- control validation of memory address translations .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> -\fBint\fR \fBdevmap_load\fR(\fBdevmap_cookie_t\fR \fIdhp\fR, \fBoffset_t\fR \fIoff\fR, \fBsize_t\fR \fIlen\fR, +\fBint\fR \fBdevmap_load\fR(\fBdevmap_cookie_t\fR \fIdhp\fR, \fBoffset_t\fR \fIoff\fR, \fBsize_t\fR \fIlen\fR, \fBuint_t\fR \fItype\fR, \fBuint_t\fR \fIrw\fR); .fi @@ -30,58 +30,48 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdhp\fR \fR .ad .RS 8n -.rt An opaque mapping handle that the system uses to describe the mapping. .RE .sp .ne 2 -.mk .na \fB\fIoff\fR \fR .ad .RS 8n -.rt User offset within the logical device memory at which the loading or unloading of the address translations begins. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR \fR .ad .RS 8n -.rt Length (in bytes) of the range being affected. .RE .SS "devmap_load() only" .sp .ne 2 -.mk .na \fB\fItype\fR \fR .ad .RS 9n -.rt Type of access operation. .RE .sp .ne 2 -.mk .na \fB\fIrw\fR \fR .ad .RS 9n -.rt Direction of access. .RE @@ -128,23 +118,19 @@ process. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB0\fR \fR .ad .RS 12n -.rt Successful completion. .RE .sp .ne 2 -.mk .na \fB\fBNon-zero\fR\fR .ad .RS 12n -.rt An error occurred. .RE @@ -177,7 +163,7 @@ xxdevmap_contextmgt(devmap_cookie_t dhp, void *pvtp, offset_t off, if (cur_ctx != NULL && cur_ctx != pvp->ctx) { p = cur_ctx->pvt; /* - * unload the region from off to the end of the mapping. + * unload the region from off to the end of the mapping. */ cur_dhp = p->dhp; if ((err = devmap_unload(cur_dhp, off, len)) != 0) diff --git a/usr/src/man/man9f/disksort.9f b/usr/src/man/man9f/disksort.9f index 03c13d4c5a..b6943f5009 100644 --- a/usr/src/man/man9f/disksort.9f +++ b/usr/src/man/man9f/disksort.9f @@ -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 disksort 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DISKSORT 9F "Jan 16, 2006" .SH NAME disksort \- single direction elevator seek sort for buffers .SH SYNOPSIS @@ -24,12 +24,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdp\fR\fR .ad .RS 6n -.rt A pointer to a \fBdiskhd\fR structure. A \fBdiskhd\fR structure is essentially identical to head of a buffer structure (see \fBbuf\fR(9S)). The only defined items of interest for this structure are the \fBav_forw\fR and \fBav_back\fR @@ -39,12 +37,10 @@ the forward linked \fBI/O\fR request queue. .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 6n -.rt A pointer to a buffer structure. Typically this is the \fBI/O\fR request that the driver receives in its strategy routine (see \fBstrategy\fR(9E)). The driver is responsible for initializing the \fBb_resid\fR structure element to a diff --git a/usr/src/man/man9f/dlbindack.9f b/usr/src/man/man9f/dlbindack.9f index f6c42cc042..b16018c6f5 100644 --- a/usr/src/man/man9f/dlbindack.9f +++ b/usr/src/man/man9f/dlbindack.9f @@ -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 dlbindack 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DLBINDACK 9F "Jan 16, 2006" .SH NAME dlbindack, dlphysaddrack, dlokack, dlerrorack, dluderrorind \- DLPI device driver helper functions @@ -31,13 +31,13 @@ driver helper functions .LP .nf -\fBvoid\fR \fBdlphysaddrack\fR(\fBqueue_t *\fR\fIwq\fR, \fBmblk_t *\fR\fImp\fR, \fBconst void *\fR\fIaddrp\fR, +\fBvoid\fR \fBdlphysaddrack\fR(\fBqueue_t *\fR\fIwq\fR, \fBmblk_t *\fR\fImp\fR, \fBconst void *\fR\fIaddrp\fR, \fBt_uscalar_t\fR \fIaddrlen\fR); .fi .LP .nf -\fBvoid\fR \fBdluderrorind\fR(\fBqueue_t *\fR\fIwq\fR, \fBmblk_t *\fR\fImp\fR, \fBconst void *\fR\fIaddrp\fR, +\fBvoid\fR \fBdluderrorind\fR(\fBqueue_t *\fR\fIwq\fR, \fBmblk_t *\fR\fImp\fR, \fBconst void *\fR\fIaddrp\fR, \fBt_uscalar_t\fR \fIaddrlen\fR, \fBt_uscalar_t\fR \fIerror\fR, \fBt_uscalar_t\fR \fIunix_errno\fR); .fi @@ -48,123 +48,101 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIwq\fR\fR .ad .RS 21n -.rt Streams write queue. .RE .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 21n -.rt Pointer to the bind request message. .RE .sp .ne 2 -.mk .na \fB\fIsap\fR\fR .ad .RS 21n -.rt Service access point being requested. .RE .sp .ne 2 -.mk .na \fB\fIaddrp\fR\fR .ad .RS 21n -.rt Pointer to the dlpi layer source address. .RE .sp .ne 2 -.mk .na \fB\fIaddrlen\fR\fR .ad .RS 21n -.rt Size of the \fBdlpi\fR layer address pointed to by \fIaddr\fR. .RE .sp .ne 2 -.mk .na \fB\fImaxconind\fR\fR .ad .RS 21n -.rt Maximum number of \fBDL_CONNECT_IND\fR messages allowed to be outstanding per stream. .RE .sp .ne 2 -.mk .na \fB\fIxidtest\fR\fR .ad .RS 21n -.rt The \fBXID\fR and \fBTEST\fR responses supported. .RE .sp .ne 2 -.mk .na \fB\fIcorrect_primitive\fR\fR .ad .RS 21n -.rt Identifies the \fBDL\fR primitive completing successfully. .RE .sp .ne 2 -.mk .na \fB\fIerror_primitive\fR\fR .ad .RS 21n -.rt Identifies the \fBDL\fR primitive in error. .RE .sp .ne 2 -.mk .na \fB\fIerror\fR\fR .ad .RS 21n -.rt \fBDLPI\fR error associated with the failure in the \fBDLPI\fR request. .RE .sp .ne 2 -.mk .na \fB\fIunix_errno\fR\fR .ad .RS 21n -.rt Corresponding \fBUNIX\fR system error that can be associated with the failure in the \fBDLPI\fR request. .RE diff --git a/usr/src/man/man9f/drv_getparm.9f b/usr/src/man/man9f/drv_getparm.9f index e2f66377f9..6e8c12622e 100644 --- a/usr/src/man/man9f/drv_getparm.9f +++ b/usr/src/man/man9f/drv_getparm.9f @@ -4,7 +4,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 drv_getparm 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DRV_GETPARM 9F "Jan 16, 2006" .SH NAME drv_getparm \- retrieve kernel state information .SH SYNOPSIS @@ -24,23 +24,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIparm\fR\fR .ad .RS 8n -.rt The kernel parameter to be obtained. Possible values are: .RE .sp .ne 2 -.mk .na \fB\fBLBOLT\fR\fR .ad .RS 10n -.rt Read the value of \fBlbolt\fR. \fBlbolt\fR is a \fBclock_t\fR that is unconditionally incremented by one at each clock tick. No special treatment is applied when this value overflows the maximum value of the signed integral type @@ -54,12 +50,10 @@ is used in this way inside the system kernel for timing purposes. .sp .ne 2 -.mk .na \fB\fBPPGRP\fR\fR .ad .RS 10n -.rt Read the process group identification number. This number determines which processes should receive a \fBHANGUP\fR or \fBBREAK\fR signal when detected by a driver. @@ -67,67 +61,55 @@ a driver. .sp .ne 2 -.mk .na \fB\fBUPROCP\fR\fR .ad .RS 10n -.rt Read the process table token value. .RE .sp .ne 2 -.mk .na \fB\fBPPID\fR\fR .ad .RS 10n -.rt Read process identification number. .RE .sp .ne 2 -.mk .na \fB\fBPSID\fR\fR .ad .RS 10n -.rt Read process session identification number. .RE .sp .ne 2 -.mk .na \fB\fBTIME\fR\fR .ad .RS 10n -.rt Read time in seconds. .RE .sp .ne 2 -.mk .na \fB\fBUCRED\fR\fR .ad .RS 10n -.rt Return a pointer to the caller's credential structure. .RE .sp .ne 2 -.mk .na \fB\fIvalue_p\fR\fR .ad .RS 11n -.rt A pointer to the data space in which the value of the parameter is to be copied. .RE diff --git a/usr/src/man/man9f/drv_hztousec.9f b/usr/src/man/man9f/drv_hztousec.9f index 1e05500ac5..e4531d6a73 100644 --- a/usr/src/man/man9f/drv_hztousec.9f +++ b/usr/src/man/man9f/drv_hztousec.9f @@ -4,7 +4,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 drv_hztousec 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DRV_HZTOUSEC 9F "Jan 16, 2006" .SH NAME drv_hztousec \- convert clock ticks to microseconds .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhertz\fR\fR .ad .RS 9n -.rt The number of clock ticks to convert. .RE diff --git a/usr/src/man/man9f/drv_priv.9f b/usr/src/man/man9f/drv_priv.9f index 6bbd33a2d0..0aeb2b60bc 100644 --- a/usr/src/man/man9f/drv_priv.9f +++ b/usr/src/man/man9f/drv_priv.9f @@ -4,7 +4,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 drv_priv 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DRV_PRIV 9F "Jan 16, 2006" .SH NAME drv_priv \- determine driver privilege .SH SYNOPSIS @@ -26,12 +26,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIcr\fR\fR .ad .RS 6n -.rt Pointer to the user credential structure. .RE diff --git a/usr/src/man/man9f/drv_usectohz.9f b/usr/src/man/man9f/drv_usectohz.9f index f82f9ee5e8..810dc8a0ba 100644 --- a/usr/src/man/man9f/drv_usectohz.9f +++ b/usr/src/man/man9f/drv_usectohz.9f @@ -4,7 +4,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 drv_usectohz 9F "24 Apr 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DRV_USECTOHZ 9F "Apr 24, 2008" .SH NAME drv_usectohz \- convert microseconds to clock ticks .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImicrosecs\fR\fR .ad .RS 13n -.rt The number of microseconds to convert. .RE diff --git a/usr/src/man/man9f/drv_usecwait.9f b/usr/src/man/man9f/drv_usecwait.9f index da786dffc9..9842f9af4c 100644 --- a/usr/src/man/man9f/drv_usecwait.9f +++ b/usr/src/man/man9f/drv_usecwait.9f @@ -4,7 +4,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 drv_usecwait 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DRV_USECWAIT 9F "Jan 16, 2006" .SH NAME drv_usecwait \- busy-wait for specified interval .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImicrosecs\fR\fR .ad .RS 13n -.rt The number of microseconds to busy-wait. .RE diff --git a/usr/src/man/man9f/dupb.9f b/usr/src/man/man9f/dupb.9f index d6d46fea72..5a87c63ec5 100644 --- a/usr/src/man/man9f/dupb.9f +++ b/usr/src/man/man9f/dupb.9f @@ -1,11 +1,11 @@ '\" te -.\" Copyright 1989 AT&T +.\" Copyright 1989 AT&T .\" Copyright (C) 2002, Sun Microsystems, Inc. .\" All Rights Reserved .\" 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 dupb 9F "22 Mar 2002" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DUPB 9F "Mar 22, 2002" .SH NAME dupb \- duplicate a message block descriptor .SH SYNOPSIS @@ -42,12 +42,10 @@ and db_ref incremented by one .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR \fR .ad .RS 7n -.rt Pointer to the message block to be duplicated. \fBmblk_t\fR is an instance of the \fBmsgb\fR(9S) structure. .RE @@ -113,7 +111,7 @@ the new message block (line 34) and pass it along (line 35). 5 mblk_t *mp; 6 mblk_t *bp; 7 extern mblk_t *hdr; - 8 + 8 9 while ((mp = getq(q)) != NULL) { 10 if (mp->b_datap->db_type >= QPCTL) { 11 putnext(q, mp); @@ -134,7 +132,7 @@ the new message block (line 34) and pass it along (line 35). 26 if (xx->xx_qbufcall_id) { 27 /* qbufcall pending */ 28 return; - 29 } + 29 } 30 xx->xx_qbufcall_id = qbufcall(q, size, 31 BPRI_MED, xxxcallback, (intptr_t)q); 32 return; @@ -161,7 +159,7 @@ the new message block (line 34) and pass it along (line 35). 52 xxxclose(q, cflag, crp) 53 queue_t *q; 54 int cflag; - 55 cred_t *crp; + 55 cred_t *crp; 56 { 57 struct xx *xx = (struct xx *)q->q_ptr; ... diff --git a/usr/src/man/man9f/dupmsg.9f b/usr/src/man/man9f/dupmsg.9f index 543ccf3c5a..f2b08825c7 100644 --- a/usr/src/man/man9f/dupmsg.9f +++ b/usr/src/man/man9f/dupmsg.9f @@ -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 dupmsg 9F "11 Apr 1991" "SunOS 5.11" "Kernel Functions for Drivers" +.TH DUPMSG 9F "Apr 11, 1991" .SH NAME dupmsg \- duplicate a message .SH SYNOPSIS @@ -23,12 +23,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR \fR .ad .RS 7n -.rt Pointer to the message. .RE diff --git a/usr/src/man/man9f/enableok.9f b/usr/src/man/man9f/enableok.9f index b2e6f3d508..8dc0ba6df0 100644 --- a/usr/src/man/man9f/enableok.9f +++ b/usr/src/man/man9f/enableok.9f @@ -4,7 +4,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 enableok 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ENABLEOK 9F "Jan 16, 2006" .SH NAME enableok \- reschedule a queue for service .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 5n -.rt A pointer to the queue to be rescheduled. .RE diff --git a/usr/src/man/man9f/esballoc.9f b/usr/src/man/man9f/esballoc.9f index f12a1c3813..ca568d0bb4 100644 --- a/usr/src/man/man9f/esballoc.9f +++ b/usr/src/man/man9f/esballoc.9f @@ -4,23 +4,23 @@ .\" 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 esballoc 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ESBALLOC 9F "Jan 16, 2006" .SH NAME esballoc, desballoc \- allocate a message block using a caller-supplied buffer .SH SYNOPSIS .LP .nf -#include <sys/stream.h> +#include <sys/stream.h> -\fBmblk_t *\fR\fBesballoc\fR(\fBuchar_t *\fR\fIbase\fR, \fBsize_t\fR \fIsize\fR, \fBuint_t\fR \fIpri\fR, +\fBmblk_t *\fR\fBesballoc\fR(\fBuchar_t *\fR\fIbase\fR, \fBsize_t\fR \fIsize\fR, \fBuint_t\fR \fIpri\fR, \fBfrtn_t *\fR\fIfr_rtnp\fR); .fi .LP .nf -\fBmblk_t *\fR\fBdesballoc\fR(\fBuchar_t *\fR\fIbase\fR, \fBsize_t\fR \fIsize\fR, \fBuint_t\fR \fIpri\fR, +\fBmblk_t *\fR\fBdesballoc\fR(\fBuchar_t *\fR\fIbase\fR, \fBsize_t\fR \fIsize\fR, \fBuint_t\fR \fIpri\fR, \fBfrtn_t *\fR\fIfr_rtnp\fR); .fi @@ -34,45 +34,37 @@ esballoc, desballoc \- allocate a message block using a caller-supplied buffer .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbase\fR\fR .ad .RS 11n -.rt Address of caller-supplied data buffer. .RE .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 11n -.rt Number of bytes in data buffer. .RE .sp .ne 2 -.mk .na \fB\fIpri\fR\fR .ad .RS 11n -.rt Priority of the request (no longer used). .RE .sp .ne 2 -.mk .na \fB\fIfr_rtnp\fR\fR .ad .RS 11n -.rt Free routine data structure. .RE @@ -144,13 +136,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/esbbcall.9f b/usr/src/man/man9f/esbbcall.9f index 4251af1e22..ebb75f3756 100644 --- a/usr/src/man/man9f/esbbcall.9f +++ b/usr/src/man/man9f/esbbcall.9f @@ -4,17 +4,17 @@ .\" 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 esbbcall 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ESBBCALL 9F "Jan 16, 2006" .SH NAME esbbcall \- call function when buffer is available .SH SYNOPSIS .LP .nf -#include <sys/stream.h> +#include <sys/stream.h> -\fBbufcall_id_t\fR \fBesbbcall\fR(\fBuint_t\fR \fIpri\fR, \fBvoid\fR (\fI*func\fR)(\fIvoid *arg\fR), +\fBbufcall_id_t\fR \fBesbbcall\fR(\fBuint_t\fR \fIpri\fR, \fBvoid\fR (\fI*func\fR)(\fIvoid *arg\fR), \fBvoid\fR(\fIarg\fR)); .fi @@ -25,35 +25,29 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIpri\fR\fR .ad .RS 8n -.rt Priority of allocation request (to be used by \fBallocb\fR(9F) function, called by \fBesbbcall()\fR). .RE .sp .ne 2 -.mk .na \fB\fIfunc\fR\fR .ad .RS 8n -.rt Function to be called when buffer becomes available. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 8n -.rt Argument to \fIfunc\fR. .RE diff --git a/usr/src/man/man9f/flushband.9f b/usr/src/man/man9f/flushband.9f index 84c1b37f77..529c82898c 100644 --- a/usr/src/man/man9f/flushband.9f +++ b/usr/src/man/man9f/flushband.9f @@ -4,7 +4,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 flushband 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH FLUSHBAND 9F "Jan 16, 2006" .SH NAME flushband \- flush messages for a specified priority band .SH SYNOPSIS @@ -24,57 +24,47 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 8n -.rt Pointer to the queue. .RE .sp .ne 2 -.mk .na \fB\fIpri\fR\fR .ad .RS 8n -.rt Priority of messages to be flushed. .RE .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 8n -.rt Valid \fIflag\fR values are: .RE .sp .ne 2 -.mk .na \fB\fBFLUSHDATA\fR\fR .ad .RS 13n -.rt Flush only data messages (types \fBM_DATA,\fR \fBM_DELAY,\fR \fBM_PROTO,\fR and \fBM_PCPROTO\fR \fB\fR). .RE .sp .ne 2 -.mk .na \fB\fBFLUSHALL\fR\fR .ad .RS 13n -.rt Flush all messages. .RE diff --git a/usr/src/man/man9f/flushq.9f b/usr/src/man/man9f/flushq.9f index 021a1c44f6..27117aceb4 100644 --- a/usr/src/man/man9f/flushq.9f +++ b/usr/src/man/man9f/flushq.9f @@ -4,7 +4,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 flushq 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH FLUSHQ 9F "Jan 16, 2006" .SH NAME flushq \- remove messages from a queue .SH SYNOPSIS @@ -24,46 +24,38 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 8n -.rt Pointer to the queue to be flushed. .RE .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 8n -.rt Valid \fIflag\fR values are: .RE .sp .ne 2 -.mk .na \fB\fBFLUSHDATA\fR\fR .ad .RS 13n -.rt Flush only data messages (types \fBM_DATA\fR \fBM_DELAY\fR \fBM_PROTO\fR and \fBM_PCPROTO\fR). .RE .sp .ne 2 -.mk .na \fB\fBFLUSHALL\fR\fR .ad .RS 13n -.rt Flush all messages. .RE diff --git a/usr/src/man/man9f/freeb.9f b/usr/src/man/man9f/freeb.9f index 7e5c052bbe..78d0a8acd8 100644 --- a/usr/src/man/man9f/freeb.9f +++ b/usr/src/man/man9f/freeb.9f @@ -4,7 +4,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 freeb 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH FREEB 9F "Jan 16, 2006" .SH NAME freeb \- free a message block .SH SYNOPSIS @@ -20,12 +20,10 @@ freeb \- free a message block .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 6n -.rt Pointer to the message block to be deallocated. \fBmblk_t\fR is an instance of the \fBmsgb\fR(9S) structure. .RE diff --git a/usr/src/man/man9f/freemsg.9f b/usr/src/man/man9f/freemsg.9f index 28ed64ff70..ca157ba695 100644 --- a/usr/src/man/man9f/freemsg.9f +++ b/usr/src/man/man9f/freemsg.9f @@ -4,7 +4,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 freemsg 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH FREEMSG 9F "Jan 16, 2006" .SH NAME freemsg \- free all message blocks in a message .SH SYNOPSIS @@ -24,12 +24,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 6n -.rt Pointer to the message blocks to be deallocated. \fBmblk_t\fR is an instance of the \fBmsgb\fR(9S) structure. If \fImp\fR is \fINULL\fR, \fBfreemsg()\fR immediately returns. diff --git a/usr/src/man/man9f/freerbuf.9f b/usr/src/man/man9f/freerbuf.9f index d11008b736..3173671185 100644 --- a/usr/src/man/man9f/freerbuf.9f +++ b/usr/src/man/man9f/freerbuf.9f @@ -4,7 +4,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 freerbuf 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH FREERBUF 9F "Jan 16, 2006" .SH NAME freerbuf \- free a raw buffer header .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 6n -.rt Pointer to a previously allocated buffer header structure. .RE diff --git a/usr/src/man/man9f/freezestr.9f b/usr/src/man/man9f/freezestr.9f index 30b295895b..116c842e73 100644 --- a/usr/src/man/man9f/freezestr.9f +++ b/usr/src/man/man9f/freezestr.9f @@ -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 freezestr 9F "17 Oct 2000" "SunOS 5.11" "Kernel Functions for Drivers" +.TH FREEZESTR 9F "Oct 17, 2000" .SH NAME freezestr, unfreezestr \- freeze, thaw the state of a stream .SH SYNOPSIS .LP .nf -#include <sys/stream.h> -#include <sys/ddi.h> +#include <sys/stream.h> +#include <sys/ddi.h> @@ -29,12 +29,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR \fR .ad .RS 6n -.rt Pointer to the message queue to freeze/unfreeze. .RE diff --git a/usr/src/man/man9f/get_pktiopb.9f b/usr/src/man/man9f/get_pktiopb.9f index d65ed84283..7be1a5ec87 100644 --- a/usr/src/man/man9f/get_pktiopb.9f +++ b/usr/src/man/man9f/get_pktiopb.9f @@ -3,18 +3,18 @@ .\" 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 get_pktiopb 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH GET_PKTIOPB 9F "Jan 16, 2006" .SH NAME get_pktiopb, free_pktiopb \- allocate/free a SCSI packet in the iopb map .SH SYNOPSIS .LP .nf -#include <sys/scsi/scsi.h> +#include <sys/scsi/scsi.h> \fBstruct scsi_pkt *\fR\fBget_pktiopb\fR(\fBstruct scsi_address *\fR\fIap\fR, - \fBcaddr_t *\fR\fIdatap\fR, \fBint\fR \fIcdblen\fR, \fBint\fR \fIstatuslen\fR, \fBint\fR \fIdatalen\fR, + \fBcaddr_t *\fR\fIdatap\fR, \fBint\fR \fIcdblen\fR, \fBint\fR \fIstatuslen\fR, \fBint\fR \fIdatalen\fR, \fBint\fR \fIreadflag\fR, \fBint (*\fR\fIcallback\fR); .fi @@ -32,89 +32,73 @@ of \fBget_pktiopb()\fR. Use \fBscsi_free_consistent_buf\fR(9F) instead of .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIap\fR\fR .ad .RS 13n -.rt Pointer to the target's \fBscsi_address\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIdatap\fR\fR .ad .RS 13n -.rt Pointer to the address of the packet, set by this function. .RE .sp .ne 2 -.mk .na \fB\fIcdblen\fR\fR .ad .RS 13n -.rt Number of bytes required for the \fBSCSI \fRcommand descriptor block (CDB). .RE .sp .ne 2 -.mk .na \fB\fIstatuslen\fR\fR .ad .RS 13n -.rt Number of bytes required for the \fBSCSI \fRstatus area. .RE .sp .ne 2 -.mk .na \fB\fIdatalen\fR\fR .ad .RS 13n -.rt Number of bytes required for the data area of the \fBSCSI \fRcommand. .RE .sp .ne 2 -.mk .na \fB\fIreadflag\fR\fR .ad .RS 13n -.rt If non-zero, data will be transferred from the \fBSCSI \fRtarget. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 13n -.rt Pointer to a callback function, or \fBNULL_FUNC\fR or \fBSLEEP_FUNC\fR .RE .sp .ne 2 -.mk .na \fB\fIpkt\fR\fR .ad .RS 13n -.rt Pointer to a \fBscsi_pkt\fR(9S) structure. .RE @@ -133,34 +117,28 @@ and \fBDMA\fR resources. not available: .sp .ne 2 -.mk .na \fB\fBNULL_FUNC\fR\fR .ad .RS 16n -.rt Do not wait for resources. Return a \fINULL\fR pointer. .RE .sp .ne 2 -.mk .na \fB\fBSLEEP_FUNC\fR\fR .ad .RS 16n -.rt Wait indefinitely for resources. .RE .sp .ne 2 -.mk .na \fBOther Values\fR .ad .RS 16n -.rt \fIcallback\fR points to a function which is called when resources may have become available. \fIcallback\fR \fBmust\fR return either \fB0\fR (indicating that it attempted to allocate resources but failed to do so again), in which @@ -197,13 +175,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/geterror.9f b/usr/src/man/man9f/geterror.9f index fc9eeb6bf4..69a772f906 100644 --- a/usr/src/man/man9f/geterror.9f +++ b/usr/src/man/man9f/geterror.9f @@ -4,7 +4,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 geterror 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH GETERROR 9F "Jan 16, 2006" .SH NAME geterror \- return \fBI/O\fR error .SH SYNOPSIS @@ -26,12 +26,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 6n -.rt Pointer to a \fBbuf\fR(9S) structure. .RE diff --git a/usr/src/man/man9f/gethrtime.9f b/usr/src/man/man9f/gethrtime.9f index e452396812..74a4d2379f 100644 --- a/usr/src/man/man9f/gethrtime.9f +++ b/usr/src/man/man9f/gethrtime.9f @@ -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 gethrtime 9F " 2 Oct 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH GETHRTIME 9F "Oct 2, 2007" .SH NAME gethrtime \- get high resolution time .SH SYNOPSIS diff --git a/usr/src/man/man9f/getmajor.9f b/usr/src/man/man9f/getmajor.9f index ad24241026..c67a1b4f82 100644 --- a/usr/src/man/man9f/getmajor.9f +++ b/usr/src/man/man9f/getmajor.9f @@ -4,7 +4,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 getmajor 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH GETMAJOR 9F "Jan 16, 2006" .SH NAME getmajor \- get major device number .SH SYNOPSIS @@ -26,12 +26,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdev\fR\fR .ad .RS 7n -.rt Device number. .RE @@ -60,11 +58,11 @@ minor numbers for the device supported by the driver. .sp .in +2 .nf -dev_t dev; +dev_t dev; -#ifdef DEBUG +#ifdef DEBUG cmn_err(CE_NOTE,"Driver Started. Major# = %d, - Minor# = %d", getmajor(dev), getminor(dev)); + Minor# = %d", getmajor(dev), getminor(dev)); #endif .fi .in -2 diff --git a/usr/src/man/man9f/getminor.9f b/usr/src/man/man9f/getminor.9f index f8c2db85b6..d84741a986 100644 --- a/usr/src/man/man9f/getminor.9f +++ b/usr/src/man/man9f/getminor.9f @@ -4,7 +4,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 getminor 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH GETMINOR 9F "Jan 16, 2006" .SH NAME getminor \- get minor device number .SH SYNOPSIS @@ -26,12 +26,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdev\fR\fR .ad .RS 7n -.rt Device number. .RE diff --git a/usr/src/man/man9f/getq.9f b/usr/src/man/man9f/getq.9f index 2bba39cd89..98bd78e25d 100644 --- a/usr/src/man/man9f/getq.9f +++ b/usr/src/man/man9f/getq.9f @@ -4,7 +4,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 getq 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH GETQ 9F "Jan 16, 2006" .SH NAME getq \- get the next message from a queue .SH SYNOPSIS @@ -24,12 +24,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 5n -.rt Pointer to the queue from which the message is to be retrieved. .RE diff --git a/usr/src/man/man9f/getrbuf.9f b/usr/src/man/man9f/getrbuf.9f index 08d85246e9..cba7e2e4cd 100644 --- a/usr/src/man/man9f/getrbuf.9f +++ b/usr/src/man/man9f/getrbuf.9f @@ -4,7 +4,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 getrbuf 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH GETRBUF 9F "Jan 16, 2006" .SH NAME getrbuf \- get a raw buffer header .SH SYNOPSIS @@ -26,12 +26,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIsleepflag\fR\fR .ad .RS 13n -.rt Indicates whether driver should sleep for free space. .RE diff --git a/usr/src/man/man9f/gld.9f b/usr/src/man/man9f/gld.9f index 3023269eca..3f3949d79c 100644 --- a/usr/src/man/man9f/gld.9f +++ b/usr/src/man/man9f/gld.9f @@ -4,14 +4,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 gld 9F "28 Aug 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH GLD 9F "Aug 28, 2003" .SH NAME gld, gld_mac_alloc, gld_mac_free, gld_register, gld_unregister, gld_recv, gld_sched, gld_intr \- Generic LAN Driver service routines .SH SYNOPSIS .LP .nf -#include <sys/gld.h> +#include <sys/gld.h> \fBgld_mac_info_t *\fR\fBgld_mac_alloc\fR(\fBdev_info_t *\fR\fIdip\fR); .fi @@ -58,56 +58,46 @@ Solaris architecture specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImacinfo\fR \fR .ad .RS 13n -.rt Pointer to a \fBgld_mac_info\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIdip\fR \fR .ad .RS 13n -.rt Pointer to \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIname\fR \fR .ad .RS 13n -.rt Device interface name. .RE .sp .ne 2 -.mk .na \fB\fImp\fR \fR .ad .RS 13n -.rt Pointer to a message block containing a received packet. .RE .sp .ne 2 -.mk .na \fB\fInewstate\fR \fR .ad .RS 13n -.rt Media link state. .RE @@ -246,34 +236,28 @@ in the media link state. The newstate argument should be set to one of the following: .sp .ne 2 -.mk .na \fB\fBGLD_LINKSTATE_DOWN\fR \fR .ad .RS 26n -.rt The media link is unavailable. .RE .sp .ne 2 -.mk .na \fB\fBGLD_LINKSTATE_UP\fR \fR .ad .RS 26n -.rt The media link is unavailable. .RE .sp .ne 2 -.mk .na \fB\fBGLD_LINKSTATE_UNKNOWN\fR \fR .ad .RS 26n -.rt The status of the media link is unknown. .RE @@ -291,23 +275,19 @@ structure. \fBgld_register\fR(\|) and \fBgld_unregister\fR(\|) return: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR \fR .ad .RS 16n -.rt on success. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR \fR .ad .RS 16n -.rt on failure. .RE diff --git a/usr/src/man/man9f/hook_alloc.9f b/usr/src/man/man9f/hook_alloc.9f index e410a16237..51e2525737 100644 --- a/usr/src/man/man9f/hook_alloc.9f +++ b/usr/src/man/man9f/hook_alloc.9f @@ -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 hook_alloc 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH HOOK_ALLOC 9F "May 1, 2008" .SH NAME hook_alloc \- allocate a hook_t data structure .SH SYNOPSIS @@ -21,12 +21,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIversion\fR\fR .ad .RS 11n -.rt must always be the symbol \fBHOOK_VERSION\fR. .RE @@ -53,13 +51,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/hook_free.9f b/usr/src/man/man9f/hook_free.9f index 7c44b0654d..f4fb38cac5 100644 --- a/usr/src/man/man9f/hook_free.9f +++ b/usr/src/man/man9f/hook_free.9f @@ -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 hook_free 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH HOOK_FREE 9F "May 1, 2008" .SH NAME hook_free \- free a hook_t data structure .SH SYNOPSIS @@ -21,12 +21,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhook\fR\fR .ad .RS 8n -.rt pointer returned by \fBhook_alloc\fR(9F). .RE @@ -48,13 +46,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/id32_alloc.9f b/usr/src/man/man9f/id32_alloc.9f index 0d58181fc6..a5a410247f 100644 --- a/usr/src/man/man9f/id32_alloc.9f +++ b/usr/src/man/man9f/id32_alloc.9f @@ -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 id32_alloc 9F "12 Dec 2001" "SunOS 5.11" "Kernel Functions for Drivers" +.TH ID32_ALLOC 9F "Dec 12, 2001" .SH NAME id32_alloc, id32_free, id32_lookup \- 32-bit driver ID management routines .SH SYNOPSIS @@ -34,23 +34,19 @@ Solaris architecture specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIptr\fR\fR .ad .RS 9n -.rt any valid 32- or 64-bit pointer .RE .sp .ne 2 -.mk .na \fB\fIflag\fR \fR .ad .RS 9n -.rt determines whether caller can sleep for memory (see \fBkmem_alloc\fR(9F) for a description) .RE diff --git a/usr/src/man/man9f/inb.9f b/usr/src/man/man9f/inb.9f index 348a3a3e36..0f4ea2df4d 100644 --- a/usr/src/man/man9f/inb.9f +++ b/usr/src/man/man9f/inb.9f @@ -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 inb 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH INB 9F "Jan 16, 2006" .SH NAME inb, inw, inl, repinsb, repinsw, repinsd \- read from an I/O port .SH SYNOPSIS @@ -55,34 +55,28 @@ and \fBinl()\fR functions, use, respectively, \fBddi_get8\fR(9F), .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIport\fR\fR .ad .RS 9n -.rt A valid I/O port address. .RE .sp .ne 2 -.mk .na \fB\fIaddr\fR\fR .ad .RS 9n -.rt The address of a buffer where the values will be stored. .RE .sp .ne 2 -.mk .na \fB\fIcount\fR\fR .ad .RS 9n -.rt The number of values to be read from the I/O port. .RE @@ -119,15 +113,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) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Architecturex86 +Architecture x86 _ -Stability Level Obsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/insq.9f b/usr/src/man/man9f/insq.9f index cc40dae72e..c11b3745d3 100644 --- a/usr/src/man/man9f/insq.9f +++ b/usr/src/man/man9f/insq.9f @@ -4,7 +4,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 insq 9F "23 Mar 2009" "SunOS 5.11" "Kernel Functions for Drivers" +.TH INSQ 9F "Mar 23, 2009" .SH NAME insq \- insert a message into a queue .SH SYNOPSIS @@ -24,35 +24,29 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 7n -.rt Pointer to the queue containing message \fIemp\fR. .RE .sp .ne 2 -.mk .na \fB\fIemp\fR\fR .ad .RS 7n -.rt Enqueued message before which the new message is to be inserted. \fBmblk_t\fR is an instance of the \fBmsgb\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fInmp\fR\fR .ad .RS 7n -.rt Message to be inserted. .RE diff --git a/usr/src/man/man9f/kiconv.9f b/usr/src/man/man9f/kiconv.9f index 6994277726..5812ff77f7 100644 --- a/usr/src/man/man9f/kiconv.9f +++ b/usr/src/man/man9f/kiconv.9f @@ -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 kiconv 9F "16 Oct 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH KICONV 9F "Oct 16, 2007" .SH NAME kiconv \- buffer-based code conversion function .SH SYNOPSIS @@ -15,7 +15,7 @@ kiconv \- buffer-based code conversion function -\fBsize_t\fR \fBkiconv\fR(\fBkiconv_t\fR \fIcd\fR, \fBchar **\fR\fIinbuf\fR, \fBsize_t *\fR\fIinbytesleft\fR, +\fBsize_t\fR \fBkiconv\fR(\fBkiconv_t\fR \fIcd\fR, \fBchar **\fR\fIinbuf\fR, \fBsize_t *\fR\fIinbytesleft\fR, \fBchar **\fR\fIoutbuf\fR, \fBsize_t *\fR\fIoutbytesleft\fR, \fBint *\fR\fIerrno\fR); .fi @@ -29,23 +29,19 @@ Solaris DDI specific (Solaris DDI). The parameters for the \fBkiconv\fR function are as follows: .sp .ne 2 -.mk .na \fB\fIcd\fR\fR .ad .RS 16n -.rt Code conversion descriptor indicating the code conversion and conversion state. .RE .sp .ne 2 -.mk .na \fB\fIinbuf\fR\fR .ad .RS 16n -.rt Points to an address of a buffer containing a sequence of character bytes in \fBfromcode\fR codeset to be converted. After the conversion, the variable is updated to point to the byte following the last byte that was successfully used @@ -54,12 +50,10 @@ in the conversion. .sp .ne 2 -.mk .na \fB\fIinbytesleft\fR\fR .ad .RS 16n -.rt As an input parameter, the number of bytes to be converted in \fIinbuf\fR. As an output parameter, the number of bytes in \fIinbuf\fR still not converted after the conversion. @@ -67,12 +61,10 @@ after the conversion. .sp .ne 2 -.mk .na \fB\fIoutbuf\fR\fR .ad .RS 16n -.rt Points to an address of a buffer where converted character bytes in \fBtocode\fR codeset can be saved. After the conversion, the variable is updated to point to the byte following the last byte of converted output data. @@ -80,12 +72,10 @@ updated to point to the byte following the last byte of converted output data. .sp .ne 2 -.mk .na \fB\fIoutbytesleft\fR\fR .ad .RS 16n -.rt As an input parameter, the number of available bytes at \fIoutbuf\fR where converted character bytes can be saved. As an output parameter, the number of bytes still available at \fIoutbuf\fR after the conversion. @@ -93,57 +83,47 @@ bytes still available at \fIoutbuf\fR after the conversion. .sp .ne 2 -.mk .na \fB\fIerrno\fR\fR .ad .RS 16n -.rt Indicates the error when conversion is not completed or failed. The following are possible values: .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 13n -.rt The input conversion was stopped due to an input byte that does not belong to the input codeset. .RE .sp .ne 2 -.mk .na \fB\fBE2BIG\fR\fR .ad .RS 13n -.rt The input conversion was stopped due to lack of space in the output buffer. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 13n -.rt The input conversion was stopped due to an incomplete character or shift sequence at the end of the input buffer. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 13n -.rt The \fIcd\fR input parameter is not a valid open code conversion descriptor. .RE @@ -292,13 +272,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/kiconv_close.9f b/usr/src/man/man9f/kiconv_close.9f index 20e315911c..95859cced8 100644 --- a/usr/src/man/man9f/kiconv_close.9f +++ b/usr/src/man/man9f/kiconv_close.9f @@ -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 kiconv_close 9F "16 Oct 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH KICONV_CLOSE 9F "Oct 16, 2007" .SH NAME kiconv_close \- code conversion descriptor deallocation function .SH SYNOPSIS @@ -24,12 +24,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIcd\fR\fR .ad .RS 6n -.rt Code conversion descriptor to be deallocated. .RE @@ -46,12 +44,10 @@ Upon successful completion, \fBkiconv_close()\fR returns 0; otherwise, it returns the following \fIerrno\fR value to indicate the error: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 9n -.rt The code conversion descriptor is invalid. .RE @@ -97,13 +93,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/kiconv_open.9f b/usr/src/man/man9f/kiconv_open.9f index c7210325d8..dd613c7bff 100644 --- a/usr/src/man/man9f/kiconv_open.9f +++ b/usr/src/man/man9f/kiconv_open.9f @@ -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 kiconv_open 9F "16 Oct 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH KICONV_OPEN 9F "Oct 16, 2007" .SH NAME kiconv_open \- code conversion descriptor allocation function .SH SYNOPSIS @@ -23,23 +23,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fItocode\fR\fR .ad .RS 12n -.rt Points to a target codeset name string. .RE .sp .ne 2 -.mk .na \fB\fIfromcode\fR\fR .ad .RS 12n -.rt Points to a source codeset name string. .RE @@ -62,15 +58,15 @@ Name Description Big5 Traditional Chinese Big5 Big5-HKSCS Traditional Chinese Big5-Hong Kong Supplementary Character Set - CP720 DOS Arabic - CP737 DOS Greek - CP850 DOS Latin-1 (Western European) - CP852 DOS Latin-2 (Eastern European) - CP857 DOS Latin-5 (Turkish) - CP862 DOS Hebrew - CP866 DOS Cyrillic Russian - CP932 Japanese Shift JIS (Windows) - CP950-HKSCS Traditional Chinese HKSCS-2001 (Windows) + CP720 DOS Arabic + CP737 DOS Greek + CP850 DOS Latin-1 (Western European) + CP852 DOS Latin-2 (Eastern European) + CP857 DOS Latin-5 (Turkish) + CP862 DOS Hebrew + CP866 DOS Cyrillic Russian + CP932 Japanese Shift JIS (Windows) + CP950-HKSCS Traditional Chinese HKSCS-2001 (Windows) CP1250 Central Europe CP1251 Cyrillic CP1252 Western Europe @@ -85,24 +81,24 @@ Name Description EUC-KR Korean EUC EUC-TW Traditional Chinese EUC GB18030 Simplified Chinese GB18030 - GBK Simplified Chinese GBK + GBK Simplified Chinese GBK ISO-8859-1 Latin-1 (Western European) - ISO-8859-2 Latin-2 (Eastern European) - ISO-8859-3 Latin-3 (Southern European) - ISO-8859-4 Latin-4 (Northern European) + ISO-8859-2 Latin-2 (Eastern European) + ISO-8859-3 Latin-3 (Southern European) + ISO-8859-4 Latin-4 (Northern European) ISO-8859-5 Cyrillic ISO-8859-6 Arabic ISO-8859-7 Greek ISO-8859-8 Hebrew ISO-8859-9 Latin-5 (Turkish) - ISO-8859-10 Latin-6 (Nordic) + ISO-8859-10 Latin-6 (Nordic) ISO-8859-13 Latin-7 (Baltic) ISO-8859-15 Latin-9 (Western European with euro sign) KOI8-R Cyrillic - Shift_JIS Japanese Shift JIS (JIS) + Shift_JIS Japanese Shift JIS (JIS) TIS_620 Thai (a.k.a. ISO 8859-11) - Unified-Hangul Korean Unified Hangul - + Unified-Hangul Korean Unified Hangul + .fi .in -2 .sp @@ -115,28 +111,28 @@ supported as alternative names to be used: .sp .in +2 .nf -Aliases Original Name - 720 CP720 - 737 CP737 - 850 CP850 - 852 CP852 - 857 CP857 - 862 CP862 - 866 CP866 - 932 CP932 - 936, CP936 GBK - 949, CP949 Unified-Hangul - 950, CP950 Big5 - 1250 CP1250 - 1251 CP1251 - 1252 CP1252 - 1253 CP1253 - 1254 CP1254 - 1255 CP1255 - 1256 CP1256 - 1257 CP1257 - ISO-8859-11 TIS_620 - PCK, SJIS Shift_JIS +Aliases Original Name + 720 CP720 + 737 CP737 + 850 CP850 + 852 CP852 + 857 CP857 + 862 CP862 + 866 CP866 + 932 CP932 + 936, CP936 GBK + 949, CP949 Unified-Hangul + 950, CP950 Big5 + 1250 CP1250 + 1251 CP1251 + 1252 CP1252 + 1253 CP1253 + 1254 CP1254 + 1255 CP1255 + 1256 CP1256 + 1257 CP1257 + ISO-8859-11 TIS_620 + PCK, SJIS Shift_JIS .fi .in -2 .sp @@ -188,13 +184,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/kiconvstr.9f b/usr/src/man/man9f/kiconvstr.9f index 141e43cf92..9dd5686a7c 100644 --- a/usr/src/man/man9f/kiconvstr.9f +++ b/usr/src/man/man9f/kiconvstr.9f @@ -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 kiconvstr 9F "16 Oct 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH KICONVSTR 9F "Oct 16, 2007" .SH NAME kiconvstr \- string-based code conversion function .SH SYNOPSIS @@ -15,7 +15,7 @@ kiconvstr \- string-based code conversion function -\fBsize_t\fR \fBkiconvstr\fR(\fBconst char *\fR\fItocode\fR, \fBconst char *\fR\fIfromcode\fR, \fBchar *\fR\fIinarray\fR, +\fBsize_t\fR \fBkiconvstr\fR(\fBconst char *\fR\fItocode\fR, \fBconst char *\fR\fIfromcode\fR, \fBchar *\fR\fIinarray\fR, \fBsize_t *\fR\fIinlen\fR, \fBchar *\fR\fIoutarray\fR, \fBsize_t *\fR\fIoutlen\fR, \fBint\fR \fIflag\fR, \fBint *\fR\fIerrno\fR); .fi @@ -29,48 +29,40 @@ Solaris DDI specific (Solaris DDI). The parameters for the \fBkiconvstr\fR function are as follows: .sp .ne 2 -.mk .na \fB\fItocode\fR\fR .ad .RS 12n -.rt Points to a target codeset name string. Supported names are specified at \fBkiconv_open()\fR. .RE .sp .ne 2 -.mk .na \fB\fIfromcode\fR\fR .ad .RS 12n -.rt Points to a source codeset name string. Supported names are specified at \fBkiconv_open()\fR. .RE .sp .ne 2 -.mk .na \fB\fIinarray\fR\fR .ad .RS 12n -.rt Points to a byte array containing a sequence of character bytes in \fIfromcode\fR codeset to be converted. .RE .sp .ne 2 -.mk .na \fB\fIinlen\fR\fR .ad .RS 12n -.rt As an input parameter, the number of bytes to be converted in \fIinarray\fR. As an output parameter, the number of bytes in \fIinarray\fR still not converted after the conversion. @@ -78,24 +70,20 @@ after the conversion. .sp .ne 2 -.mk .na \fB\fIoutarray\fR\fR .ad .RS 12n -.rt Points to a byte array where converted character bytes in \fItocode\fR codeset can be saved. .RE .sp .ne 2 -.mk .na \fB\fIoutlen\fR\fR .ad .RS 12n -.rt As an input parameter, the number of available bytes at \fIoutarray\fR where converted character bytes can be saved. As an output parameter, the number of bytes still available at \fIoutarray\fR after the conversion. @@ -103,17 +91,14 @@ bytes still available at \fIoutarray\fR after the conversion. .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 12n -.rt Indicates possible conversion options constructed by a bitwise-inclusive-OR of the following values: .sp .ne 2 -.mk .na \fB\fBKICONV_IGNORE_NULL\fR\fR .ad @@ -129,7 +114,6 @@ conversion continues until the number of \fIinarray\fR bytes pointed by .sp .ne 2 -.mk .na \fB\fBKICONV_REPLACE_INVALID\fR\fR .ad @@ -146,57 +130,47 @@ instead treats such characters as non-identical conversion cases. .sp .ne 2 -.mk .na \fB\fIerrno\fR\fR .ad .RS 12n -.rt Indicates the error when conversion is not completed or failed. The following are possible values: .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 13n -.rt The input conversion was stopped due to an input byte that does not belong to the input codeset. .RE .sp .ne 2 -.mk .na \fB\fBE2BIG\fR\fR .ad .RS 13n -.rt The input conversion was stopped due to lack of space in the output array. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 13n -.rt The input conversion was stopped due to an incomplete character or shift sequence at the end of the input array. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 13n -.rt The requested conversion is not supported. .RE @@ -326,13 +300,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/kmem_alloc.9f b/usr/src/man/man9f/kmem_alloc.9f index 810291c4d2..969b730f73 100644 --- a/usr/src/man/man9f/kmem_alloc.9f +++ b/usr/src/man/man9f/kmem_alloc.9f @@ -4,7 +4,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 kmem_alloc 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH KMEM_ALLOC 9F "Jan 16, 2006" .SH NAME kmem_alloc, kmem_zalloc, kmem_free \- allocate kernel memory .SH SYNOPSIS @@ -35,23 +35,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 8n -.rt Number of bytes to allocate. .RE .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 8n -.rt Determines whether caller can sleep for memory. Possible flags are \fBKM_SLEEP\fR to allow sleeping until memory is available, or \fBKM_NOSLEEP\fR to return \fINULL\fR immediately if memory is not available. @@ -59,12 +55,10 @@ to return \fINULL\fR immediately if memory is not available. .sp .ne 2 -.mk .na \fB\fIbuf\fR\fR .ad .RS 8n -.rt Pointer to allocated memory. .RE diff --git a/usr/src/man/man9f/kmem_cache_create.9f b/usr/src/man/man9f/kmem_cache_create.9f index 97c9faab51..95b6fd6525 100644 --- a/usr/src/man/man9f/kmem_cache_create.9f +++ b/usr/src/man/man9f/kmem_cache_create.9f @@ -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 kmem_cache_create 9F "24 Jun 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH KMEM_CACHE_CREATE 9F "Jun 24, 2008" .SH NAME kmem_cache_create, kmem_cache_alloc, kmem_cache_free, kmem_cache_destroy, kmem_cache_set_move \- kernel memory cache allocator operations @@ -13,9 +13,9 @@ kmem_cache_set_move \- kernel memory cache allocator operations #include <sys/types.h> #include <sys/kmem.h> -\fBkmem_cache_t *\fR\fBkmem_cache_create\fR(\fBchar *\fR\fIname\fR, \fBsize_t\fR \fIbufsize\fR, - \fBsize_t\fR \fIalign\fR, \fBint\fR (*\fIconstructor\fR)(void *, void *, int), - \fBvoid\fR (*\fIdestructor\fR)(void *, void *), \fBvoid\fR (*\fIreclaim\fR)(void *), +\fBkmem_cache_t *\fR\fBkmem_cache_create\fR(\fBchar *\fR\fIname\fR, \fBsize_t\fR \fIbufsize\fR, + \fBsize_t\fR \fIalign\fR, \fBint\fR (*\fIconstructor\fR)(void *, void *, int), + \fBvoid\fR (*\fIdestructor\fR)(void *, void *), \fBvoid\fR (*\fIreclaim\fR)(void *), \fBvoid\fR *\fIprivate\fR, \fBvoid\fR *\fIvmp\fR, \fBint\fR \fIcflags\fR); .fi @@ -36,7 +36,7 @@ kmem_cache_set_move \- kernel memory cache allocator operations .LP .nf -\fBvoid\fR \fBkmem_cache_set_move\fR(\fBkmem_cache_t\fR *\fIcp\fR, \fBkmem_cbrc_t\fR (*\fImove\fR)(\fBvoid\fR *, +\fBvoid\fR \fBkmem_cache_set_move\fR(\fBkmem_cache_t\fR *\fIcp\fR, \fBkmem_cbrc_t\fR (*\fImove\fR)(\fBvoid\fR *, \fBvoid\fR *, \fBsize_t\fR *, \fBvoid\fR *)); .fi @@ -71,143 +71,117 @@ Solaris DDI specific (Solaris DDI) The parameters for the \fBkmem_cache_*\fR functions are as follows: .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 15n -.rt Descriptive name of a \fBkstat\fR(9S) structure of class \fBkmem_cache\fR. Names longer than 31 characters are truncated. .RE .sp .ne 2 -.mk .na \fB\fIbufsize\fR\fR .ad .RS 15n -.rt Size of the objects it manages. .RE .sp .ne 2 -.mk .na \fB\fIalign\fR\fR .ad .RS 15n -.rt Required object alignment. .RE .sp .ne 2 -.mk .na \fB\fIconstructor\fR\fR .ad .RS 15n -.rt Pointer to an object constructor function. Parameters are defined below. .RE .sp .ne 2 -.mk .na \fB\fIdestructor\fR\fR .ad .RS 15n -.rt Pointer to an object destructor function. Parameters are defined below. .RE .sp .ne 2 -.mk .na \fB\fIreclaim\fR\fR .ad .RS 15n -.rt Drivers should pass \fBNULL\fR. .RE .sp .ne 2 -.mk .na \fB\fIprivate\fR\fR .ad .RS 15n -.rt Pass-through argument for constructor/destructor. .RE .sp .ne 2 -.mk .na \fB\fIvmp\fR\fR .ad .RS 15n -.rt Drivers should pass \fBNULL\fR. .RE .sp .ne 2 -.mk .na \fB\fIcflags\fR\fR .ad .RS 15n -.rt Drivers must pass 0. .RE .sp .ne 2 -.mk .na \fB\fIkmflag\fR\fR .ad .RS 15n -.rt Possible flags are: .sp .ne 2 -.mk .na \fB\fBKM_SLEEP\fR\fR .ad .RS 15n -.rt Allow sleeping (blocking) until memory is available. .RE .sp .ne 2 -.mk .na \fB\fBKM_NOSLEEP\fR\fR .ad .RS 15n -.rt Return NULL immediately if memory is not available. .RE .sp .ne 2 -.mk .na \fB\fBKM_PUSHPAGE\fR\fR .ad .RS 15n -.rt Allow the allocation to use reserved memory. .RE @@ -215,23 +189,19 @@ Allow the allocation to use reserved memory. .sp .ne 2 -.mk .na \fB\fIobj\fR\fR .ad .RS 15n -.rt Pointer to the object allocated by \fBkmem_cache_alloc()\fR. .RE .sp .ne 2 -.mk .na \fB\fImove\fR\fR .ad .RS 15n -.rt Pointer to an object relocation function. Parameters are defined below. .RE @@ -240,35 +210,29 @@ Pointer to an object relocation function. Parameters are defined below. The parameters for the callback constructor function are as follows: .sp .ne 2 -.mk .na \fB\fBvoid *\fIbuf\fR\fR\fR .ad .RS 18n -.rt Pointer to the object to be constructed. .RE .sp .ne 2 -.mk .na \fB\fBvoid *\fIuser_arg\fR\fR\fR .ad .RS 18n -.rt The \fIprivate\fR parameter from the call to \fBkmem_cache_create()\fR; it is typically a pointer to the soft-state structure. .RE .sp .ne 2 -.mk .na \fB\fBint \fIkmflags\fR\fR\fR .ad .RS 18n -.rt Propagated \fIkmflag\fR values. .RE @@ -277,23 +241,19 @@ Propagated \fIkmflag\fR values. The parameters for the callback destructor function are as follows: .sp .ne 2 -.mk .na \fB\fBvoid *\fIbuf\fR\fR\fR .ad .RS 18n -.rt Pointer to the object to be deconstructed. .RE .sp .ne 2 -.mk .na \fB\fBvoid *\fIuser_arg\fR\fR\fR .ad .RS 18n -.rt The \fIprivate\fR parameter from the call to \fBkmem_cache_create()\fR; it is typically a pointer to the soft-state structure. .RE @@ -303,46 +263,38 @@ typically a pointer to the soft-state structure. The parameters for the callback \fBmove()\fR function are as follows: .sp .ne 2 -.mk .na \fB\fBvoid *\fIold\fR\fR\fR .ad .RS 18n -.rt Pointer to the object to be moved. .RE .sp .ne 2 -.mk .na \fB\fBvoid *\fInew\fR\fR\fR .ad .RS 18n -.rt Pointer to the object that serves as the copy destination for the contents of the old parameter. .RE .sp .ne 2 -.mk .na \fB\fBsize_t \fIbufsize\fR\fR\fR .ad .RS 18n -.rt Size of the object to be moved. .RE .sp .ne 2 -.mk .na \fB\fBvoid *\fIuser_arg\fR\fR\fR .ad .RS 18n -.rt The private parameter from the call to \fBkmem_cache_create()\fR; it is typically a pointer to the \fBsoft-state\fR structure. .RE @@ -478,35 +430,29 @@ slab layer (bypassing the per-CPU magazine layer). The response tells the allocator which of the two object parameters to free: .sp .ne 2 -.mk .na \fB\fBKMEM_CBRC_YES\fR\fR .ad .RS 23n -.rt The client moved the object; the allocator frees the old parameter. .RE .sp .ne 2 -.mk .na \fB\fBKMEM_CBRC_NO\fR\fR .ad .RS 23n -.rt The client refused to move the object; the allocator frees the new parameter (the unused copy destination). .RE .sp .ne 2 -.mk .na \fB\fBKMEM_CBRC_LATER\fR\fR .ad .RS 23n -.rt The client is using the object and cannot move it now; the allocator frees the new parameter (the unused copy destination). The client should use \fBKMEM_CBRC_LATER\fR instead of \fBKMEM_CBRC_NO\fR if the object is likely to @@ -515,12 +461,10 @@ become movable soon. .sp .ne 2 -.mk .na \fB\fBKMEM_CBRC_DONT_NEED\fR\fR .ad .RS 23n -.rt The client no longer needs the object; the allocator frees both the old and new parameters. This response is the client's opportunity to be a model citizen and give back as much as it can. @@ -528,45 +472,37 @@ give back as much as it can. .sp .ne 2 -.mk .na \fB\fBKMEM_CBRC_DONT_KNOW\fR\fR .ad .RS 23n -.rt The client does not know about the object because: .sp .ne 2 -.mk .na \fBa)\fR .ad .RS 6n -.rt the client has just allocated the object and has not yet put it wherever it expects to find known objects .RE .sp .ne 2 -.mk .na \fBb)\fR .ad .RS 6n -.rt the client has removed the object from wherever it expects to find known objects and is about to free the object .RE .sp .ne 2 -.mk .na \fBc)\fR .ad .RS 6n -.rt the client has freed the object .RE @@ -610,23 +546,19 @@ less likely to call back again for that object. The parameters for the \fBnotification\fR function are as follows: .sp .ne 2 -.mk .na \fB\fIcp\fR\fR .ad .RS 7n -.rt Pointer to the object cache. .RE .sp .ne 2 -.mk .na \fB\fIobj\fR\fR .ad .RS 7n -.rt Pointer to the object that has become movable since an earlier refusal to move it. .RE @@ -807,13 +739,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/kstat_create.9f b/usr/src/man/man9f/kstat_create.9f index 2b487b83c4..2f6cd3e878 100644 --- a/usr/src/man/man9f/kstat_create.9f +++ b/usr/src/man/man9f/kstat_create.9f @@ -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 kstat_create 9F "13 Nov 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH KSTAT_CREATE 9F "Nov 13, 2006" .SH NAME kstat_create \- create and initialize a new kstat .SH SYNOPSIS @@ -14,8 +14,8 @@ kstat_create \- create and initialize a new kstat -\fBkstat_t *\fR\fBkstat_create\fR(\fBconst char *\fR\fIks_module\fR, \fBint\fR \fIks_instance\fR, - \fBconst char *\fR\fIks_name\fR, \fBconst char *\fR\fIks_class\fR, \fBuchar_t\fR \fIks_type\fR, +\fBkstat_t *\fR\fBkstat_create\fR(\fBconst char *\fR\fIks_module\fR, \fBint\fR \fIks_instance\fR, + \fBconst char *\fR\fIks_name\fR, \fBconst char *\fR\fIks_class\fR, \fBuchar_t\fR \fIks_type\fR, \fBulong_t\fR \fIks_ndata\fR, \fBuchar_t\fR \fIks_flag\fR); .fi @@ -26,48 +26,40 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIks_module\fR\fR .ad .RS 15n -.rt The name of the provider's module (such as "\fBsd\fR", "\fBesp\fR", ...). The "\fBcore\fR" kernel uses the name "unix". .RE .sp .ne 2 -.mk .na \fB\fIks_instance\fR\fR .ad .RS 15n -.rt The provider's instance number, as from \fBddi_get_instance\fR(9F). Modules which do not have a meaningful instance number should use \fB0\fR. .RE .sp .ne 2 -.mk .na \fB\fIks_name\fR\fR .ad .RS 15n -.rt A pointer to a string that uniquely identifies this structure. Only \fBKSTAT_STRLEN \(mi 1\fR characters are significant. .RE .sp .ne 2 -.mk .na \fB\fIks_class\fR\fR .ad .RS 15n -.rt The general class that this kstat belongs to. The following classes are currently in use: \fBdisk\fR, \fBtape\fR, \fBnet\fR, \fBcontroller\fR, \fBvm\fR, \fBkvm\fR, \fBhat\fR, \fBstreams\fR, \fBkstat\fR, and \fBmisc\fR. @@ -75,43 +67,35 @@ currently in use: \fBdisk\fR, \fBtape\fR, \fBnet\fR, \fBcontroller\fR, .sp .ne 2 -.mk .na \fB\fIks_type\fR\fR .ad .RS 15n -.rt The type of \fBkstat\fR to allocate. Valid types are: .sp .ne 2 -.mk .na \fB\fBKSTAT_TYPE_NAMED\fR\fR .ad .RS 20n -.rt Allows more than one data record per \fBkstat\fR. .RE .sp .ne 2 -.mk .na \fB\fBKSTAT_TYPE_INTR\fR\fR .ad .RS 20n -.rt Interrupt; only one data record per \fBkstat\fR. .RE .sp .ne 2 -.mk .na \fB\fBKSTAT_TYPE_IO\fR\fR .ad .RS 20n -.rt \fBI/O\fR; only one data record per \fBkstat\fR .RE @@ -119,33 +103,27 @@ Interrupt; only one data record per \fBkstat\fR. .sp .ne 2 -.mk .na \fB\fIks_ndata\fR\fR .ad .RS 15n -.rt The number of type-specific data records to allocate. .RE .sp .ne 2 -.mk .na \fB\fIks_flag\fR\fR .ad .RS 15n -.rt A bit-field of various flags for this \fBkstat\fR. \fIks_flag\fR is some combination of: .sp .ne 2 -.mk .na \fB\fBKSTAT_FLAG_VIRTUAL\fR\fR .ad .RS 25n -.rt Tells \fBkstat_create()\fR not to allocate memory for the \fBkstat\fR data section; instead, the driver will set the \fBks_data\fR field to point to the data it wishes to export. This provides a convenient way to export existing @@ -154,23 +132,19 @@ data structures. .sp .ne 2 -.mk .na \fB\fBKSTAT_FLAG_WRITABLE\fR\fR .ad .RS 25n -.rt Makes the \fBkstat\fR data section writable by root. .RE .sp .ne 2 -.mk .na \fB\fBKSTAT_FLAG_PERSISTENT\fR\fR .ad .RS 25n -.rt Indicates that this \fBkstat\fR is to be persistent over time. For persistent \fBkstat\fRs, \fBkstat_delete\fR(9F) simply marks the \fBkstat\fR as dormant; a subsequent \fBkstat_create()\fR reactivates the kstat. This feature is provided diff --git a/usr/src/man/man9f/kstat_delete.9f b/usr/src/man/man9f/kstat_delete.9f index 20c3aa5f9b..5e9b11c522 100644 --- a/usr/src/man/man9f/kstat_delete.9f +++ b/usr/src/man/man9f/kstat_delete.9f @@ -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 kstat_delete 9F "4 Apr 1994" "SunOS 5.11" "Kernel Functions for Drivers" +.TH KSTAT_DELETE 9F "Apr 4, 1994" .SH NAME kstat_delete \- remove a kstat from the system .SH SYNOPSIS @@ -24,12 +24,10 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIksp\fR \fR .ad .RS 8n -.rt Pointer to a currently installed \fBkstat\fR(9S) structure. .RE diff --git a/usr/src/man/man9f/kstat_install.9f b/usr/src/man/man9f/kstat_install.9f index 47a4222b8a..4324cf1797 100644 --- a/usr/src/man/man9f/kstat_install.9f +++ b/usr/src/man/man9f/kstat_install.9f @@ -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 kstat_install 9F "26 May 1994" "SunOS 5.11" "Kernel Functions for Drivers" +.TH KSTAT_INSTALL 9F "May 26, 1994" .SH NAME kstat_install \- add a fully initialized kstat to the system .SH SYNOPSIS @@ -24,12 +24,10 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIksp\fR\fR .ad .RS 7n -.rt Pointer to a fully initialized \fBkstat\fR(9S) structure. .RE @@ -68,11 +66,11 @@ as follows: .sp .in +2 .nf -kstat_t *ksp; +kstat_t *ksp; ksp = kstat_create(module, instance, name, class, type, ndata, flags); if (ksp) { - /* ... provider initialization, if necessary */ - kstat_install(ksp); + /* ... provider initialization, if necessary */ + kstat_install(ksp); } .fi .in -2 diff --git a/usr/src/man/man9f/kstat_named_init.9f b/usr/src/man/man9f/kstat_named_init.9f index b392efd06c..4ae4450b20 100644 --- a/usr/src/man/man9f/kstat_named_init.9f +++ b/usr/src/man/man9f/kstat_named_init.9f @@ -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 kstat_named_init 9F "29 Feb 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH KSTAT_NAMED_INIT 9F "Feb 29, 2008" .SH NAME kstat_named_init, kstat_named_setstr \- initialize a named kstat .SH SYNOPSIS @@ -30,99 +30,81 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIknp\fR\fR .ad .RS 13n -.rt Pointer to a \fBkstat_named\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 13n -.rt The name of the statistic. .RE .sp .ne 2 -.mk .na \fB\fIdata_type\fR\fR .ad .RS 13n -.rt The type of value. This indicates which field of the \fBkstat_named\fR(9S) structure should be used. Valid values are: .sp .ne 2 -.mk .na \fB\fBKSTAT_DATA_CHAR\fR\fR .ad .RS 24n -.rt The "\fBchar\fR" field. .RE .sp .ne 2 -.mk .na \fB\fBKSTAT_DATA_LONG\fR\fR .ad .RS 24n -.rt The "\fBlong\fR" field. .RE .sp .ne 2 -.mk .na \fB\fBKSTAT_DATA_ULONG\fR\fR .ad .RS 24n -.rt The "\fBunsigned long\fR" field. .RE .sp .ne 2 -.mk .na \fB\fBKSTAT_DATA_LONGLONG\fR\fR .ad .RS 24n -.rt Obsolete. Use \fBKSTAT_DATA_INT64\fR. .RE .sp .ne 2 -.mk .na \fB\fBKSTAT_DATA_ULONGLONG\fR\fR .ad .RS 24n -.rt Obsolete. Use \fBKSTAT_DATA_UINT64\fR. .RE .sp .ne 2 -.mk .na \fB\fBKSTAT_DATA_STRING\fR\fR .ad .RS 24n -.rt Arbitrary length "\fBlong string\fR" field. .RE @@ -130,12 +112,10 @@ Arbitrary length "\fBlong string\fR" field. .sp .ne 2 -.mk .na \fB\fIstr\fR\fR .ad .RS 13n -.rt Pointer to a \fBNULL\fR-terminated string. .RE diff --git a/usr/src/man/man9f/kstat_queue.9f b/usr/src/man/man9f/kstat_queue.9f index 441182d5b9..34e78fe522 100644 --- a/usr/src/man/man9f/kstat_queue.9f +++ b/usr/src/man/man9f/kstat_queue.9f @@ -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 kstat_queue 9F "4 Apr 1994" "SunOS 5.11" "Kernel Functions for Drivers" +.TH KSTAT_QUEUE 9F "Apr 4, 1994" .SH NAME kstat_queue, kstat_waitq_enter, kstat_waitq_exit, kstat_runq_enter, kstat_runq_exit, kstat_waitq_to_runq, kstat_runq_back_to_waitq \- update I/O @@ -51,12 +51,10 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIkiop\fR \fR .ad .RS 9n -.rt Pointer to a \fBkstat_io\fR(9S) structure. .RE @@ -75,24 +73,20 @@ The \fBkstat_queue()\fR family of functions manage these times based on the transitions between the driver wait queue and run queue. .sp .ne 2 -.mk .na \fB\fBkstat_waitq_enter()\fR\fR .ad .RS 30n -.rt \fBkstat_waitq_enter()\fR should be called when a request arrives and is placed into a pre-service state (such as just prior to calling \fBdisksort\fR(9F)). .RE .sp .ne 2 -.mk .na \fB\fBkstat_waitq_exit()\fR\fR .ad .RS 30n -.rt \fBkstat_waitq_exit()\fR should be used when a request is removed from its pre-service state. (such as just prior to calling the driver's \fBstart\fR routine). @@ -100,12 +94,10 @@ routine). .sp .ne 2 -.mk .na \fB\fBkstat_runq_enter()\fR\fR .ad .RS 30n -.rt \fBkstat_runq_enter()\fR is also called when a request is placed in its service state (just prior to calling the driver's start routine, but after \fBkstat_waitq_exit()\fR). @@ -113,24 +105,20 @@ state (just prior to calling the driver's start routine, but after .sp .ne 2 -.mk .na \fB\fBkstat_runq_exit()\fR\fR .ad .RS 30n -.rt \fBkstat_runq_exit()\fR is used when a request is removed from its service state (just prior to calling \fBbiodone\fR(9F)). .RE .sp .ne 2 -.mk .na \fB\fBkstat_waitq_to_runq()\fR\fR .ad .RS 30n -.rt \fBkstat_waitq_to_runq()\fR transitions a request from the wait queue to the run queue. This is useful wherever the driver would have normally done a \fBkstat_waitq_exit()\fR followed by a call to \fBkstat_runq_enter()\fR. @@ -138,12 +126,10 @@ run queue. This is useful wherever the driver would have normally done a .sp .ne 2 -.mk .na \fB\fBkstat_runq_back_to_waitq()\fR\fR .ad .RS 30n -.rt \fBkstat_runq_back_to_waitq()\fR transitions a request from the run queue back to the wait queue. This may be necessary in some cases (write throttling is an example). diff --git a/usr/src/man/man9f/ldi_add_event_handler.9f b/usr/src/man/man9f/ldi_add_event_handler.9f index 7d1f3fb54c..2f7d22f160 100644 --- a/usr/src/man/man9f/ldi_add_event_handler.9f +++ b/usr/src/man/man9f/ldi_add_event_handler.9f @@ -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 ldi_add_event_handler 9F "21 Aug 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_ADD_EVENT_HANDLER 9F "Aug 21, 2007" .SH NAME ldi_add_event_handler \- add NDI event service callback handler .SH SYNOPSIS @@ -11,7 +11,7 @@ ldi_add_event_handler \- add NDI event service callback handler .nf #include <sys/ddi_obsolete.h> -\fBint\fR \fBldi_add_event_handler\fR(\fBldi_handle_t\fR \fIlh\fR, \fIddi_eventcookie_t ec\fR, +\fBint\fR \fBldi_add_event_handler\fR(\fBldi_handle_t\fR \fIlh\fR, \fIddi_eventcookie_t ec\fR, \fBvoid (*handler)(\fR\fIldi_handle_t\fR, \fIddi_eventcookie_t\fR, \fBvoid *, void *) void *arg,\fR \fIldi_callback_id_t *id\fR); .fi @@ -23,7 +23,6 @@ Obsolete .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIldi_handle_t lh\fR\fR .ad @@ -34,7 +33,6 @@ Layered handle representing event notification device. .sp .ne 2 -.mk .na \fB\fIddi_eventcookie_t ec\fR\fR .ad @@ -45,7 +43,6 @@ Cookie returned from call to \fBldi_get_eventcookie\fR(9F). .sp .ne 2 -.mk .na \fB\fIvoid (*handler)(ldi_handle_t, ddi_eventcookie_t, void *, void *)\fR\fR .ad @@ -56,7 +53,6 @@ Callback handler for NDI event service notification. .sp .ne 2 -.mk .na \fB\fIvoid *arg\fR\fR .ad @@ -68,7 +64,6 @@ layered driver's softstate structure. .sp .ne 2 -.mk .na \fB\fIldi_callback_id_t *id\fR\fR .ad @@ -103,46 +98,38 @@ be assumed to be random. The routine handler is invoked with the following arguments: .sp .ne 2 -.mk .na \fB\fBldi_handle_t\fR \fIlh\fR\fR .ad .RS 24n -.rt Layered handle representing the device for which the event notification is requested. .RE .sp .ne 2 -.mk .na \fB\fBddi_eventcookie_t\fR \fIec\fR\fR .ad .RS 24n -.rt Structure describing event that occurred. .RE .sp .ne 2 -.mk .na \fB\fBvoid *\fR\fIarg\fR\fR .ad .RS 24n -.rt Opaque data pointer provided by the driver during callback registration. .RE .sp .ne 2 -.mk .na \fB\fBvoid *\fR\fIimpl_data\fR\fR .ad .RS 24n -.rt Pointer to event specific data defined by the framework that invokes the callback function. .RE @@ -150,23 +137,19 @@ callback function. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Callback handler registered successfully. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Failed to register callback handler. Possible reasons include lack of resources or a bad cookie. .RE diff --git a/usr/src/man/man9f/ldi_aread.9f b/usr/src/man/man9f/ldi_aread.9f index fb341797f6..49ed1c27d3 100644 --- a/usr/src/man/man9f/ldi_aread.9f +++ b/usr/src/man/man9f/ldi_aread.9f @@ -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 ldi_aread 9F "3 June 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_AREAD 9F "Jun 3, 2003" .SH NAME ldi_aread, ldi_awrite \- Issue an asynchronous read or write request to a device @@ -23,34 +23,28 @@ device .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlh\fR \fR .ad .RS 13n -.rt Layered handle. .RE .sp .ne 2 -.mk .na \fB\fIcr\fR \fR .ad .RS 13n -.rt Pointer to a credential structure. .RE .sp .ne 2 -.mk .na \fB\fIaio_reqp\fR \fR .ad .RS 13n -.rt Pointer to the \fBaio_req(9S)\fR structure that describes where the data is to be stored or obtained from. .RE @@ -75,23 +69,19 @@ possible return values are shown below. Otherwise any other error number may be returned by the device. .sp .ne 2 -.mk .na \fBEINVAL\fR .ad .RS 11n -.rt Invalid input parameters. .RE .sp .ne 2 -.mk .na \fBENOTSUP\fR .ad .RS 11n -.rt Operation is not supported for this device. .RE diff --git a/usr/src/man/man9f/ldi_devmap.9f b/usr/src/man/man9f/ldi_devmap.9f index bbd267f1bc..2c7be8f57f 100644 --- a/usr/src/man/man9f/ldi_devmap.9f +++ b/usr/src/man/man9f/ldi_devmap.9f @@ -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 ldi_devmap 9F "3 June 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_DEVMAP 9F "Jun 3, 2003" .SH NAME ldi_devmap \- Issue a devmap request to a device .SH SYNOPSIS @@ -11,75 +11,63 @@ ldi_devmap \- Issue a devmap request to a device .nf #include <sys/sunldi.h> -\fBint\fR \fBldi_devmap\fR(\fBldi_handle_t\fR \fIlh\fR, \fBdevmap_cookie_t\fR \fIdhp\fR, \fBoffset_t\fR \fIoff\fR, +\fBint\fR \fBldi_devmap\fR(\fBldi_handle_t\fR \fIlh\fR, \fBdevmap_cookie_t\fR \fIdhp\fR, \fBoffset_t\fR \fIoff\fR, \fBsize_t\fR \fIlen\fR, \fBsize_t *\fR\fImaplen\fR, \fBuint_t\fR \fImodel\fR); .fi .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlh\fR\fR .ad .RS 10n -.rt Layered handle. .RE .sp .ne 2 -.mk .na \fB\fIdhp\fR\fR .ad .RS 10n -.rt Opaque mapping handle used by the system to describe mapping. .RE .sp .ne 2 -.mk .na \fB\fIoff\fR\fR .ad .RS 10n -.rt User offset within the logical device memory at which mapping begins. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 10n -.rt Mapping length (in bytes). .RE .sp .ne 2 -.mk .na \fB\fImaplen\fR\fR .ad .RS 10n -.rt Pointer to length (in bytes) of validated mapping. (Less than or equal to \fIlen\fR). .RE .sp .ne 2 -.mk .na \fB\fImodel\fR\fR .ad .RS 10n -.rt Data model type of current thread. .RE @@ -97,23 +85,19 @@ occurs before the request is passed to the device, possible return values are shown below. Otherwise any other error number may be returned by the device. .sp .ne 2 -.mk .na \fBEINVAL\fR .ad .RS 11n -.rt Invalid input parameters. .RE .sp .ne 2 -.mk .na \fBENOTSUP\fR .ad .RS 11n -.rt Operation is not supported for this device. .RE diff --git a/usr/src/man/man9f/ldi_dump.9f b/usr/src/man/man9f/ldi_dump.9f index 1c36c9ccff..6e33a42b91 100644 --- a/usr/src/man/man9f/ldi_dump.9f +++ b/usr/src/man/man9f/ldi_dump.9f @@ -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 ldi_dump 9F "3 June 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_DUMP 9F "Jun 3, 2003" .SH NAME ldi_dump \- Issue a dump request to a device .SH SYNOPSIS @@ -17,45 +17,37 @@ ldi_dump \- Issue a dump request to a device .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlh\fR \fR .ad .RS 10n -.rt Layered handle. .RE .sp .ne 2 -.mk .na \fB\fIaddr\fR \fR .ad .RS 10n -.rt Area dump address. .RE .sp .ne 2 -.mk .na \fB\fIblkno\fR \fR .ad .RS 10n -.rt Block offset to dump memory. .RE .sp .ne 2 -.mk .na \fB\fInblk\fR \fR .ad .RS 10n -.rt Number of blocks to dump. .RE @@ -72,23 +64,19 @@ before the request is passed on to the device, the possible return values are shown below. Otherwise any other error number may be returned by the device. .sp .ne 2 -.mk .na \fBEINVAL\fR .ad .RS 11n -.rt Invalid input parameters. .RE .sp .ne 2 -.mk .na \fBENOTSUP\fR .ad .RS 11n -.rt Operation is not supported for this device. .RE diff --git a/usr/src/man/man9f/ldi_ev_finalize.9f b/usr/src/man/man9f/ldi_ev_finalize.9f index f81590a243..6b2ebae76e 100644 --- a/usr/src/man/man9f/ldi_ev_finalize.9f +++ b/usr/src/man/man9f/ldi_ev_finalize.9f @@ -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 ldi_ev_finalize 9F "21 Aug 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_EV_FINALIZE 9F "Aug 21, 2007" .SH NAME ldi_ev_finalize \- propagate disposition of a state change event .SH SYNOPSIS @@ -11,7 +11,7 @@ ldi_ev_finalize \- propagate disposition of a state change event .nf #include <sys/sunldi.h> -\fBvoid\fR \fBldi_ev_finalize\fR(\fIdev_info_t *dip\fR, \fIminor_t minor\fR, \fIint spec_type\fR, +\fBvoid\fR \fBldi_ev_finalize\fR(\fIdev_info_t *dip\fR, \fIminor_t minor\fR, \fIint spec_type\fR, \fIint ldi_result\fR, \fIldi_ev_cookie_t cookie\fR, \fIvoid *ev_data\fR); .fi @@ -22,7 +22,6 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdev_info_t *dip\fR\fR .ad @@ -33,7 +32,6 @@ The \fBdevinfo\fR node of the layered consumer exporting the minor device. .sp .ne 2 -.mk .na \fB\fIminor_t minor\fR\fR .ad @@ -44,7 +42,6 @@ The minor number of the exported minor device. .sp .ne 2 -.mk .na \fB\fIint spec_type\fR\fR .ad @@ -55,7 +52,6 @@ The type of minor device (\fBS_IFCHR\fR or \fBS_IFBLK\fR). .sp .ne 2 -.mk .na \fB\fIint ldi_result\fR\fR .ad @@ -66,7 +62,6 @@ The final disposition of the state change. .sp .ne 2 -.mk .na \fB\fIldi_ev_cookie_t cookie\fR\fR .ad @@ -78,7 +73,6 @@ An opaque event cookie for the event type returned by a previous call to .sp .ne 2 -.mk .na \fB\fIvoid *ev_data\fR\fR .ad diff --git a/usr/src/man/man9f/ldi_ev_get_cookie.9f b/usr/src/man/man9f/ldi_ev_get_cookie.9f index 440579dc2d..21fef65a05 100644 --- a/usr/src/man/man9f/ldi_ev_get_cookie.9f +++ b/usr/src/man/man9f/ldi_ev_get_cookie.9f @@ -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 ldi_ev_get_cookie 9F "21 Aug 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_EV_GET_COOKIE 9F "Aug 21, 2007" .SH NAME ldi_ev_get_cookie \- get an LDI event cookie for a specified event .SH SYNOPSIS @@ -11,7 +11,7 @@ ldi_ev_get_cookie \- get an LDI event cookie for a specified event .nf #include <sys/sunldi.h> -\fBint\fR \fBldi_ev_get_cookie\fR(\fIldi_handle_t lh\fR, \fIchar *evname\fR, +\fBint\fR \fBldi_ev_get_cookie\fR(\fIldi_handle_t lh\fR, \fIchar *evname\fR, \fIldi_ev_cookie_t *cookiep\fR); .fi @@ -22,7 +22,6 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIldi_handle_t lh\fR\fR .ad @@ -34,7 +33,6 @@ requested. .sp .ne 2 -.mk .na \fB\fIchar *evname\fR\fR .ad @@ -45,7 +43,6 @@ The string name of the event. .sp .ne 2 -.mk .na \fB\fIldi_ev_cookie_t *cookiep\fR\fR .ad @@ -70,7 +67,6 @@ registering callbacks on events. The following two LDI events are currently defined: .sp .ne 2 -.mk .na \fB\fBLDI_EV_OFFLINE\fR\fR .ad @@ -81,7 +77,6 @@ The device is moving to the offline state. .sp .ne 2 -.mk .na \fB\fBLDI_EV_DEGRADE\fR\fR .ad @@ -101,7 +96,6 @@ for NDI event services. For such events, \fBldi_ev_get_cookie()\fR replaces The return values for this function are: .sp .ne 2 -.mk .na \fB\fBLDI_EV_SUCCESS\fR\fR .ad @@ -112,7 +106,6 @@ The event cookie was created successfully. .sp .ne 2 -.mk .na \fB\fBLDI_EV_FAILURE\fR\fR .ad diff --git a/usr/src/man/man9f/ldi_ev_get_type.9f b/usr/src/man/man9f/ldi_ev_get_type.9f index 6dabe383af..50f4792bc1 100644 --- a/usr/src/man/man9f/ldi_ev_get_type.9f +++ b/usr/src/man/man9f/ldi_ev_get_type.9f @@ -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 ldi_ev_get_type 9F "21 Aug 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_EV_GET_TYPE 9F "Aug 21, 2007" .SH NAME ldi_ev_get_type \- get event name string from event cookie .SH SYNOPSIS @@ -21,7 +21,6 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIldi_ev_cookie_t cookie\fR\fR .ad diff --git a/usr/src/man/man9f/ldi_ev_notify.9f b/usr/src/man/man9f/ldi_ev_notify.9f index afe1c4f132..a38224a28c 100644 --- a/usr/src/man/man9f/ldi_ev_notify.9f +++ b/usr/src/man/man9f/ldi_ev_notify.9f @@ -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 ldi_ev_notify 9F "21 Aug 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_EV_NOTIFY 9F "Aug 21, 2007" .SH NAME ldi_ev_notify \- propagate notification of a state change event .SH SYNOPSIS @@ -11,7 +11,7 @@ ldi_ev_notify \- propagate notification of a state change event .nf #include <sys/sunldi.h> -\fBint\fR \fBldi_ev_notify\fR(\fIdev_info_t *dip\fR, \fIminor_t minor\fR, \fIint spec_type\fR, +\fBint\fR \fBldi_ev_notify\fR(\fIdev_info_t *dip\fR, \fIminor_t minor\fR, \fIint spec_type\fR, \fIldi_ev_cookie_t cookie\fR, \fIvoid *ev_data\fR); .fi @@ -22,7 +22,6 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdev_info_t *dip\fR\fR .ad @@ -33,7 +32,6 @@ The \fBdevinfo\fR node of the layered consumer exporting the minor device. .sp .ne 2 -.mk .na \fB\fIminor_t minor\fR\fR .ad @@ -44,7 +42,6 @@ The minor number of the exported minor device. .sp .ne 2 -.mk .na \fB\fIint spec_type\fR\fR .ad @@ -55,7 +52,6 @@ The type of minor device (\fBS_IFCHR\fR or \fBS_IFBLK\fR). .sp .ne 2 -.mk .na \fB\fIldi_ev_cookie_t cookie\fR\fR .ad @@ -67,7 +63,6 @@ An opaque event cookie for the event type returned by a previous call to .sp .ne 2 -.mk .na \fB\fIvoid *ev_data\fR\fR .ad @@ -162,7 +157,6 @@ static int The return values for this function are: .sp .ne 2 -.mk .na \fB\fBLDI_EV_SUCCESS\fR\fR .ad @@ -173,7 +167,6 @@ Consumers up the software stack permit state change. .sp .ne 2 -.mk .na \fB\fBLDI_EV_FAILURE\fR\fR .ad diff --git a/usr/src/man/man9f/ldi_ev_register_callbacks.9f b/usr/src/man/man9f/ldi_ev_register_callbacks.9f index d35286d948..68dddced81 100644 --- a/usr/src/man/man9f/ldi_ev_register_callbacks.9f +++ b/usr/src/man/man9f/ldi_ev_register_callbacks.9f @@ -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 ldi_ev_register_callbacks 9F "21 Aug 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_EV_REGISTER_CALLBACKS 9F "Aug 21, 2007" .SH NAME ldi_ev_register_callbacks \- add a notify and/or finalize callback .SH SYNOPSIS @@ -11,7 +11,7 @@ ldi_ev_register_callbacks \- add a notify and/or finalize callback .nf #include <sys/sunldi.h> -\fBint\fR \fBldi_ev_get_cookie\fR(\fIldi_handle_t lh\fR, \fIldi_ev_cookie_t *cookie\fR, +\fBint\fR \fBldi_ev_get_cookie\fR(\fIldi_handle_t lh\fR, \fIldi_ev_cookie_t *cookie\fR, \fIldi_ev_callback_t *callb\fR, \fBvoid\fR \fI*arg\fR, \fIldi_ev_callback_id_t *id\fR); .fi @@ -22,7 +22,6 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIldi_handle_t lh\fR\fR .ad @@ -34,7 +33,6 @@ requested. .sp .ne 2 -.mk .na \fB\fIldi_ev_cookie_t *cookie\fR\fR .ad @@ -46,7 +44,6 @@ An opaque event cookie for the event type returned by a previous call to .sp .ne 2 -.mk .na \fB\fIldi_ev_callback_t *callb\fR\fR .ad @@ -73,18 +70,15 @@ struct ldi_ev_callback { where .sp .ne 2 -.mk .na \fB\fBcb_vers\fR\fR .ad .RS 11n -.rt Version of callback vector. Must be set to \fBLDI_EV_CB_VERS\fR by the caller. .sp The arguments passed into the callbacks when they are invoked, include: .sp .ne 2 -.mk .na \fB\fBint ldi_result\fR\fR .ad @@ -97,7 +91,6 @@ callback: \fBLDI_EV_SUCCESS\fR: The state change succeeded .sp .ne 2 -.mk .na \fB\fBvoid *ev_data\fR\fR .ad @@ -112,7 +105,6 @@ Event specific data. .sp .ne 2 -.mk .na \fB\fBvoid *arg\fR\fR .ad @@ -123,7 +115,6 @@ A pointer to opaque caller private data. .sp .ne 2 -.mk .na \fB\fBldi_ev_callback_id_t *id\fR\fR .ad @@ -339,7 +330,6 @@ unregister the callback(s) later. The return values for this function are: .sp .ne 2 -.mk .na \fB\fBLDI_EV_SUCCESS\fR\fR .ad @@ -350,7 +340,6 @@ Callback(s) added successfully. .sp .ne 2 -.mk .na \fB\fBLDI_EV_FAILURE\fR\fR .ad @@ -431,7 +420,7 @@ off_notify(ldi_handle_t lh, ldi_ev_cookie_t off_cookie, void *arg, /* * We cannot permit the offline. The first layer that detects - * failure i.e. us, must generate finalize events for our + * failure i.e. us, must generate finalize events for our consumers */ ldi_ev_finalize(dip, minor, spec_type, LDI_EV_FAILURE, off_cookie, @@ -446,7 +435,7 @@ off_notify(ldi_handle_t lh, ldi_ev_cookie_t off_cookie, void *arg, * in our notify callback. ldi_result passed in may be SUCCESS or FAILURE */ static void -off_finalize(ldi_handle_t NULL_lh, ldi_ev_cookie_t off_cookie, +off_finalize(ldi_handle_t NULL_lh, ldi_ev_cookie_t off_cookie, int ldi_result, void *arg, void *ev_data) { ldi_handle_t lh; @@ -496,7 +485,7 @@ event_register(void) /* no notify callbacks allowed for degrade events */ callb.cb_vers = LDI_EV_CB_VERS; - callb.cb_notify = NULL; /* NULL, notify cannot be used for + callb.cb_notify = NULL; /* NULL, notify cannot be used for DEGRADE */ callb.cb_finalize = dgrd_finalize; @@ -515,7 +504,7 @@ event_unregister(ldi_ev_callback_id_t id) * For degrade events. ldi_result will always be LDI_EV_SUCCESS */ static void -dgrd_finalize(ldi_handle_t lh, ldi_ev_cookie_t off_cookie, +dgrd_finalize(ldi_handle_t lh, ldi_ev_cookie_t off_cookie, int ldi_result, void *arg, void *ev_data) { ASSERT(ldi_result == LDI_EV_SUCCESS); diff --git a/usr/src/man/man9f/ldi_ev_remove_callbacks.9f b/usr/src/man/man9f/ldi_ev_remove_callbacks.9f index f2fde4bd24..6f32406473 100644 --- a/usr/src/man/man9f/ldi_ev_remove_callbacks.9f +++ b/usr/src/man/man9f/ldi_ev_remove_callbacks.9f @@ -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 ldi_ev_remove_callbacks 9F "21 Aug 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_EV_REMOVE_CALLBACKS 9F "Aug 21, 2007" .SH NAME ldi_ev_remove_callbacks \- remove all callbacks for a given callback ID .SH SYNOPSIS @@ -21,7 +21,6 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIldi_ev_callback_id_t id\fR\fR .ad diff --git a/usr/src/man/man9f/ldi_get_dev.9f b/usr/src/man/man9f/ldi_get_dev.9f index 16d6845039..1483071303 100644 --- a/usr/src/man/man9f/ldi_get_dev.9f +++ b/usr/src/man/man9f/ldi_get_dev.9f @@ -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 ldi_get_dev 9F "3 June 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_GET_DEV 9F "Jun 3, 2003" .SH NAME ldi_get_dev, ldi_get_otyp, ldi_get_devid, ldi_get_minor_name \- Extract information from a layered handle .SH SYNOPSIS .LP .nf -#include <sys/sunldi.h> +#include <sys/sunldi.h> \fBint\fR \fBldi_get_dev\fR(\fBldi_handle_t lh\fR, \fBdev_t *\fR\fIdevp\fR); .fi @@ -33,43 +33,35 @@ information from a layered handle .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlh\fR \fR .ad .RS 15n -.rt Layered handle .RE .sp .ne 2 -.mk .na \fB\fIotyp\fR \fR .ad .RS 15n -.rt Indicates on which interface the driver was opened. Valid settings are: .sp .ne 2 -.mk .na \fBOTYP_BLK\fR .ad .RS 12n -.rt Open device block interface. .RE .sp .ne 2 -.mk .na \fBOTYP_CHR\fR .ad .RS 12n -.rt Open device character interface. .RE @@ -77,34 +69,28 @@ Open device character interface. .sp .ne 2 -.mk .na \fB\fIdevp\fR \fR .ad .RS 15n -.rt Pointer to a device number. .RE .sp .ne 2 -.mk .na \fB\fIdevid\fR \fR .ad .RS 15n -.rt Device ID. .RE .sp .ne 2 -.mk .na \fB\fIminor_name\fR \fR .ad .RS 15n -.rt Minor device node name. .RE @@ -139,23 +125,19 @@ The \fBldi_get_dev()\fR, \fBldi_get_otyp()\fR, \fBldi_get_devid()\fR, and In case of an error, the following values may be returned: .sp .ne 2 -.mk .na \fBEINVAL\fR .ad .RS 11n -.rt Invalid input parameters. .RE .sp .ne 2 -.mk .na \fBENOTSUP\fR .ad .RS 11n -.rt The operation is not supported for this device. .RE diff --git a/usr/src/man/man9f/ldi_get_eventcookie.9f b/usr/src/man/man9f/ldi_get_eventcookie.9f index 7535caa426..d775de1eaa 100644 --- a/usr/src/man/man9f/ldi_get_eventcookie.9f +++ b/usr/src/man/man9f/ldi_get_eventcookie.9f @@ -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 ldi_get_eventcookie 9F "21 Aug 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_GET_EVENTCOOKIE 9F "Aug 21, 2007" .SH NAME ldi_get_eventcookie \- retrieve NDI event service cookie .SH SYNOPSIS @@ -22,34 +22,28 @@ Obsolete .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIldi_handle_t lh\fR\fR .ad .RS 26n -.rt Layered handle. .RE .sp .ne 2 -.mk .na \fB\fIchar *name\fR\fR .ad .RS 26n -.rt null-terminated string containing the event name. .RE .sp .ne 2 -.mk .na \fB\fIddi_eventcookie_t *ecp\fR\fR .ad .RS 26n -.rt Pointer to the kernel event cookie. .RE @@ -74,23 +68,19 @@ with \fBldi_add_event_handler\fR(9F). .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Cookie handle is returned. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Request was not serviceable by any nexus driver in the target device's ancestral device tree hierarchy. .RE diff --git a/usr/src/man/man9f/ldi_get_size.9f b/usr/src/man/man9f/ldi_get_size.9f index 9d8edea96a..6e235ae434 100644 --- a/usr/src/man/man9f/ldi_get_size.9f +++ b/usr/src/man/man9f/ldi_get_size.9f @@ -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 ldi_get_size 9F "18 Mar 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_GET_SIZE 9F "Mar 18, 2004" .SH NAME ldi_get_size \- Retrieve device size .SH SYNOPSIS @@ -17,23 +17,19 @@ ldi_get_size \- Retrieve device size .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlh\fR \fR .ad .RS 10n -.rt Layered handle. .RE .sp .ne 2 -.mk .na \fB\fIsizep\fR \fR .ad .RS 10n -.rt Pointer to the caller's unsigned 64-bit integer buffer. .RE @@ -51,23 +47,19 @@ via the \fBldi_open_by_name\fR(9F) interface prior to calling The \fBldi_get_size()\fR function returns the following values: .sp .ne 2 -.mk .na \fBDDI_SUCCESS\fR .ad .RS 15n -.rt The device size has been returned within the caller supplied buffer. .RE .sp .ne 2 -.mk .na \fBDDI_FAILURE\fR .ad .RS 15n -.rt The device size could not be found or determined. .RE diff --git a/usr/src/man/man9f/ldi_ident_from_dev.9f b/usr/src/man/man9f/ldi_ident_from_dev.9f index 8af41a1ae1..43ab488821 100644 --- a/usr/src/man/man9f/ldi_ident_from_dev.9f +++ b/usr/src/man/man9f/ldi_ident_from_dev.9f @@ -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 ldi_ident_from_dev 9F "26 Mar 2009" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_IDENT_FROM_DEV 9F "Mar 26, 2009" .SH NAME ldi_ident_from_dev, ldi_ident_from_stream, ldi_ident_from_dip, ldi_ident_release \- ldi cookie management @@ -33,56 +33,46 @@ ldi_ident_release \- ldi cookie management .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIli\fR\fR .ad .RS 7n -.rt ldi identifier .RE .sp .ne 2 -.mk .na \fB\fIlip\fR\fR .ad .RS 7n -.rt ldi identifier pointer .RE .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt pointer to device info node .RE .sp .ne 2 -.mk .na \fB\fIdev\fR\fR .ad .RS 7n -.rt device number .RE .sp .ne 2 -.mk .na \fB\fIsq\fR\fR .ad .RS 7n -.rt pointer to a stream queue .RE diff --git a/usr/src/man/man9f/ldi_ioctl.9f b/usr/src/man/man9f/ldi_ioctl.9f index f48c9d04ea..4e26486375 100644 --- a/usr/src/man/man9f/ldi_ioctl.9f +++ b/usr/src/man/man9f/ldi_ioctl.9f @@ -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 ldi_ioctl 9F "3 June 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_IOCTL 9F "Jun 3, 2003" .SH NAME ldi_ioctl \- send an ioctl to a device .SH SYNOPSIS @@ -13,86 +13,72 @@ ldi_ioctl \- send an ioctl to a device -\fBint\fR \fBldi_ioctl\fR(\fBldi_handle_t\fR \fIlh\fR, \fBint\fR \fIcmd\fR, \fBintptr_t\fR \fIarg\fR, \fBint\fR \fImode\fR, +\fBint\fR \fBldi_ioctl\fR(\fBldi_handle_t\fR \fIlh\fR, \fBint\fR \fIcmd\fR, \fBintptr_t\fR \fIarg\fR, \fBint\fR \fImode\fR, \fBcred_t *\fR\fIcr\fR, \fBint *\fR\fIrvalp\fR); .fi .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlh\fR\fR .ad .RS 9n -.rt Layered handle. .RE .sp .ne 2 -.mk .na \fB\fIcr\fR\fR .ad .RS 9n -.rt Pointer to a credential structure used to open a device. .RE .sp .ne 2 -.mk .na \fB\fIrvalp\fR\fR .ad .RS 9n -.rt Caller return value. (May be set by driver and is valid only if the \fBioctl()\fR succeeds). .RE .sp .ne 2 -.mk .na \fB\fIcmd\fR\fR .ad .RS 9n -.rt Command argument. Interpreted by driver \fBioctl()\fR as the operation to be performed. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 9n -.rt Driver parameter. Argument interpretation is driver dependent and usually depends on the command type. .RE .sp .ne 2 -.mk .na \fB\fImode\fR\fR .ad .RS 9n -.rt Bit field that contains: .sp .ne 2 -.mk .na \fBFKIOCTL\fR .ad .RS 11n -.rt Inform the target device that the ioctl originated from within the kernel. .RE @@ -132,12 +118,10 @@ commands are also documented in \fBstreamio\fR(7I). The following streams ioctls are supported: .sp .ne 2 -.mk .na \fBI_PLINK\fR .ad .RS 13n -.rt Behaves as documented in \fBstreamio\fR(7I). The layered handle \fIlh\fR should point to the streams multiplexer. The \fIarg\fR parameter should point to a layered handle for another streams driver. @@ -145,12 +129,10 @@ layered handle for another streams driver. .sp .ne 2 -.mk .na \fBI_UNPLINK\fR .ad .RS 13n -.rt Behaves as documented in \fBstreamio\fR(7I)). The layered handle \fIlh\fR should point to the streams multiplexer. The \fIarg\fR parameter is the multiplexor ID number returned by \fBI_PLINK\fR when the streams were linked. @@ -165,23 +147,19 @@ are shown below. Otherwise any other error number may be returned by the device. .sp .ne 2 -.mk .na \fBEINVAL\fR .ad .RS 11n -.rt Invalid input parameters. .RE .sp .ne 2 -.mk .na \fBENOTSUP\fR .ad .RS 11n -.rt Operation is not supported for this device. .RE diff --git a/usr/src/man/man9f/ldi_open_by_dev.9f b/usr/src/man/man9f/ldi_open_by_dev.9f index cc006ccba9..d39fe411da 100644 --- a/usr/src/man/man9f/ldi_open_by_dev.9f +++ b/usr/src/man/man9f/ldi_open_by_dev.9f @@ -3,22 +3,22 @@ .\" 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 ldi_open_by_dev 9F "9 Aug 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_OPEN_BY_DEV 9F "Aug 9, 2004" .SH NAME ldi_open_by_dev, ldi_open_by_name, ldi_open_by_devid, ldi_close \- open and close devices .SH SYNOPSIS .LP .nf -#include <sys/sunldi.h> +#include <sys/sunldi.h> -\fBint\fR \fBldi_open_by_dev\fR(\fBdev_t *\fR\fIdevp\fR, \fBint\fR \fIotyp\fR, \fBint\fR \fIflag\fR, \fBcred_t *\fR\fIcr\fR, +\fBint\fR \fBldi_open_by_dev\fR(\fBdev_t *\fR\fIdevp\fR, \fBint\fR \fIotyp\fR, \fBint\fR \fIflag\fR, \fBcred_t *\fR\fIcr\fR, \fBldi_handle_t *\fR\fIlhp\fR, \fBldi_ident_t\fR \fIli\fR); .fi .LP .nf -\fBint\fR \fBldi_open_by_name\fR(\fBchar *\fR\fIpathname\fR, \fBint\fR \fIflag\fR, \fBcred_t *\fR\fIcr\fR, +\fBint\fR \fBldi_open_by_name\fR(\fBchar *\fR\fIpathname\fR, \fBint\fR \fIflag\fR, \fBcred_t *\fR\fIcr\fR, \fBldi_handle_t *\fR\fIlhp\fR, \fBldi_ident_t\fR \fIli\fR); .fi @@ -36,121 +36,99 @@ close devices .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlh\fR\fR .ad .RS 14n -.rt Layered handle .RE .sp .ne 2 -.mk .na \fB\fIlhp\fR\fR .ad .RS 14n -.rt Pointer to a layered handle that is returned upon a successful open. .RE .sp .ne 2 -.mk .na \fB\fIli\fR\fR .ad .RS 14n -.rt LDI identifier. .RE .sp .ne 2 -.mk .na \fB\fIcr\fR\fR .ad .RS 14n -.rt Pointer to the credential structure used to open a device. .RE .sp .ne 2 -.mk .na \fB\fIdevp\fR\fR .ad .RS 14n -.rt Pointer to a device number. .RE .sp .ne 2 -.mk .na \fB\fIpathname\fR\fR .ad .RS 14n -.rt Pathname to a device. .RE .sp .ne 2 -.mk .na \fB\fIdevid\fR\fR .ad .RS 14n -.rt Device ID. .RE .sp .ne 2 -.mk .na \fB\fIminor_name\fR\fR .ad .RS 14n -.rt Minor device node name. .RE .sp .ne 2 -.mk .na \fB\fIotyp\fR\fR .ad .RS 14n -.rt Flag passed to the driver indicating which interface is open. Valid settings are: .sp .ne 2 -.mk .na \fBOTYP_BLK\fR .ad .RS 12n -.rt Open the device block interface. .RE .sp .ne 2 -.mk .na \fBOTYP_CHR\fR .ad .RS 12n -.rt Open the device character interface. .RE @@ -160,70 +138,58 @@ Only one OTYP flag can be specified. To open streams devices, specify .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 14n -.rt Bit field that instructs the driver on how to open the device. Valid settings are: .sp .ne 2 -.mk .na \fBFEXCL\fR .ad .RS 11n -.rt Open the device with exclusive access; fail all other attempts to open the device. .RE .sp .ne 2 -.mk .na \fBFNDELAY\fR .ad .RS 11n -.rt Open the device and return immediately. Do not block the open even if something is wrong. .RE .sp .ne 2 -.mk .na \fBFREAD\fR .ad .RS 11n -.rt Open the device with read-only permission. (If ORed with \fBFWRITE\fR, allow both read and write access). .RE .sp .ne 2 -.mk .na \fBFWRITE\fR .ad .RS 11n -.rt Open a device with write-only permission (if ORed with \fBFREAD\fR, then allow both read and write access). .RE .sp .ne 2 -.mk .na \fBFNOCTTY\fR .ad .RS 11n -.rt Open the device. If the device is a tty, do not attempt to open it as a session-controlling tty. .RE @@ -279,34 +245,28 @@ return values are shown below. Otherwise any other error number may be returned by the device. .sp .ne 2 -.mk .na \fBEINVAL\fR .ad .RS 10n -.rt Invalid input parameters. .RE .sp .ne 2 -.mk .na \fBENODEV\fR .ad .RS 10n -.rt Requested device does not exist. .RE .sp .ne 2 -.mk .na \fBENXIO\fR .ad .RS 10n -.rt Unsupported device operation or access mode. .RE @@ -317,46 +277,38 @@ failure occurs before the device is open, possible return values are shown below. Otherwise any other error number may be returned by the device. .sp .ne 2 -.mk .na \fBEINVAL\fR .ad .RS 10n -.rt Invalid input parameters. .RE .sp .ne 2 -.mk .na \fBENODEV\fR .ad .RS 10n -.rt Requested device path does not exist. .RE .sp .ne 2 -.mk .na \fBEACCES\fR .ad .RS 10n -.rt Search permission is denied on a component of the path prefix, or the file exists and the permissions specified by \fIcr\fR are denied. .RE .sp .ne 2 -.mk .na \fBENXIO\fR .ad .RS 10n -.rt Unsupported device operation or access mode. .RE diff --git a/usr/src/man/man9f/ldi_poll.9f b/usr/src/man/man9f/ldi_poll.9f index 8b6fc1aa66..97b61dac1f 100644 --- a/usr/src/man/man9f/ldi_poll.9f +++ b/usr/src/man/man9f/ldi_poll.9f @@ -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 ldi_poll 9F "3 June 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_POLL 9F "Jun 3, 2003" .SH NAME ldi_poll \- Poll a device .SH SYNOPSIS @@ -20,120 +20,98 @@ ldi_poll \- Poll a device .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlh\fR \fR .ad .RS 13n -.rt Layered handle. .RE .sp .ne 2 -.mk .na \fB\fIevents\fR \fR .ad .RS 13n -.rt Potential events. Valid events are: .sp .ne 2 -.mk .na \fBPOLLIN\fR .ad .RS 14n -.rt Data other than high priority data may be read without blocking. .RE .sp .ne 2 -.mk .na \fBPOLLOUT\fR .ad .RS 14n -.rt Normal data may be written without blocking. .RE .sp .ne 2 -.mk .na \fBPOLLPRI\fR .ad .RS 14n -.rt High priority data may be received without blocking. .RE .sp .ne 2 -.mk .na \fBPOLLHUP\fR .ad .RS 14n -.rt Device hangup has occurred. .RE .sp .ne 2 -.mk .na \fBPOLLERR\fR .ad .RS 14n -.rt An error has occurred on the device. .RE .sp .ne 2 -.mk .na \fBPOLLRDNORM\fR .ad .RS 14n -.rt Normal data (priority band = 0) may be read without blocking. .RE .sp .ne 2 -.mk .na \fBPOLLRDBAND\fR .ad .RS 14n -.rt Data from a non-zero priority band may be read without blocking. .RE .sp .ne 2 -.mk .na \fBPOLLWRNORM\fR .ad .RS 14n -.rt Data other than high priority data may be read without blocking. .RE .sp .ne 2 -.mk .na \fBPOLLWRBAND\fR .ad .RS 14n -.rt Priority data (priority band > 0) may be written. .RE @@ -141,12 +119,10 @@ Priority data (priority band > 0) may be written. .sp .ne 2 -.mk .na \fB\fIanyyet\fR\fR .ad .RS 13n -.rt A flag that is non-zero if any other file descriptors in the pollfd array have events pending. The \fBpoll\fR(2) system call takes a pointer to an array of pollfd structures as one of its arguments. See @@ -155,23 +131,19 @@ to an array of pollfd structures as one of its arguments. See .sp .ne 2 -.mk .na \fB\fIreventsp\fR \fR .ad .RS 13n -.rt Pointer to a bitmask of the returned events satisfied. .RE .sp .ne 2 -.mk .na \fB\fIphpp\fR \fR .ad .RS 13n -.rt Pointer to a pointer to a pollhead structure. .RE @@ -188,23 +160,19 @@ The \fBldi_poll()\fR function returns \fB0\fR upon success. If a failure occurs before the request is passed on to the device, possible return values are: .sp .ne 2 -.mk .na \fBEINVAL\fR .ad .RS 11n -.rt Invalid input parameters. .RE .sp .ne 2 -.mk .na \fBENOTSUP\fR .ad .RS 11n -.rt Operation is not supported for this device. .RE diff --git a/usr/src/man/man9f/ldi_prop_exists.9f b/usr/src/man/man9f/ldi_prop_exists.9f index f42573f281..25cb7aee7d 100644 --- a/usr/src/man/man9f/ldi_prop_exists.9f +++ b/usr/src/man/man9f/ldi_prop_exists.9f @@ -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 ldi_prop_exists 9F "3 June 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_PROP_EXISTS 9F "Jun 3, 2003" .SH NAME ldi_prop_exists \- Check for the existence of a property .SH SYNOPSIS @@ -21,34 +21,28 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlh\fR\fR .ad .RS 9n -.rt Layered handle. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 9n -.rt Possible flag values are some combination of: .RE .sp .ne 2 -.mk .na \fBLDI_DEV_T_ANY\fR .ad .RS 21n -.rt Match the lookup request independent of the actual dev_t value that was used when the property was created. The flag indicates any dev_t value (including DDI_DEV_T_NONE) associated with a possible property match satisfies the @@ -57,36 +51,30 @@ matching criteria. .sp .ne 2 -.mk .na \fBDDI_PROP_DONTPASS\fR .ad .RS 21n -.rt Do not pass request to parent device information node if the property is not found. .RE .sp .ne 2 -.mk .na \fBDDI_PROP_NOTPROM\fR .ad .RS 21n -.rt Do not look at PROM properties (ignored on platforms that do not support PROM properties). .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 21n -.rt String containing the name of the property. .RE diff --git a/usr/src/man/man9f/ldi_prop_get_int.9f b/usr/src/man/man9f/ldi_prop_get_int.9f index 1f42880910..789cc63846 100644 --- a/usr/src/man/man9f/ldi_prop_get_int.9f +++ b/usr/src/man/man9f/ldi_prop_get_int.9f @@ -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 ldi_prop_get_int 9F "3 June 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_PROP_GET_INT 9F "Jun 3, 2003" .SH NAME ldi_prop_get_int, ldi_prop_get_int64 \- Lookup integer property .SH SYNOPSIS @@ -11,7 +11,7 @@ ldi_prop_get_int, ldi_prop_get_int64 \- Lookup integer property .nf #include <sys/sunldi.h> -\fBint\fR \fBldi_prop_get_int\fR(\fBldi_handle_t\fR \fIlh\fR, \fBuint_t\fR \fIflags\fR, \fBchar *\fR\fIname\fR, +\fBint\fR \fBldi_prop_get_int\fR(\fBldi_handle_t\fR \fIlh\fR, \fBuint_t\fR \fIflags\fR, \fBchar *\fR\fIname\fR, \fBint\fR \fIdefvalue\fR); .fi @@ -24,32 +24,26 @@ ldi_prop_get_int, ldi_prop_get_int64 \- Lookup integer property .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlh\fR \fR .ad .RS 10n -.rt Layered handle. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR \fR .ad .RS 10n -.rt Possible flag values are some combination of: .sp .ne 2 -.mk .na \fBLDI_DEV_T_ANY\fR .ad .RS 21n -.rt Match the lookup request independent of the actual dev_t value that was used when the property was created. Indicates any dev_t value (including DDI_DEV_T_NONE) associated with a possible property match satisfies the @@ -58,23 +52,19 @@ matching criteria. .sp .ne 2 -.mk .na \fBDDI_PROP_DONTPASS\fR .ad .RS 21n -.rt Do not pass request to parent device information node if property not found. .RE .sp .ne 2 -.mk .na \fBDDI_PROP_NOTPROM\fR .ad .RS 21n -.rt Do not look at PROM properties (ignored on platforms that do not support PROM properties). .RE @@ -83,23 +73,19 @@ properties). .sp .ne 2 -.mk .na \fBname\fR .ad .RS 12n -.rt String containing the property name. .RE .sp .ne 2 -.mk .na \fBdefvalue\fR .ad .RS 12n -.rt Integer value that is returned if the property is not found. .RE @@ -196,15 +182,15 @@ Using\fB ldi_prop_get_int64()\fR. .in +2 .nf The following example demonstrates the use of ldi_prop_get_int64(). - + /* * Get the value of the integer "timeout" property, using * our own default if no such property exists */ int64_t timeout, defval; - - timeout = ldi_prop_get_int64(lh, LDI_DEV_T_ANY|DDI_PROP_DONTPASS, + + timeout = ldi_prop_get_int64(lh, LDI_DEV_T_ANY|DDI_PROP_DONTPASS, propname, defval); .fi .in -2 diff --git a/usr/src/man/man9f/ldi_prop_lookup_int_array.9f b/usr/src/man/man9f/ldi_prop_lookup_int_array.9f index 1ab7719ae7..0843e5f84c 100644 --- a/usr/src/man/man9f/ldi_prop_lookup_int_array.9f +++ b/usr/src/man/man9f/ldi_prop_lookup_int_array.9f @@ -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 ldi_prop_lookup_int_array 9F "3 June 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_PROP_LOOKUP_INT_ARRAY 9F "Jun 3, 2003" .SH NAME ldi_prop_lookup_int_array, ldi_prop_lookup_int64_array, ldi_prop_lookup_string_array, ldi_prop_lookup_string, @@ -25,7 +25,7 @@ ldi_prop_lookup_byte_array \- Lookup property information .LP .nf -\fBint\fR \fBldi_prop_lookup_string_array\fR(\fBldi_handle_t\fR \fIlh\fR, \fBuint_t\fR \fIflags\fR, +\fBint\fR \fBldi_prop_lookup_string_array\fR(\fBldi_handle_t\fR \fIlh\fR, \fBuint_t\fR \fIflags\fR, \fBchar *\fR\fIname\fR, \fBchar ***\fR\fIdatap\fR, \fBuint_t *\fR\fInelementsp\fR); .fi @@ -44,32 +44,26 @@ ldi_prop_lookup_byte_array \- Lookup property information .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlh\fR\fR .ad .RS 9n -.rt Layered handle. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 9n -.rt Possible flag values are some combination of: .sp .ne 2 -.mk .na \fBLDI_DEV_T_ANY\fR .ad .RS 21n -.rt Match the lookup request independent of the actual \fBdev_t\fR value that was used when the property was created. The flag indicates any \fBdev_t\fR value (including DDI_DEV_T_NONE) associated with a possible property match will @@ -78,24 +72,20 @@ satisfy the matching criteria. .sp .ne 2 -.mk .na \fBDDI_PROP_DONTPASS\fR .ad .RS 21n -.rt Do not pass request to parent device information node if the property is not found. .RE .sp .ne 2 -.mk .na \fBDDI_PROP_NOTPROM\fR .ad .RS 21n -.rt Do not look at PROM properties (ignored on platforms that do not support PROM properties). .RE @@ -104,23 +94,19 @@ properties). .sp .ne 2 -.mk .na \fBname\fR .ad .RS 13n -.rt String containing the property name. .RE .sp .ne 2 -.mk .na \fBnelements\fR .ad .RS 13n -.rt The address of an unsigned integer which, upon successful return, contains the number of elements accounted for in the memory pointed at by datap. Depending on the interface you use, the elements are either integers, strings or bytes. @@ -131,7 +117,6 @@ on the interface you use, the elements are either integers, strings or bytes. datap .sp .ne 2 -.mk .na \fBldi_prop_lookup_int_array()\fR .ad @@ -143,7 +128,6 @@ memory containing the integer array property value. .sp .ne 2 -.mk .na \fBldi_prop_lookup_int64_array()\fR .ad @@ -155,7 +139,6 @@ point to memory containing the integer array property value. .sp .ne 2 -.mk .na \fBldi_prop_lookup_string_array()\fR .ad @@ -169,7 +152,6 @@ array of pointers to NULL terminated strings, much like the argv argument to .sp .ne 2 -.mk .na \fBldi_prop_lookup_string()\fR .ad @@ -181,7 +163,6 @@ containing the NULL terminated string value of the property. .sp .ne 2 -.mk .na \fBldi_prop_lookup_byte_array()\fR .ad @@ -282,7 +263,6 @@ free call is ddi_prop_free(my-int-ptr). Property look up functions are described below: .sp .ne 2 -.mk .na \fB\fBldi_prop_lookup_int_array()\fR\fR .ad @@ -297,7 +277,6 @@ integer array value of the property. .sp .ne 2 -.mk .na \fB\fBldi_prop_lookup_int64_array()\fR\fR .ad @@ -313,7 +292,6 @@ integer array value of the property This function does not search the PROM for .sp .ne 2 -.mk .na \fB\fBldi_prop_lookup_string_array()\fR\fR .ad @@ -328,7 +306,6 @@ strings, much like the argv argument to \fBexecve\fR(2). .sp .ne 2 -.mk .na \fB\fBldi_prop_lookup_string()\fR\fR .ad @@ -342,7 +319,6 @@ property. .sp .ne 2 -.mk .na \fB\fBldi_prop_lookup_byte_array()\fR\fR .ad @@ -356,7 +332,6 @@ the property. .sp .ne 2 -.mk .na \fB\fBddi_prop_free()\fR\fR .ad @@ -377,57 +352,47 @@ The functions \fBldi_prop_lookup_int_array()\fR, the following values: .sp .ne 2 -.mk .na \fBDDI_PROP_SUCCESS\fR .ad .RS 26n -.rt Property found and returned. .RE .sp .ne 2 -.mk .na \fBDDI_PROP_INVAL_ARG\fR .ad .RS 26n -.rt If an attempt is made to look up a property with a NULL ldi handle, name is NULL or name is a the null string. .RE .sp .ne 2 -.mk .na \fBDDI_PROP_NOT_FOUND\fR .ad .RS 26n -.rt Property not found. .RE .sp .ne 2 -.mk .na \fBDDI_PROP_UNDEFINED\fR .ad .RS 26n -.rt Prop explicitly undefined (see \fBddi_prop_undefine(9F\fR)). .RE .sp .ne 2 -.mk .na \fBDDI_PROP_CANNOT_DECODE\fR .ad .RS 26n -.rt Property value cannot be decoded. .RE @@ -440,19 +405,19 @@ These functions may be called from user or kernel context. .in +2 .nf Using ldi_prop_lookup_int64_array(). - - The following example demonstrates the use of + + The following example demonstrates the use of ldi_prop_lookup_int64_array(). - + int64_t *options; uint_t noptions; - - /* + + /* * Get the data associated with the integer "options" property * array, along with the number of option integers */ - + if (ldi_prop_lookup_int64_array(lh, LDI_DEV_T_ANY|DDI_PROP_NOTPROM, "options", &options, &noptions) == DDI_PROP_SUCCESS) { @@ -461,7 +426,7 @@ Using ldi_prop_lookup_int64_array(). * we just received. Let's do "our thing" with data. */ xx_process_options(options, noptions); - + /* * Free the memory allocated for the property data */ diff --git a/usr/src/man/man9f/ldi_putmsg.9f b/usr/src/man/man9f/ldi_putmsg.9f index 6e194722e3..a1ded6c62d 100644 --- a/usr/src/man/man9f/ldi_putmsg.9f +++ b/usr/src/man/man9f/ldi_putmsg.9f @@ -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 ldi_putmsg 9F "3 June 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_PUTMSG 9F "Jun 3, 2003" .SH NAME ldi_putmsg, ldi_getmsg \- Read/write message blocks from/to a stream .SH SYNOPSIS @@ -22,45 +22,37 @@ ldi_putmsg, ldi_getmsg \- Read/write message blocks from/to a stream .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlh\fR \fR .ad .RS 10n -.rt Layered handle. .RE .sp .ne 2 -.mk .na \fB\fIsmp\fR \fR .ad .RS 10n -.rt Message block to send. .RE .sp .ne 2 -.mk .na \fB\fIrmp\fR \fR .ad .RS 10n -.rt Message block to receive. .RE .sp .ne 2 -.mk .na \fB\fItimeo\fR \fR .ad .RS 10n -.rt Optional timeout for data reception. .RE @@ -89,34 +81,28 @@ possible return values are shown below. Otherwise any other error number may be returned by the device. .sp .ne 2 -.mk .na \fBEINVAL\fR .ad .RS 11n -.rt Invalid input parameters. .RE .sp .ne 2 -.mk .na \fBENOTSUP\fR .ad .RS 11n -.rt Operation is not supported for this device. .sp The \fBldi_getmsg()\fR function may also return: .sp .ne 2 -.mk .na \fBETIME\fR .ad .RS 9n -.rt Returned if the timeout \fBtimeo\fR expires with no messages received. .RE diff --git a/usr/src/man/man9f/ldi_read.9f b/usr/src/man/man9f/ldi_read.9f index b03a36e14a..50b2fc49ee 100644 --- a/usr/src/man/man9f/ldi_read.9f +++ b/usr/src/man/man9f/ldi_read.9f @@ -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 ldi_read 9F "3 June 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_READ 9F "Jun 3, 2003" .SH NAME ldi_read, ldi_write \- Read and write from a device .SH SYNOPSIS @@ -22,34 +22,28 @@ ldi_read, ldi_write \- Read and write from a device .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlh\fR \fR .ad .RS 9n -.rt Layered handle. .RE .sp .ne 2 -.mk .na \fB\fIcr\fR \fR .ad .RS 9n -.rt Pointer to a credential structure used to open a device. .RE .sp .ne 2 -.mk .na \fB\fIuiop\fR \fR .ad .RS 9n -.rt Pointer to the \fBuio(9S)\fR structure. \fBuio(9S)\fR specifies the location of the read or write data. (Either userland or kernel.) .RE @@ -74,23 +68,19 @@ possible return values are shown below. Otherwise any other error number may be returned by the device. .sp .ne 2 -.mk .na \fBEINVAL\fR .ad .RS 11n -.rt Invalid input parameters. .RE .sp .ne 2 -.mk .na \fBENOTSUP\fR .ad .RS 11n -.rt Operation is not supported for this device. .RE diff --git a/usr/src/man/man9f/ldi_remove_event_handler.9f b/usr/src/man/man9f/ldi_remove_event_handler.9f index 48c50e324f..f5593116ec 100644 --- a/usr/src/man/man9f/ldi_remove_event_handler.9f +++ b/usr/src/man/man9f/ldi_remove_event_handler.9f @@ -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 ldi_remove_event_handler 9F "21 Aug 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_REMOVE_EVENT_HANDLER 9F "Aug 21, 2007" .SH NAME ldi_remove_event_handler \- remove an NDI event service callback .SH SYNOPSIS @@ -22,24 +22,20 @@ Obsolete .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIldi_handle_t lh\fR\fR .ad .RS 24n -.rt Layered handle representing the device for which the event notification is requested. .RE .sp .ne 2 -.mk .na \fB\fIldi_callback_id_t id\fR\fR .ad .RS 24n -.rt Unique system-wide registration ID returned by \fBldi_add_event_handler\fR(9F) upon successful registration. .RE @@ -60,23 +56,19 @@ the event occurance. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Callback handler removed successfully. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Failed to remove callback handler. .RE diff --git a/usr/src/man/man9f/ldi_strategy.9f b/usr/src/man/man9f/ldi_strategy.9f index 4411c02c5a..6b420154bf 100644 --- a/usr/src/man/man9f/ldi_strategy.9f +++ b/usr/src/man/man9f/ldi_strategy.9f @@ -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 ldi_strategy 9F "3 June 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LDI_STRATEGY 9F "Jun 3, 2003" .SH NAME ldi_strategy \- Device strategy request .SH SYNOPSIS @@ -17,23 +17,19 @@ ldi_strategy \- Device strategy request .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIlh\fR \fR .ad .RS 7n -.rt Layered handle. .RE .sp .ne 2 -.mk .na \fB\fIbp\fR \fR .ad .RS 7n -.rt Pointer to the \fBbuf(9S)\fR structure. .RE @@ -50,23 +46,19 @@ The \fBldi_strategy()\fR function returns \fB0\fR if the strategy request has been passed on to the target device. Other possible return values are: .sp .ne 2 -.mk .na \fBEINVAL\fR .ad .RS 11n -.rt Invalid input parameters. .RE .sp .ne 2 -.mk .na \fBENOTSUP\fR .ad .RS 11n -.rt Operation is not supported for this device. .RE diff --git a/usr/src/man/man9f/linkb.9f b/usr/src/man/man9f/linkb.9f index 9f9399a35e..3e6215aac5 100644 --- a/usr/src/man/man9f/linkb.9f +++ b/usr/src/man/man9f/linkb.9f @@ -5,7 +5,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 linkb 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LINKB 9F "Jan 16, 2006" .SH NAME linkb \- concatenate two message blocks .SH SYNOPSIS @@ -38,24 +38,20 @@ m2); function creates a new message by adding mp1 to the tail of mp2 .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp1\fR\fR .ad .RS 7n -.rt The message to which \fImp2\fR is to be added. \fBmblk_t\fR is an instance of the \fBmsgb\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fImp2\fR\fR .ad .RS 7n -.rt The message to be added. .RE diff --git a/usr/src/man/man9f/list_create.9f b/usr/src/man/man9f/list_create.9f index d90c89e8fd..9fa9d596f8 100644 --- a/usr/src/man/man9f/list_create.9f +++ b/usr/src/man/man9f/list_create.9f @@ -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 list_create 9F "17 Sep 2009" "SunOS 5.11" "Kernel Functions for Drivers" +.TH LIST_CREATE 9F "Sep 17, 2009" .SH NAME list_create, list_destroy, list_insert_after, list_insert_before, list_insert_head, list_insert_tail, list_remove, list_remove_head, @@ -178,13 +178,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/makecom.9f b/usr/src/man/man9f/makecom.9f index 7486871682..f123c3950d 100644 --- a/usr/src/man/man9f/makecom.9f +++ b/usr/src/man/man9f/makecom.9f @@ -3,16 +3,16 @@ .\" 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 makecom 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MAKECOM 9F "Jan 16, 2006" .SH NAME makecom, makecom_g0, makecom_g0_s, makecom_g1, makecom_g5 \- make a packet for SCSI commands .SH SYNOPSIS .LP .nf -#include <sys/scsi/scsi.h> +#include <sys/scsi/scsi.h> -\fBvoid\fR \fBmakecom_g0\fR(\fBstruct scsi_pkt *\fR\fIpkt\fR, \fBstruct scsi_device *\fR\fIdevp\fR, +\fBvoid\fR \fBmakecom_g0\fR(\fBstruct scsi_pkt *\fR\fIpkt\fR, \fBstruct scsi_device *\fR\fIdevp\fR, \fBint\fR \fIflag\fR, \fBint\fR \fIcmd\fR, \fBint\fR \fIaddr\fR, \fBint\fR \fIcnt\fR); .fi @@ -24,13 +24,13 @@ SCSI commands .LP .nf -\fBvoid\fR \fBmakecom_g1\fR(\fBstruct scsi_pkt *\fR\fIpkt\fR, \fBstruct scsi_device *\fR\fIdevp\fR, +\fBvoid\fR \fBmakecom_g1\fR(\fBstruct scsi_pkt *\fR\fIpkt\fR, \fBstruct scsi_device *\fR\fIdevp\fR, \fBint\fR \fIflag\fR, \fBint\fR \fIcmd\fR, \fBint\fR \fIaddr\fR, \fBint\fR \fIcnt\fR); .fi .LP .nf -\fBvoid\fR \fBmakecom_g5\fR(\fBstruct scsi_pkt *\fR\fIpkt\fR, \fBstruct scsi_device *\fR\fIdevp\fR, +\fBvoid\fR \fBmakecom_g5\fR(\fBstruct scsi_pkt *\fR\fIpkt\fR, \fBstruct scsi_device *\fR\fIdevp\fR, \fBint\fR \fIflag\fR, \fBint\fR \fIcmd\fR, \fBint\fR \fIaddr\fR, \fBint\fR \fIcnt\fR); .fi @@ -41,67 +41,55 @@ These interfaces are obsolete. \fBscsi_setup_cdb\fR(9F) should be used instead. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIpkt\fR\fR .ad .RS 10n -.rt Pointer to an allocated \fBscsi_pkt\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIdevp\fR\fR .ad .RS 10n -.rt Pointer to the target's \fBscsi_device\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 10n -.rt Flags for the \fBpkt_flags\fR member. .RE .sp .ne 2 -.mk .na \fB\fIcmd\fR\fR .ad .RS 10n -.rt First byte of a group 0 or 1 or 5 \fBSCSI\fR \fBCDB\fR. .RE .sp .ne 2 -.mk .na \fB\fIaddr\fR\fR .ad .RS 10n -.rt Pointer to the location of the data. .RE .sp .ne 2 -.mk .na \fB\fIcnt\fR\fR .ad .RS 10n -.rt Data transfer length in units defined by the SCSI device type. For sequential devices \fIcnt\fR is the number of bytes. For block devices, \fIcnt\fR is the number of blocks. @@ -109,12 +97,10 @@ number of blocks. .sp .ne 2 -.mk .na \fB\fIfixbit\fR\fR .ad .RS 10n -.rt Fixed bit in sequential access device commands. .RE @@ -158,13 +144,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/makedevice.9f b/usr/src/man/man9f/makedevice.9f index ce970c0426..58227afc93 100644 --- a/usr/src/man/man9f/makedevice.9f +++ b/usr/src/man/man9f/makedevice.9f @@ -4,7 +4,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 makedevice 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MAKEDEVICE 9F "Jan 16, 2006" .SH NAME makedevice \- make device number from major and minor numbers .SH SYNOPSIS @@ -26,23 +26,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImajnum\fR\fR .ad .RS 10n -.rt Major device number. .RE .sp .ne 2 -.mk .na \fB\fIminnum\fR\fR .ad .RS 10n -.rt Minor device number. .RE diff --git a/usr/src/man/man9f/max.9f b/usr/src/man/man9f/max.9f index 4cfeb76258..a7f1343fbb 100644 --- a/usr/src/man/man9f/max.9f +++ b/usr/src/man/man9f/max.9f @@ -4,7 +4,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 max 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MAX 9F "Jan 16, 2006" .SH NAME max \- return the larger of two integers .SH SYNOPSIS @@ -24,23 +24,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIint1\fR\fR .ad .RS 8n -.rt The first integer. .RE .sp .ne 2 -.mk .na \fB\fIint2\fR\fR .ad .RS 8n -.rt The second integer. .RE diff --git a/usr/src/man/man9f/mcopyin.9f b/usr/src/man/man9f/mcopyin.9f index 7c8bf20dd2..cd131ee117 100644 --- a/usr/src/man/man9f/mcopyin.9f +++ b/usr/src/man/man9f/mcopyin.9f @@ -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 mcopyin 9F "9 June 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MCOPYIN 9F "Jun 9, 2004" .SH NAME mcopyin \- Convert an M_IOCTL or M_IOCDATA message to an M_COPYIN .SH SYNOPSIS @@ -14,7 +14,7 @@ mcopyin \- Convert an M_IOCTL or M_IOCDATA message to an M_COPYIN -\fBvoid\fR \fBmcopyin\fR(\fBmblk_t *\fR\fImp\fR, \fBvoid *\fR\fIprivate\fR, \fBsize_t\fR \fIsize\fR, +\fBvoid\fR \fBmcopyin\fR(\fBmblk_t *\fR\fImp\fR, \fBvoid *\fR\fIprivate\fR, \fBsize_t\fR \fIsize\fR, \fBvoid *\fR \fIuseraddr\fR); .fi @@ -25,45 +25,37 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 12n -.rt M_IOCTL or M_IOCDATA message. .RE .sp .ne 2 -.mk .na \fB\fIprivate\fR\fR .ad .RS 12n -.rt Value to which the \fBcq_private\fR field of \fBcopyreq\fR(9S) is set. .RE .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 12n -.rt Value to which the \fBcq_size\fR field of \fBcopyreq\fR(9S) is set. .RE .sp .ne 2 -.mk .na \fB\fIuseraddr\fR\fR .ad .RS 12n -.rt Optionally, the value to which the \fBcq_addr\fR field of \fBcopyreq\fR(9S) is set. .RE diff --git a/usr/src/man/man9f/mcopymsg.9f b/usr/src/man/man9f/mcopymsg.9f index d1c3711ba0..a717c4687a 100644 --- a/usr/src/man/man9f/mcopymsg.9f +++ b/usr/src/man/man9f/mcopymsg.9f @@ -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 mcopymsg 9F "16 Oct 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MCOPYMSG 9F "Oct 16, 2007" .SH NAME mcopymsg \- Copy message contents into a buffer and free message .SH SYNOPSIS @@ -24,23 +24,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 7n -.rt Message to be copied. .RE .sp .ne 2 -.mk .na \fB\fIbuf\fR\fR .ad .RS 7n -.rt Buffer in which to copy. .RE diff --git a/usr/src/man/man9f/mcopyout.9f b/usr/src/man/man9f/mcopyout.9f index d259515266..31d4210ef8 100644 --- a/usr/src/man/man9f/mcopyout.9f +++ b/usr/src/man/man9f/mcopyout.9f @@ -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 mcopyout 9F "9 June 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MCOPYOUT 9F "Jun 9, 2004" .SH NAME mcopyout \- Convert an M_IOCTL or M_IOCDATA message to an M_COPYOUT .SH SYNOPSIS @@ -25,56 +25,46 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 12n -.rt M_IOCTL or M_IOCDATA message. .RE .sp .ne 2 -.mk .na \fB\fIprivate\fR\fR .ad .RS 12n -.rt Value to set the cq_private field of the \fBcopyreq\fR(9S) to. .RE .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 12n -.rt Value to set the cq_size field of the \fBcopyreq\fR(9S) to. .RE .sp .ne 2 -.mk .na \fB\fIuseraddr\fR\fR .ad .RS 12n -.rt Optionally, the value to set the cq_addr field of the \fBcopyreq\fR(9S) to. .RE .sp .ne 2 -.mk .na \fB\fIdp\fR\fR .ad .RS 12n -.rt Optionally, the payload to copy out. .RE diff --git a/usr/src/man/man9f/membar_ops.9f b/usr/src/man/man9f/membar_ops.9f index d82abfbb5a..d37b2452f6 100644 --- a/usr/src/man/man9f/membar_ops.9f +++ b/usr/src/man/man9f/membar_ops.9f @@ -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 membar_ops 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MEMBAR_OPS 9F "Jan 16, 2006" .SH NAME membar_ops, membar_enter, membar_exit, membar_producer, membar_consumer \- memory access synchronization barrier operations @@ -85,13 +85,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/memchr.9f b/usr/src/man/man9f/memchr.9f index ed7daa0634..3ae350f33d 100644 --- a/usr/src/man/man9f/memchr.9f +++ b/usr/src/man/man9f/memchr.9f @@ -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 memchr 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MEMCHR 9F "Jan 16, 2006" .SH NAME memchr, memcmp, memcpy, memmove, memset \- Memory operations .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> @@ -43,34 +43,28 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdst\fR\fR .ad .RS 10n -.rt Pointers to character strings. .RE .sp .ne 2 -.mk .na \fB\fIn\fR\fR .ad .RS 10n -.rt Count of characters to be copied. .RE .sp .ne 2 -.mk .na \fB\fIs1\fR, \fIs2\fR\fR .ad .RS 10n -.rt Pointers to character strings. .RE diff --git a/usr/src/man/man9f/merror.9f b/usr/src/man/man9f/merror.9f index 678069dfb2..ef93fbb4ce 100644 --- a/usr/src/man/man9f/merror.9f +++ b/usr/src/man/man9f/merror.9f @@ -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 merror 9F "9 June 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MERROR 9F "Jun 9, 2004" .SH NAME merror \- Send an M_ERROR message upstream .SH SYNOPSIS @@ -24,34 +24,28 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIwq\fR\fR .ad .RS 9n -.rt Write queue associated with the read queue to send the M_ERROR on. .RE .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 9n -.rt Optionally, a STREAMS message to convert to an M_ERROR. .RE .sp .ne 2 -.mk .na \fB\fIerror\fR\fR .ad .RS 9n -.rt Error code to include in the M_ERROR message. .RE diff --git a/usr/src/man/man9f/mexchange.9f b/usr/src/man/man9f/mexchange.9f index 378fa5546c..09876ca405 100644 --- a/usr/src/man/man9f/mexchange.9f +++ b/usr/src/man/man9f/mexchange.9f @@ -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 mexchange 9F "9 June 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MEXCHANGE 9F "Jun 9, 2004" .SH NAME mexchange \- Exchange one message for another .SH SYNOPSIS @@ -14,7 +14,7 @@ mexchange \- Exchange one message for another -\fBmblk_t *\fR\fBmexchange\fR(\fBqueue_t *\fR\fIwq\fR, \fBmblk_t *\fR\fImp\fR, \fBsize_t\fR \fIsize\fR, +\fBmblk_t *\fR\fBmexchange\fR(\fBqueue_t *\fR\fIwq\fR, \fBmblk_t *\fR\fImp\fR, \fBsize_t\fR \fIsize\fR, \fBuchar_t\fR \fItype\fR, \fBint32_t\fR \fIprimtype\fR); .fi @@ -25,57 +25,47 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIwq\fR\fR .ad .RS 12n -.rt Optionally, write queue associated with the read queue to be used on failure (see below). .RE .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 12n -.rt Optionally, the message to exchange. .RE .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 12n -.rt Size of the returned message. .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 12n -.rt Type of the returned message. .RE .sp .ne 2 -.mk .na \fB\fIprimtype\fR\fR .ad .RS 12n -.rt Optionally, a 4 byte value to store at the beginning of the returned message. .RE diff --git a/usr/src/man/man9f/min.9f b/usr/src/man/man9f/min.9f index 9519cc03b2..85d4a6b9cf 100644 --- a/usr/src/man/man9f/min.9f +++ b/usr/src/man/man9f/min.9f @@ -4,7 +4,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 min 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MIN 9F "Jan 16, 2006" .SH NAME min \- return the lesser of two integers .SH SYNOPSIS @@ -24,23 +24,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIint1\fR\fR .ad .RS 8n -.rt The first integer. .RE .sp .ne 2 -.mk .na \fB\fIint2\fR\fR .ad .RS 8n -.rt The second integer. .RE diff --git a/usr/src/man/man9f/mioc2ack.9f b/usr/src/man/man9f/mioc2ack.9f index 68111a366a..7092e06a26 100644 --- a/usr/src/man/man9f/mioc2ack.9f +++ b/usr/src/man/man9f/mioc2ack.9f @@ -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 mioc2ack 9F "9 June 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MIOC2ACK 9F "Jun 9, 2004" .SH NAME mioc2ack \- Convert an M_IOCTL message to an M_IOCACK message .SH SYNOPSIS @@ -24,45 +24,37 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 9n -.rt M_IOCTL message. .RE .sp .ne 2 -.mk .na \fB\fIdp\fR\fR .ad .RS 9n -.rt Payload to associate with M_IOCACK message. .RE .sp .ne 2 -.mk .na \fB\fIcount\fR\fR .ad .RS 9n -.rt Value to set the ioc_count of the \fBiocblk\fR(9S) to. .RE .sp .ne 2 -.mk .na \fB\fIrval\fR\fR .ad .RS 9n -.rt Value to set the ioc_rval of the \fBiocblk\fR(9S) to. .RE diff --git a/usr/src/man/man9f/miocack.9f b/usr/src/man/man9f/miocack.9f index 3179c89c90..9343198dcf 100644 --- a/usr/src/man/man9f/miocack.9f +++ b/usr/src/man/man9f/miocack.9f @@ -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 miocack 9F "9 June 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MIOCACK 9F "Jun 9, 2004" .SH NAME miocack \- Positively acknowledge an M_IOCTL message .SH SYNOPSIS @@ -24,45 +24,37 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIwq\fR\fR .ad .RS 9n -.rt Write queue associated with the read queue to send the M_IOCACK on. .RE .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 9n -.rt M_IOCTL message. .RE .sp .ne 2 -.mk .na \fB\fIcount\fR\fR .ad .RS 9n -.rt Value to set the ioc_count of the \fBiocblk\fR(9S) to. .RE .sp .ne 2 -.mk .na \fB\fIrval\fR\fR .ad .RS 9n -.rt Value to set the ioc_rval of the \fBiocblk\fR(9S) to. .RE diff --git a/usr/src/man/man9f/miocnak.9f b/usr/src/man/man9f/miocnak.9f index f0a81478bd..73964af683 100644 --- a/usr/src/man/man9f/miocnak.9f +++ b/usr/src/man/man9f/miocnak.9f @@ -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 miocnak 9F "9 June 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MIOCNAK 9F "Jun 9, 2004" .SH NAME miocnak \- Negatively acknowledge an M_IOCTL message .SH SYNOPSIS @@ -24,45 +24,37 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIwq\fR\fR .ad .RS 9n -.rt Write queue associated with the read queue to send the M_IOCNAK on. .RE .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 9n -.rt M_IOCTL message. .RE .sp .ne 2 -.mk .na \fB\fIcount\fR\fR .ad .RS 9n -.rt Value to set the ioc_count of the \fBiocblk\fR(9S) to. .RE .sp .ne 2 -.mk .na \fB\fIerror\fR\fR .ad .RS 9n -.rt Value to set the ioc_error of the \fBiocblk\fR(9S) to. .RE diff --git a/usr/src/man/man9f/miocpullup.9f b/usr/src/man/man9f/miocpullup.9f index 9203cc8b84..043192c98e 100644 --- a/usr/src/man/man9f/miocpullup.9f +++ b/usr/src/man/man9f/miocpullup.9f @@ -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 miocpullup 9F "9 June 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MIOCPULLUP 9F "Jun 9, 2004" .SH NAME miocpullup \- Prepare the payload of an M_IOCTL message for access .SH SYNOPSIS @@ -24,23 +24,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 8n -.rt M_IOCTL message. .RE .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 8n -.rt Number of bytes to prepare. .RE diff --git a/usr/src/man/man9f/mkiocb.9f b/usr/src/man/man9f/mkiocb.9f index 35b207d995..3df49e13fe 100644 --- a/usr/src/man/man9f/mkiocb.9f +++ b/usr/src/man/man9f/mkiocb.9f @@ -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 mkiocb 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MKIOCB 9F "Jan 16, 2006" .SH NAME mkiocb \- allocates a STREAMS ioctl block for M_IOCTL messages in the kernel. .SH SYNOPSIS @@ -23,12 +23,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIcommand\fR\fR .ad .RS 11n -.rt ioctl command for the \fBioc_cmd\fR field. .RE @@ -48,34 +46,28 @@ enough to hold any of the ioctl messages (\fBiocblk\fR(9S), \fBcopyreq\fR(9S) or \fBcopyresp\fR(9S)), and has the following special properties: .sp .ne 2 -.mk .na \fB\fBb_wptr\fR\fR .ad .RS 20n -.rt Set to \fBb_rptr + sizeof(struct iocblk)\fR. .RE .sp .ne 2 -.mk .na \fB\fBb_cont\fR\fR .ad .RS 20n -.rt Set to \fINULL.\fR. .RE .sp .ne 2 -.mk .na \fB\fBb_datap->db_type\fR\fR .ad .RS 20n -.rt Set to \fBM_IOCTL\fR. .RE @@ -84,79 +76,65 @@ Set to \fBM_IOCTL\fR. The fields in the iocblk structure are initialized as follows: .sp .ne 2 -.mk .na \fB\fBioc_cmd\fR\fR .ad .RS 13n -.rt Set to the command value passed in. .RE .sp .ne 2 -.mk .na \fB\fBioc_id\fR\fR .ad .RS 13n -.rt Set to a unique identifier. .RE .sp .ne 2 -.mk .na \fB\fBioc_cr\fR\fR .ad .RS 13n -.rt Set to point to a credential structure encoding the maximum system privilege and which does not need to be freed in any fashion. .RE .sp .ne 2 -.mk .na \fB\fBioc_count\fR\fR .ad .RS 13n -.rt Set to 0. .RE .sp .ne 2 -.mk .na \fB\fBioc_rval\fR\fR .ad .RS 13n -.rt Set to 0. .RE .sp .ne 2 -.mk .na \fB\fBioc_error\fR\fR .ad .RS 13n -.rt Set to 0. .RE .sp .ne 2 -.mk .na \fB\fBioc_flags\fR\fR .ad .RS 13n -.rt Set to \fBIOC_NATIVE\fR to reflect that this is native to the running kernel. .RE @@ -213,7 +191,7 @@ before processing. .sp .in +2 .nf - + 1 test_lrsrv(queue_t *q) 2 { 3 ... @@ -246,7 +224,7 @@ is available. .sp .in +2 .nf -1 test_open(queue_t *q, dev_t devp, int oflag, int sflag, +1 test_open(queue_t *q, dev_t devp, int oflag, int sflag, cred_t *credp) 2 { 3 while ((mp = mkiocb(TEST_IOCTL)) == NULL) { diff --git a/usr/src/man/man9f/mod_install.9f b/usr/src/man/man9f/mod_install.9f index acc87fc0ce..ea4f06916d 100644 --- a/usr/src/man/man9f/mod_install.9f +++ b/usr/src/man/man9f/mod_install.9f @@ -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 mod_install 9F "8 Jul 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MOD_INSTALL 9F "Jul 8, 2008" .SH NAME mod_install, mod_remove, mod_info, mod_modname \- add, remove or query a loadable module @@ -24,7 +24,7 @@ loadable module .LP .nf -\fBint\fR \fBmod_info\fR(\fBstruct modlinkage *\fR\fImodlinkage\fR, +\fBint\fR \fBmod_info\fR(\fBstruct modlinkage *\fR\fImodlinkage\fR, \fBstruct modinfo *\fR\fImodinfo\fR); .fi @@ -40,24 +40,20 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImodlinkage\fR\fR .ad .RS 14n -.rt Pointer to the loadable module's \fBmodlinkage\fR structure which describes what type(s) of module elements are included in this loadable module. .RE .sp .ne 2 -.mk .na \fB\fImodinfo\fR\fR .ad .RS 14n -.rt Pointer to the \fBmodinfo\fR structure passed to \fB_info\fR(9E). .RE diff --git a/usr/src/man/man9f/msgdsize.9f b/usr/src/man/man9f/msgdsize.9f index 8a0687cd21..2ea333e691 100644 --- a/usr/src/man/man9f/msgdsize.9f +++ b/usr/src/man/man9f/msgdsize.9f @@ -1,10 +1,10 @@ '\" te -.\" Copyright 1989 AT&T +.\" Copyright 1989 AT&T .\" Copyright (c) 2006, Sun Microsystems, Inc., All Rights Reserved .\" 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 msgdsize 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MSGDSIZE 9F "Jan 16, 2006" .SH NAME msgdsize \- return the number of bytes in a message .SH SYNOPSIS @@ -24,12 +24,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 6n -.rt Message to be evaluated. .RE diff --git a/usr/src/man/man9f/msgpullup.9f b/usr/src/man/man9f/msgpullup.9f index 531fba8dd0..fc8b4ddcde 100644 --- a/usr/src/man/man9f/msgpullup.9f +++ b/usr/src/man/man9f/msgpullup.9f @@ -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 msgpullup 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MSGPULLUP 9F "Jan 16, 2006" .SH NAME msgpullup \- concatenate bytes in a message .SH SYNOPSIS @@ -23,23 +23,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 7n -.rt Pointer to the message whose blocks are to be concatenated. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 7n -.rt Number of bytes to concatenate. .RE @@ -58,23 +54,19 @@ message type cannot be found, \fBmsgpullup()\fR fails and returns \fINULL\fR. The \fBmsgpullup\fR function returns the following values: .sp .ne 2 -.mk .na \fB\fBNon-null\fR\fR .ad .RS 12n -.rt Successful completion. A pointer to the new message is returned. .RE .sp .ne 2 -.mk .na \fB\fINULL\fR\fR .ad .RS 12n -.rt An error occurred. .RE diff --git a/usr/src/man/man9f/msgsize.9f b/usr/src/man/man9f/msgsize.9f index 7d86aadd70..b8bbabc830 100644 --- a/usr/src/man/man9f/msgsize.9f +++ b/usr/src/man/man9f/msgsize.9f @@ -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 msgsize 9F "9 June 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MSGSIZE 9F "Jun 9, 2004" .SH NAME msgsize \- Return the total number of bytes in a message .SH SYNOPSIS @@ -24,12 +24,10 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 6n -.rt Message to be evaluated. .RE diff --git a/usr/src/man/man9f/mt-streams.9f b/usr/src/man/man9f/mt-streams.9f index bd1447ee43..895254f4d7 100644 --- a/usr/src/man/man9f/mt-streams.9f +++ b/usr/src/man/man9f/mt-streams.9f @@ -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 mt-streams 9F "5 May 2009" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MT-STREAMS 9F "May 5, 2009" .SH NAME mt-streams \- STREAMS multithreading .SH SYNOPSIS @@ -56,46 +56,38 @@ The inner perimeter presence and scope are controlled by the mutually exclusive flags: .sp .ne 2 -.mk .na \fB\fBD_MTPERQ\fR\fR .ad .RS 21n -.rt The module/driver has an inner perimeter around each queue. .RE .sp .ne 2 -.mk .na \fB\fBD_MTQPAIR\fR\fR .ad .RS 21n -.rt The module/driver has an inner perimeter around each read/write pair of queues. .RE .sp .ne 2 -.mk .na \fB\fBD_MTPERMOD\fR\fR .ad .RS 21n -.rt The module/driver has an inner perimeter that encloses all the module's/driver's queues. .RE .sp .ne 2 -.mk .na \fBNone of the above\fR .ad .RS 21n -.rt The module/driver has no inner perimeter. .RE @@ -105,12 +97,10 @@ The module/driver has no inner perimeter. The outer perimeter presence is configured using: .sp .ne 2 -.mk .na \fB\fBD_MTOUTPERIM\fR\fR .ad .RS 16n -.rt In addition to any inner perimeter, the module/driver has an outer perimeter that encloses all the module's/driver's queues. This can be combined with all the inner perimeter options except \fBD_MTPERMOD.\fR @@ -127,24 +117,20 @@ the module or driver in the system. The default concurrency can be modified using: .sp .ne 2 -.mk .na \fB\fBD_MTPUTSHARED\fR\fR .ad .RS 17n -.rt This flag modifies the default behavior when \fBput\fR(9E) procedure are invoked so that the inner perimeter is entered shared instead of exclusively. .RE .sp .ne 2 -.mk .na \fB\fBD_MTOCEXCL\fR\fR .ad .RS 17n -.rt This flag modifies the default behavior when \fBopen\fR(9E) and \fBclose\fR(9E) procedures are invoked so the outer perimeter is entered exclusively instead of shared. diff --git a/usr/src/man/man9f/mutex.9f b/usr/src/man/man9f/mutex.9f index 509650ab22..78c34e4b3f 100644 --- a/usr/src/man/man9f/mutex.9f +++ b/usr/src/man/man9f/mutex.9f @@ -3,16 +3,16 @@ .\" 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 mutex 9F "21 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH MUTEX 9F "May 21, 2008" .SH NAME mutex, mutex_enter, mutex_exit, mutex_init, mutex_destroy, mutex_owned, mutex_tryenter \- mutual exclusion lock routines .SH SYNOPSIS .LP .nf -#include <sys/ksynch.h> +#include <sys/ksynch.h> -\fBvoid\fR \fBmutex_init\fR(\fBkmutex_t *\fR\fImp\fR, \fBchar *\fR\fIname\fR, \fBkmutex_type_t\fR \fItype\fR, +\fBvoid\fR \fBmutex_init\fR(\fBkmutex_t *\fR\fImp\fR, \fBchar *\fR\fIname\fR, \fBkmutex_type_t\fR \fItype\fR, \fBvoid *\fR\fIarg\fR); .fi @@ -48,46 +48,38 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 8n -.rt Pointer to a kernel mutex lock (\fBkmutex_t\fR). .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 8n -.rt Descriptive string. This is obsolete and should be \fINULL\fR. (Non-\fINULL\fR strings are legal, but they are a waste of kernel memory.) .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 8n -.rt Type of mutex lock. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 8n -.rt Type-specific argument for initialization routine. .RE diff --git a/usr/src/man/man9f/net_event_notify_register.9f b/usr/src/man/man9f/net_event_notify_register.9f index 140c585576..ad4d374281 100644 --- a/usr/src/man/man9f/net_event_notify_register.9f +++ b/usr/src/man/man9f/net_event_notify_register.9f @@ -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 net_event_notify_register 9F "30 Oct 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_EVENT_NOTIFY_REGISTER 9F "Oct 30, 2008" .SH NAME net_event_notify_register, net_event_notify_unregister \- add/delete a function to be called for changes to a event @@ -13,14 +13,14 @@ to be called for changes to a event #include <sys/hook.h> #include <sys/neti.h> -\fBint\fR \fBnet_event_notify_register\fR(\fBnet_handle_t\fR \fIfamily\fR, \fBchar\fR - *\fIevent\fR, \fBhook_notify_fn_t\fR *\fIcallback\fR, \fBvoid\fR *\fIarg\fR); +\fBint\fR \fBnet_event_notify_register\fR(\fBnet_handle_t\fR \fIfamily\fR, \fBchar\fR + *\fIevent\fR, \fBhook_notify_fn_t\fR *\fIcallback\fR, \fBvoid\fR *\fIarg\fR); -\fBint\fR \fBnet_event_notify_unregister\fR(\fBnet_handle_t\fR \fIfamily\fR, \fBchar\fR - *\fIevent\fR, \fBhook_notify_fn_t\fR *\fIcallback\fR); +\fBint\fR \fBnet_event_notify_unregister\fR(\fBnet_handle_t\fR \fIfamily\fR, \fBchar\fR + *\fIevent\fR, \fBhook_notify_fn_t\fR *\fIcallback\fR); \fBtypedef int\fR (* \fBhook_notify_fn_t\fR)(\fBhook_notify_cmd_t command,\fR - \fBvoid\fR *\fIarg\fR, \fBconst char\fR *\fIname1\fR, \fBconst char\fR *\fIname2\fR, \fBconst char\fR + \fBvoid\fR *\fIarg\fR, \fBconst char\fR *\fIname1\fR, \fBconst char\fR *\fIname2\fR, \fBconst char\fR *\fIname3\fR); .fi @@ -31,45 +31,37 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIfamily\fR\fR .ad .RS 12n -.rt value returned from a successful call to \fBnet_protocol_lookup()\fR. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 12n -.rt function to call when a change occurs. .RE .sp .ne 2 -.mk .na \fB\fIevent\fR\fR .ad .RS 12n -.rt name of the event for which notification of change is desired. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 12n -.rt pointer to pass into the \fBcallback()\fR function when a change occurs. .RE @@ -107,34 +99,28 @@ The arguments passed through to the \fBcallback\fR are as follows (the command is either \fBHN_REGISTER\fR or \fBHN_UNREGISTER\fR): .sp .ne 2 -.mk .na \fB\fIname1\fR\fR .ad .RS 9n -.rt is the name of the protocol. .RE .sp .ne 2 -.mk .na \fB\fIname2\fR\fR .ad .RS 9n -.rt is the name of the event .RE .sp .ne 2 -.mk .na \fB\fIname3\fR\fR .ad .RS 9n -.rt is the name of the hook being added/removed .RE @@ -145,12 +131,10 @@ If these functions succeed, 0 is returned. Otherwise, the following error is returned: .sp .ne 2 -.mk .na \fBEEXIST\fR .ad .RS 10n -.rt the given callback function is already registered. .RE @@ -166,13 +150,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_getifname.9f b/usr/src/man/man9f/net_getifname.9f index c066131336..2c683db17b 100644 --- a/usr/src/man/man9f/net_getifname.9f +++ b/usr/src/man/man9f/net_getifname.9f @@ -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 net_getifname 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_GETIFNAME 9F "May 1, 2008" .SH NAME net_getifname \- determine the name given to a network interface .SH SYNOPSIS @@ -11,7 +11,7 @@ net_getifname \- determine the name given to a network interface .nf #include <sys/neti.h> -\fBint\fR \fBnet_getifname\fR(\fBconst\fR \fBnet_data_t\fR \fInet\fR, \fBconst\fR \fBphy_if_t\fR \fIifp\fR, +\fBint\fR \fBnet_getifname\fR(\fBconst\fR \fBnet_data_t\fR \fInet\fR, \fBconst\fR \fBphy_if_t\fR \fIifp\fR, \fBchar *\fR\fIbuffer\fR, \fBsize_t\fR \fIbuflen\fR); .fi @@ -22,46 +22,38 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 10n -.rt value returned from a successful call to \fBnet_protocol_lookup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIifp\fR\fR .ad .RS 10n -.rt value returned from a successful call to \fBnet_phylookup\fR(9F) or \fBnet_phygetnext\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIbuffer\fR\fR .ad .RS 10n -.rt pointer to the buffer in which to write the interface name. .RE .sp .ne 2 -.mk .na \fB\fIbuflen\fR\fR .ad .RS 10n -.rt size of the buffer in which to store the interface name. .RE @@ -79,34 +71,28 @@ for an example on how to use this function. The \fBnet_getifname()\fR function returns: .sp .ne 2 -.mk .na \fB-1\fR .ad .RS 6n -.rt The network protocol does not support this function. .RE .sp .ne 2 -.mk .na \fB0\fR .ad .RS 6n -.rt Successful completion. .RE .sp .ne 2 -.mk .na \fB1\fR .ad .RS 6n -.rt Unsuccessful. .RE @@ -123,13 +109,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_getlifaddr.9f b/usr/src/man/man9f/net_getlifaddr.9f index 576a77911d..4681535e00 100644 --- a/usr/src/man/man9f/net_getlifaddr.9f +++ b/usr/src/man/man9f/net_getlifaddr.9f @@ -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 net_getlifaddr 9F "13 Oct 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_GETLIFADDR 9F "Oct 13, 2008" .SH NAME net_getlifaddr \- determine a network address for a given interface .SH SYNOPSIS @@ -11,8 +11,8 @@ net_getlifaddr \- determine a network address for a given interface .nf #include <sys/neti.h> -\fBint\fR \fBnet_getlifaddr\fR(\fBconst\fR \fBnet_data_t\fR \fInet\fR, \fBconst\fR \fBphy_if_t\fR \fIifp\fR, - \fBconst\fR \fBnet_if_t\fR \fIlif\fR, \fBint\fR \fBconst\fR \fItype\fR, +\fBint\fR \fBnet_getlifaddr\fR(\fBconst\fR \fBnet_data_t\fR \fInet\fR, \fBconst\fR \fBphy_if_t\fR \fIifp\fR, + \fBconst\fR \fBnet_if_t\fR \fIlif\fR, \fBint\fR \fBconst\fR \fItype\fR, \fBstruct\fR \fBsockaddr*\fR \fIstorage\fR); .fi @@ -23,23 +23,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 11n -.rt value returned from a successful call to \fBnet_protocol_lookup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIifp\fR\fR .ad .RS 11n -.rt value returned from a successful call to \fBnet_phylookup\fR(9F) or \fBnet_phygetnext\fR(9F), indicating which network interface the information should be returned from. @@ -47,35 +43,29 @@ should be returned from. .sp .ne 2 -.mk .na \fB\fIlif\fR\fR .ad .RS 11n -.rt indicates the logical interface from which to fetch the address. .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 11n -.rt indicates what type of address should be returned. See below for more details on this field. .RE .sp .ne 2 -.mk .na \fB\fIstorage\fR\fR .ad .RS 11n -.rt pointer to an area of memory to store the address data. .RE @@ -94,48 +84,40 @@ Each member of the address \fBtype\fR array should be one of the values listed here. .sp .ne 2 -.mk .na \fB\fBNA_ADDRESS\fR\fR .ad .RS 16n -.rt Return the network address associated with the logical interface (\fBlif\fR) that belongs to the network interface (\fBifp\fR). .RE .sp .ne 2 -.mk .na \fB\fBNA_PEER\fR\fR .ad .RS 16n -.rt Return the address assigned to the remote host for point to point network interfaces for the given network/logical interface. .RE .sp .ne 2 -.mk .na \fB\fBNA_BROADCAST\fR\fR .ad .RS 16n -.rt Return the broadcast address assigned to the given network/logical interface for network interfaces that support broadcast packets. .RE .sp .ne 2 -.mk .na \fB\fBNA_NETMASK\fR\fR .ad .RS 16n -.rt Return the netmask associated with the given network/logical interface for network interfaces that support broadcast packets. .RE @@ -146,34 +128,28 @@ network interfaces that support broadcast packets. The \fBnet_getlifaddr()\fR function returns: .sp .ne 2 -.mk .na \fB-1\fR .ad .RS 6n -.rt The network protocol does not support this function. .RE .sp .ne 2 -.mk .na \fB0\fR .ad .RS 6n -.rt Successful completion. .RE .sp .ne 2 -.mk .na \fB1\fR .ad .RS 6n -.rt Unsuccessful. .RE @@ -190,13 +166,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_getmtu.9f b/usr/src/man/man9f/net_getmtu.9f index c222e658e7..f8c92e4d9d 100644 --- a/usr/src/man/man9f/net_getmtu.9f +++ b/usr/src/man/man9f/net_getmtu.9f @@ -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 net_getmtu 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_GETMTU 9F "May 1, 2008" .SH NAME net_getmtu \- determine the MTU of a given network interface .SH SYNOPSIS @@ -21,23 +21,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 7n -.rt value returned from a successful call to \fBnet_protocol_lookup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIifp\fR\fR .ad .RS 7n -.rt value returned from a successful call to \fBnet_phylookup\fR(9F) or \fBnet_phygetnext\fR(9F). .RE @@ -68,13 +64,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_getnetid.9f b/usr/src/man/man9f/net_getnetid.9f index 5d4178d41e..5e6f596589 100644 --- a/usr/src/man/man9f/net_getnetid.9f +++ b/usr/src/man/man9f/net_getnetid.9f @@ -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 net_getnetid 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_GETNETID 9F "May 1, 2008" .SH NAME net_getnetid \- returns the instance identifier .SH SYNOPSIS @@ -21,12 +21,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 7n -.rt value returned from a successful call to \fBnet_protocol_lookup\fR(9F). .RE @@ -52,13 +50,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_getpmtuenabled.9f b/usr/src/man/man9f/net_getpmtuenabled.9f index a9407b966a..cd14dcd5ff 100644 --- a/usr/src/man/man9f/net_getpmtuenabled.9f +++ b/usr/src/man/man9f/net_getpmtuenabled.9f @@ -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 net_getpmtuenabled 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_GETPMTUENABLED 9F "May 1, 2008" .SH NAME net_getpmtuenabled \- determine if path MTU discovery is enabled for a network protocol @@ -22,12 +22,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 7n -.rt value returned from a successful call to \fBnet_protocol_lookup\fR(9F). .RE @@ -42,34 +40,28 @@ not path \fBMTU\fR (\fBPMTU\fR) discovery is enabled for this network protocol. The \fBnet_getpmtuenabled()\fR function returns: .sp .ne 2 -.mk .na \fB-1\fR .ad .RS 6n -.rt The network protocol does not support this function. .RE .sp .ne 2 -.mk .na \fB0\fR .ad .RS 6n -.rt PATH MTU discovery is disabled. .RE .sp .ne 2 -.mk .na \fB1\fR .ad .RS 6n -.rt PATH MTU discovery is enabled. .RE @@ -86,13 +78,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_hook_register.9f b/usr/src/man/man9f/net_hook_register.9f index 69741caa01..6cffdc1e64 100644 --- a/usr/src/man/man9f/net_hook_register.9f +++ b/usr/src/man/man9f/net_hook_register.9f @@ -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 net_hook_register 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_HOOK_REGISTER 9F "May 1, 2008" .SH NAME net_hook_register \- add a hook to be called in event processing .SH SYNOPSIS @@ -21,23 +21,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 8n -.rt value returned from a successful call to \fBnet_protocol_register()\fR. .RE .sp .ne 2 -.mk .na \fB\fIhook\fR\fR .ad .RS 8n -.rt pointer to a \fBhook_t\fR structure. .RE @@ -59,58 +55,48 @@ The \fBhook_t\fR structure passed in with this function is described by \fBhook_t\fR(9S). The following describes how this structure is used. .sp .ne 2 -.mk .na \fB\fBh_func\fR\fR .ad .RS 23n -.rt Must be non-NULL and represent a function that fits the specified interface. .RE .sp .ne 2 -.mk .na \fB\fBh_name\fR\fR .ad .RS 23n -.rt Gives the hook a name that represents its owner. No duplication of \fBh_name\fR among the hooks present for an event is allowed. .RE .sp .ne 2 -.mk .na \fB\fBh_flags\fR\fR .ad .RS 23n -.rt Currently unused and must be set to 0. .RE .sp .ne 2 -.mk .na \fB\fBh_hint, h_hintvalue\fR\fR .ad .RS 23n -.rt Specify a hint to \fBnet_hook_register()\fR on how to insert this hook. If the hint cannot be specified, then an error is returned. .RE .sp .ne 2 -.mk .na \fB\fBh_arg;\fR\fR .ad .RS 23n -.rt May take any value that the consumer wishes to have passed back when the hook is activated. .RE @@ -122,56 +108,46 @@ If the \fBnet_hook_register()\fR function succeeds, 0 is returned. Otherwise, one of the following errors is returned: .sp .ne 2 -.mk .na \fBENOMEM\fR .ad .RS 10n -.rt The system cannot allocate any more memory to support registering this hook. .RE .sp .ne 2 -.mk .na \fBENXIO\fR .ad .RS 10n -.rt A hook cannot be found among the given family of events. .RE .sp .ne 2 -.mk .na \fBEEXIST\fR .ad .RS 10n -.rt A hook with the given \fBh_name\fR already exists on that event. .RE .sp .ne 2 -.mk .na \fBESRCH\fR .ad .RS 10n -.rt A before or after dependency cannot be satisfied due to the hook with .RE .sp .ne 2 -.mk .na \fBEBUSY\fR .ad .RS 10n -.rt The \fBh_hint\fR field specifies a hint that cannot currently be satisfied because it conflicts with another hook. An example of this might be specifying \fBHH_FIRST\fR or \fBHH_LAST\fR when another hook has already been registered @@ -191,13 +167,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_hook_unregister.9f b/usr/src/man/man9f/net_hook_unregister.9f index 6a4646121f..73558d459f 100644 --- a/usr/src/man/man9f/net_hook_unregister.9f +++ b/usr/src/man/man9f/net_hook_unregister.9f @@ -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 net_hook_unregister 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_HOOK_UNREGISTER 9F "May 1, 2008" .SH NAME net_hook_unregister \- disable a hook that was called in event processing .SH SYNOPSIS @@ -21,23 +21,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 8n -.rt value returned from a successful call to \fBnet_protocol_register()\fR. .RE .sp .ne 2 -.mk .na \fB\fIhook\fR\fR .ad .RS 8n -.rt value returned from a successful call to \fBnet_hook_register\fR(9F). .RE @@ -64,13 +60,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_inject.9f b/usr/src/man/man9f/net_inject.9f index 8748f9f51b..c446e36370 100644 --- a/usr/src/man/man9f/net_inject.9f +++ b/usr/src/man/man9f/net_inject.9f @@ -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 net_inject 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_INJECT 9F "May 1, 2008" .SH NAME net_inject \- determine if a network interface name exists for a network protocol @@ -12,7 +12,7 @@ protocol .nf #include <sys/neti.h> -\fBint\fR \fBnet_inject\fR(\fBconst\fR \fBnet_data_t\fR \fInet\fR, \fBinject_t\fR \fIstyle\fR, +\fBint\fR \fBnet_inject\fR(\fBconst\fR \fBnet_data_t\fR \fInet\fR, \fBinject_t\fR \fIstyle\fR, \fBnet_inject_t\fR *\fIpacket\fR); .fi @@ -23,35 +23,29 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 10n -.rt value returned from a successful call to \fBnet_protocol_lookup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIstyle\fR\fR .ad .RS 10n -.rt method that determines how this packet is to be injected into the network or kernel. .RE .sp .ne 2 -.mk .na \fB\fIpacket\fR\fR .ad .RS 10n -.rt details about the packet to be injected. .RE @@ -107,34 +101,28 @@ See \fBnet_inject_t\fR(9S) for more details on the structure The \fBnet_inject()\fR function returns: .sp .ne 2 -.mk .na \fB-1\fR .ad .RS 6n -.rt The network protocol does not support this function. .RE .sp .ne 2 -.mk .na \fB0\fR .ad .RS 6n -.rt The packet is successfully queued or sent. .RE .sp .ne 2 -.mk .na \fB1\fR .ad .RS 6n -.rt The packet could not be queued up or sent out immediately. .RE @@ -151,13 +139,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_inject_alloc.9f b/usr/src/man/man9f/net_inject_alloc.9f index cf1c5c00f3..8c7b973937 100644 --- a/usr/src/man/man9f/net_inject_alloc.9f +++ b/usr/src/man/man9f/net_inject_alloc.9f @@ -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 net_inject_alloc 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_INJECT_ALLOC 9F "May 1, 2008" .SH NAME net_inject_alloc \- allocate a net_inject_t structure .SH SYNOPSIS @@ -21,12 +21,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIversion\fR\fR .ad .RS 11n -.rt must always be the symbol \fBNETI_VERSION\fR. .RE @@ -54,13 +52,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_inject_free.9f b/usr/src/man/man9f/net_inject_free.9f index fe072fdbf4..24d5f79af0 100644 --- a/usr/src/man/man9f/net_inject_free.9f +++ b/usr/src/man/man9f/net_inject_free.9f @@ -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 net_inject_free 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_INJECT_FREE 9F "May 1, 2008" .SH NAME net_inject_free \- free a net_inject_t structure .SH SYNOPSIS @@ -21,12 +21,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIinject\fR\fR .ad .RS 10n -.rt pointer returned by \fBnet_inject_alloc\fR(9F). .RE @@ -48,13 +46,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_instance_alloc.9f b/usr/src/man/man9f/net_instance_alloc.9f index 6058b40cb9..0f51ce67d6 100644 --- a/usr/src/man/man9f/net_instance_alloc.9f +++ b/usr/src/man/man9f/net_instance_alloc.9f @@ -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 net_instance_alloc 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_INSTANCE_ALLOC 9F "May 1, 2008" .SH NAME net_instance_alloc \- allocate a net_instance_t structure .SH SYNOPSIS @@ -21,12 +21,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIversion\fR\fR .ad .RS 11n -.rt must always be the symbol \fBNETI_VERSION\fR. .RE @@ -53,13 +51,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_instance_free.9f b/usr/src/man/man9f/net_instance_free.9f index 472f88a1e6..4435657644 100644 --- a/usr/src/man/man9f/net_instance_free.9f +++ b/usr/src/man/man9f/net_instance_free.9f @@ -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 net_instance_free 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_INSTANCE_FREE 9F "May 1, 2008" .SH NAME net_instance_free \- free a net_instance_t structure .SH SYNOPSIS @@ -21,12 +21,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet_instance\fR\fR .ad .RS 16n -.rt pointer returned by \fBnet_instance_alloc\fR(9F). .RE @@ -48,13 +46,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_instance_notify_register.9f b/usr/src/man/man9f/net_instance_notify_register.9f index 4e348229b7..44ff9fa68e 100644 --- a/usr/src/man/man9f/net_instance_notify_register.9f +++ b/usr/src/man/man9f/net_instance_notify_register.9f @@ -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 net_instance_notify_register 9F "30 Oct 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_INSTANCE_NOTIFY_REGISTER 9F "Oct 30, 2008" .SH NAME net_instance_notify_register, net_instance_notify_unregister \- add/delete a function to be called for changes to an instance @@ -13,14 +13,14 @@ function to be called for changes to an instance #include <sys/hook.h> #include <sys/neti.h> -\fBint\fR \fBnet_instance_notify_register\fR(\fBnet id_t\fR \fInet_id\fR, +\fBint\fR \fBnet_instance_notify_register\fR(\fBnet id_t\fR \fInet_id\fR, \fBhook_notify_fn_t\fR *\fIcallback\fR, \fBvoid\fR *\fIarg\fR); -\fBint\fR \fBnet_instance_notify_unregister\fR(\fBnet id_t\fR \fInet_id\fR, +\fBint\fR \fBnet_instance_notify_unregister\fR(\fBnet id_t\fR \fInet_id\fR, \fBhook_notify_fn_t\fR *\fIcallback\fR); \fBtypedef int\fR (* \fBhook_notify_fn_t\fR)(\fBhook_notify_cmd_t command,\fR - \fBvoid\fR *\fIarg\fR, \fBconst char\fR *\fIname1\fR, \fBconst char\fR *\fIname2\fR, \fBconst char\fR + \fBvoid\fR *\fIarg\fR, \fBconst char\fR *\fIname1\fR, \fBconst char\fR *\fIname2\fR, \fBconst char\fR *\fIname3\fR); .fi @@ -31,35 +31,29 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInetid\fR\fR .ad .RS 12n -.rt value from either \fIcallback\fR registered with \fBnet_instance_register()\fR or \fBnet_zoneidtonetid()\fR. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 12n -.rt function to call when a change occurs. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 12n -.rt pointer to pass into the \fBcallback()\fR function when a change occurs. .RE @@ -90,34 +84,28 @@ The arguments passed through to the \fBcallback\fR are as follows (the command is either \fBHN_REGISTER\fR or \fBHN_UNREGISTER\fR): .sp .ne 2 -.mk .na \fB\fIname1\fR\fR .ad .RS 9n -.rt is the \fInetid\fR represented as a string. .RE .sp .ne 2 -.mk .na \fB\fIname2\fR\fR .ad .RS 9n -.rt is \fBNULL\fR. .RE .sp .ne 2 -.mk .na \fB\fIname3\fR\fR .ad .RS 9n -.rt is the name of the instance being added/removed .RE @@ -128,12 +116,10 @@ If these functions succeed, 0 is returned. Otherwise, the following error is returned: .sp .ne 2 -.mk .na \fBEEXIST\fR .ad .RS 10n -.rt the given callback function is already registered. .RE @@ -149,13 +135,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_instance_register.9f b/usr/src/man/man9f/net_instance_register.9f index 5a716f725d..67a0f49713 100644 --- a/usr/src/man/man9f/net_instance_register.9f +++ b/usr/src/man/man9f/net_instance_register.9f @@ -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 net_instance_register 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_INSTANCE_REGISTER 9F "May 1, 2008" .SH NAME net_instance_register \- register a set of instances to occur with IP instance events @@ -22,12 +22,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIinstances\fR\fR .ad .RS 13n -.rt must be a pointer returned by \fBnet_instance_alloc\fR(9F). .RE @@ -56,13 +54,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_instance_unregister.9f b/usr/src/man/man9f/net_instance_unregister.9f index df313105ad..9fa3a44b46 100644 --- a/usr/src/man/man9f/net_instance_unregister.9f +++ b/usr/src/man/man9f/net_instance_unregister.9f @@ -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 net_instance_unregister 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_INSTANCE_UNREGISTER 9F "May 1, 2008" .SH NAME net_instance_unregister \- disable a set of instances .SH SYNOPSIS @@ -21,12 +21,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIinstances\fR\fR .ad .RS 13n -.rt must be a pointer returned by \fBnet_instance_alloc\fR(9F). .RE @@ -53,13 +51,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_ispartialchecksum.9f b/usr/src/man/man9f/net_ispartialchecksum.9f index 54a1b2ec10..38cb2e4a4f 100644 --- a/usr/src/man/man9f/net_ispartialchecksum.9f +++ b/usr/src/man/man9f/net_ispartialchecksum.9f @@ -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 net_ispartialchecksum 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_ISPARTIALCHECKSUM 9F "May 1, 2008" .SH NAME net_ispartialchecksum \- indicate if a packet is being scheduled for hardware checksum calculation @@ -22,23 +22,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 7n -.rt value returned from a successful call to \fBnet_protocol_lookup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fImb\fR\fR .ad .RS 6n -.rt the \fBmblk\fR structure holding a packet that is the subject of this query. .RE @@ -56,23 +52,19 @@ by the hardware. The \fBnet_ispartialchecksum()\fR function returns: .sp .ne 2 -.mk .na \fB-1\fR .ad .RS 6n -.rt The network protocol does not support this function. .RE .sp .ne 2 -.mk .na \fB0\fR .ad .RS 6n -.rt The packet does not contain partial checksums. .RE @@ -82,45 +74,37 @@ If a packet is marked for hardware checksum'ing, the following values are returned: .sp .ne 2 -.mk .na \fB\fBNET_HCK_L3_FULL\fR\fR .ad .RS 19n -.rt Complete layer 3 checksum calculated .RE .sp .ne 2 -.mk .na \fB\fBNET_HCK_L3_PART\fR\fR .ad .RS 19n -.rt Partial layer 3 checksum calculated .RE .sp .ne 2 -.mk .na \fB\fBNET_HCK_L4_FULL\fR\fR .ad .RS 19n -.rt Complete layer 4 checksum calculated .RE .sp .ne 2 -.mk .na \fB\fBNET_HCK_L4_PART\fR\fR .ad .RS 19n -.rt Partial layer 4 checksum calculated .RE @@ -137,13 +121,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_isvalidchecksum.9f b/usr/src/man/man9f/net_isvalidchecksum.9f index a1797cec09..582fee53ce 100644 --- a/usr/src/man/man9f/net_isvalidchecksum.9f +++ b/usr/src/man/man9f/net_isvalidchecksum.9f @@ -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 net_isvalidchecksum 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_ISVALIDCHECKSUM 9F "May 1, 2008" .SH NAME net_isvalidchecksum \- verify layer 3 and layer 4 checksums .SH SYNOPSIS @@ -21,23 +21,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 7n -.rt value returned from a successful call to \fBnet_protocol_lookup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fImb\fR\fR .ad .RS 6n -.rt the \fBmblk\fR structure holding a packet that is the subject of this query. .RE @@ -59,34 +55,28 @@ validated. The \fBnet_isvalidchecksum()\fR function returns: .sp .ne 2 -.mk .na \fB-1\fR .ad .RS 6n -.rt The network protocol does not support this function. .RE .sp .ne 2 -.mk .na \fB0\fR .ad .RS 6n -.rt The packet does not contain partial checksums. .RE .sp .ne 2 -.mk .na \fB1\fR .ad .RS 6n -.rt The packet does contain partial checksums. .RE @@ -103,13 +93,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_kstat_create.9f b/usr/src/man/man9f/net_kstat_create.9f index 1a420a4f42..4dc32de1d5 100644 --- a/usr/src/man/man9f/net_kstat_create.9f +++ b/usr/src/man/man9f/net_kstat_create.9f @@ -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 net_kstat_create 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_KSTAT_CREATE 9F "May 1, 2008" .SH NAME net_kstat_create \- create and initialize a new kstat for a specific instance of IP @@ -14,8 +14,8 @@ of IP #include <sys/kstat.h> #include <sys/neti.h> -\fBkstat_t\fR *\fBnet_kstat_create\fR(\fBnetid_t\fR \fInetid\fR, \fBchar\fR *\fImodule\fR, - \fBint\fR \fIinstance\fR, \fBchar\fR *\fIname\fR, \fBchar\fR *\fIclass\fR, \fBuchar_type\fR \fItype\fR, +\fBkstat_t\fR *\fBnet_kstat_create\fR(\fBnetid_t\fR \fInetid\fR, \fBchar\fR *\fImodule\fR, + \fBint\fR \fIinstance\fR, \fBchar\fR *\fIname\fR, \fBchar\fR *\fIclass\fR, \fBuchar_type\fR \fItype\fR, \fBulong_t\fR \fIndata\fR, \fBuchar_t\fR \fIks_flag\fR); .fi @@ -26,59 +26,49 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInetid\fR\fR .ad .RS 12n -.rt \fBIP\fR instance identifier. .RE .sp .ne 2 -.mk .na \fB\fImodule\fR\fR .ad .RS 12n -.rt The name of the provider's module (such as "\fBsd\fR", "\fBesp\fR", ...). The "\fBcore\fR" kernel uses the name "unix". .RE .sp .ne 2 -.mk .na \fB\fIinstance\fR\fR .ad .RS 12n -.rt The provider's instance number, as from \fBddi_get_instance\fR(9F). Modules which do not have a meaningful instance number should use \fB0\fR. .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 12n -.rt A pointer to a string that uniquely identifies this structure. Only \fBKSTAT_STRLEN \(mi 1\fR characters are significant. .RE .sp .ne 2 -.mk .na \fB\fIclass\fR\fR .ad .RS 12n -.rt The general class that this kstat belongs to. The following classes are currently in use: \fBdisk\fR, \fBtape\fR, \fBnet\fR, \fBcontroller\fR, \fBvm\fR, \fBkvm\fR, \fBhat\fR, \fBstreams\fR, \fBkstat\fR, and \fBmisc\fR. @@ -86,16 +76,13 @@ currently in use: \fBdisk\fR, \fBtape\fR, \fBnet\fR, \fBcontroller\fR, .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 12n -.rt The type of \fBkstat\fR to allocate. Valid types are: .sp .ne 2 -.mk .na \fB\fBKSTAT_TYPE_NAMED\fR\fR .ad @@ -106,7 +93,6 @@ Allows more than one data record per \fBkstat\fR. .sp .ne 2 -.mk .na \fB\fBKSTAT_TYPE_INTR\fR\fR .ad @@ -117,7 +103,6 @@ Interrupt; only one data record per \fBkstat\fR. .sp .ne 2 -.mk .na \fB\fBKSTAT_TYPE_IO\fR\fR .ad @@ -130,28 +115,23 @@ Interrupt; only one data record per \fBkstat\fR. .sp .ne 2 -.mk .na \fB\fIndata\fR\fR .ad .RS 12n -.rt The number of type-specific data records to allocate. .RE .sp .ne 2 -.mk .na \fB\fIks_flag\fR\fR .ad .RS 12n -.rt A bit-field of various flags for this \fBkstat\fR. \fIks_flag\fR is some combination of: .sp .ne 2 -.mk .na \fB\fBKSTAT_FLAG_VIRTUAL\fR\fR .ad @@ -165,7 +145,6 @@ data structures. .sp .ne 2 -.mk .na \fB\fBKSTAT_FLAG_WRITABLE\fR\fR .ad @@ -176,7 +155,6 @@ Makes the \fBkstat\fR data section writable by root. .sp .ne 2 -.mk .na \fB\fBKSTAT_FLAG_PERSISTENT\fR\fR .ad @@ -217,13 +195,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_kstat_delete.9f b/usr/src/man/man9f/net_kstat_delete.9f index 6b51c722fc..abd74e3dea 100644 --- a/usr/src/man/man9f/net_kstat_delete.9f +++ b/usr/src/man/man9f/net_kstat_delete.9f @@ -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 net_kstat_delete 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_KSTAT_DELETE 9F "May 1, 2008" .SH NAME net_kstat_delete \- remove a kstat for a specific instance of IP from the system @@ -24,23 +24,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInetid\fR\fR .ad .RS 9n -.rt \fBIP\fR instance identifier. .RE .sp .ne 2 -.mk .na \fB\fIksp\fR\fR .ad .RS 9n -.rt Pointer to a currently installed \fBkstat\fR(9S) structure. .RE @@ -68,13 +64,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_lifgetnext.9f b/usr/src/man/man9f/net_lifgetnext.9f index 1f6c9ff7b4..a33b47805d 100644 --- a/usr/src/man/man9f/net_lifgetnext.9f +++ b/usr/src/man/man9f/net_lifgetnext.9f @@ -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 net_lifgetnext 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_LIFGETNEXT 9F "May 1, 2008" .SH NAME net_lifgetnext \- search through a list of logical network interfaces .SH SYNOPSIS @@ -11,7 +11,7 @@ net_lifgetnext \- search through a list of logical network interfaces .nf #include <sys/neti.h> -\fBnet_if_t\fR \fBnet_lifgetnext\fR(\fBconst\fR \fBnet_data_t\fR \fInet\fR, \fBconst\fR \fBphy_if_t\fR \fIifp\fR, +\fBnet_if_t\fR \fBnet_lifgetnext\fR(\fBconst\fR \fBnet_data_t\fR \fInet\fR, \fBconst\fR \fBphy_if_t\fR \fIifp\fR, \fBnet_if_t\fR \fIlif\fR); .fi @@ -22,35 +22,29 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 7n -.rt value returned from a successful call to \fBnet_protocol_lookup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIifp\fR\fR .ad .RS 7n -.rt value returned from a successful call to \fBnet_phylookup\fR(9F) or \fBnet_phygetnext\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIlif\fR\fR .ad .RS 7n -.rt value returned from a successful call to this function. .RE @@ -116,13 +110,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_netidtozonid.9f b/usr/src/man/man9f/net_netidtozonid.9f index 9716a099b0..4e33f506b6 100644 --- a/usr/src/man/man9f/net_netidtozonid.9f +++ b/usr/src/man/man9f/net_netidtozonid.9f @@ -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 net_netidtozonid 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_NETIDTOZONID 9F "May 1, 2008" .SH NAME net_netidtozonid \- map a netid_t structure identifier to a zoneid_t structure .SH SYNOPSIS @@ -21,12 +21,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 7n -.rt valid \fBnetid_t\fR structure that refers to an existing \fBIP\fR instance. .RE @@ -56,13 +54,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_phygetnext.9f b/usr/src/man/man9f/net_phygetnext.9f index 387a4e8bf8..61d0b2207b 100644 --- a/usr/src/man/man9f/net_phygetnext.9f +++ b/usr/src/man/man9f/net_phygetnext.9f @@ -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 net_phygetnext 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_PHYGETNEXT 9F "May 1, 2008" .SH NAME net_phygetnext \- search through the current list of network interfaces .SH SYNOPSIS @@ -21,23 +21,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 7n -.rt value returned from a successful call to \fBnet_protocol_lookup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIifp\fR\fR .ad .RS 7n -.rt value returned from a successful call to this function or \fBnet_phylookup\fR(9F). .RE @@ -63,7 +59,7 @@ scope of the network protocol. net_data_t net; phy_if_t ifp; char buffer[32]; - + net = net_protocol_lookup("inet"); if (net != NULL) { @@ -98,13 +94,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_phylookup.9f b/usr/src/man/man9f/net_phylookup.9f index 7229cf5708..640f1f0e89 100644 --- a/usr/src/man/man9f/net_phylookup.9f +++ b/usr/src/man/man9f/net_phylookup.9f @@ -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 net_phylookup 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_PHYLOOKUP 9F "May 1, 2008" .SH NAME net_phylookup \- determine if a network interface name exists for a network protocol @@ -22,23 +22,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 8n -.rt value returned from a successful call to \fBnet_protocol_lookup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 8n -.rt name of the network interface to find. .RE @@ -74,13 +70,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_protocol_lookup.9f b/usr/src/man/man9f/net_protocol_lookup.9f index ee0853942f..d6707d7c9e 100644 --- a/usr/src/man/man9f/net_protocol_lookup.9f +++ b/usr/src/man/man9f/net_protocol_lookup.9f @@ -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 net_protocol_lookup 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_PROTOCOL_LOOKUP 9F "May 1, 2008" .SH NAME net_protocol_lookup \- locate an implementation of a network layer protocol .SH SYNOPSIS @@ -21,23 +21,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIid\fR\fR .ad .RS 10n -.rt network instance identifier. .RE .sp .ne 2 -.mk .na \fB\fIfamily\fR\fR .ad .RS 10n -.rt name of the network protocol to find. .RE @@ -74,13 +70,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_protocol_notify_register.9f b/usr/src/man/man9f/net_protocol_notify_register.9f index 4621b94f66..0f39ac1173 100644 --- a/usr/src/man/man9f/net_protocol_notify_register.9f +++ b/usr/src/man/man9f/net_protocol_notify_register.9f @@ -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 net_protocol_notify_register 9F "30 Oct 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_PROTOCOL_NOTIFY_REGISTER 9F "Oct 30, 2008" .SH NAME net_protocol_notify_register, net_instance_protocol_unregister \- add/delete a function to be called for changes to a protocol @@ -13,14 +13,14 @@ function to be called for changes to a protocol #include <sys/hook.h> #include <sys/neti.h> -\fBint\fR \fBnet_protocol_notify_register\fR(\fBnet_handle_t\fR \fIfamily\fR, +\fBint\fR \fBnet_protocol_notify_register\fR(\fBnet_handle_t\fR \fIfamily\fR, \fBhook_notify_fn_t\fR *\fIcallback\fR, \fBvoid\fR *\fIarg\fR); -\fBint\fR \fBnet_protocol_notify_unregister\fR(\fBnet_handle_t\fR \fIfamily\fR, +\fBint\fR \fBnet_protocol_notify_unregister\fR(\fBnet_handle_t\fR \fIfamily\fR, \fBhook_notify_fn_t\fR *\fIcallback\fR); \fBtypedef int\fR (* \fBhook_notify_fn_t\fR)(\fBhook_notify_cmd_t command,\fR - \fBvoid\fR *\fIarg\fR, \fBconst char\fR *\fIname1\fR, \fBconst char\fR *\fIname2\fR, \fBconst char\fR + \fBvoid\fR *\fIarg\fR, \fBconst char\fR *\fIname1\fR, \fBconst char\fR *\fIname2\fR, \fBconst char\fR *\fIname3\fR); .fi @@ -31,34 +31,28 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIfamily\fR\fR .ad .RS 12n -.rt value returned from \fBnet_protocol_lookup()\fR. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 12n -.rt function to call when a change occurs. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 12n -.rt pointer to pass into the \fBcallback()\fR function when a change occurs. .RE @@ -90,34 +84,28 @@ The arguments passed through to the \fBcallback\fR are as follows (the command is either \fBHN_REGISTER\fR or \fBHN_UNREGISTER\fR): .sp .ne 2 -.mk .na \fB\fIname1\fR\fR .ad .RS 9n -.rt is the name of the protocol .RE .sp .ne 2 -.mk .na \fB\fIname2\fR\fR .ad .RS 9n -.rt is \fBNULL\fR. .RE .sp .ne 2 -.mk .na \fB\fIname3\fR\fR .ad .RS 9n -.rt is the name of the protocol being added/removed .RE @@ -128,12 +116,10 @@ If these functions succeed, 0 is returned. Otherwise, the following error is returned: .sp .ne 2 -.mk .na \fBEEXIST\fR .ad .RS 10n -.rt the given callback function is already registered. .RE @@ -149,13 +135,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_protocol_release.9f b/usr/src/man/man9f/net_protocol_release.9f index b78483f110..5f9d1c5be5 100644 --- a/usr/src/man/man9f/net_protocol_release.9f +++ b/usr/src/man/man9f/net_protocol_release.9f @@ -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 net_protocol_release 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_PROTOCOL_RELEASE 9F "May 1, 2008" .SH NAME net_protocol_release \- indicate that a reference to a network protocol is no longer required @@ -22,12 +22,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 7n -.rt value returned from a successful call to \fBnet_protocol_lookup\fR(9F). .RE @@ -43,34 +41,28 @@ network protocol to which the parameter being passed through applies. The \fBnet_protocol_release()\fR function returns: .sp .ne 2 -.mk .na \fB-1\fR .ad .RS 6n -.rt The value passed in is unknown to this framework. .RE .sp .ne 2 -.mk .na \fB0\fR .ad .RS 6n -.rt Successful completion. .RE .sp .ne 2 -.mk .na \fB1\fR .ad .RS 6n -.rt Unsuccessful because this function has been called too many times. .RE @@ -87,13 +79,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_protocol_walk.9f b/usr/src/man/man9f/net_protocol_walk.9f index 4488d8f19d..03b90aad15 100644 --- a/usr/src/man/man9f/net_protocol_walk.9f +++ b/usr/src/man/man9f/net_protocol_walk.9f @@ -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 net_protocol_walk 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_PROTOCOL_WALK 9F "May 1, 2008" .SH NAME net_protocol_walk \- step through the list of registered network protocols .SH SYNOPSIS @@ -21,12 +21,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 7n -.rt value returned from a successful call to \fBnet_protocol_lookup\fR(9F). .RE @@ -63,13 +61,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_routeto.9f b/usr/src/man/man9f/net_routeto.9f index 789636c0f7..6b712656e6 100644 --- a/usr/src/man/man9f/net_routeto.9f +++ b/usr/src/man/man9f/net_routeto.9f @@ -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 net_routeto 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_ROUTETO 9F "May 1, 2008" .SH NAME net_routeto \- indicate which network interface packets are sent .SH SYNOPSIS @@ -11,7 +11,7 @@ net_routeto \- indicate which network interface packets are sent .nf #include <sys/neti.h> -\fBphy_if_t\fR \fBnet_routeto\fR(\fBconst\fR \fBnet_data_t\fR *\fInet\fR, \fBstruct\fR \fBsockaddr\fR *\fIaddress\fR, +\fBphy_if_t\fR \fBnet_routeto\fR(\fBconst\fR \fBnet_data_t\fR *\fInet\fR, \fBstruct\fR \fBsockaddr\fR *\fIaddress\fR, \fBstruct\fR \fBsockaddr\fR *\fInexthop\fR); .fi @@ -22,34 +22,28 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInet\fR\fR .ad .RS 11n -.rt value returned from a successful call to \fBnet_protocol_lookup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIaddress\fR\fR .ad .RS 11n -.rt network address to find a path out of the machine for. .RE .sp .ne 2 -.mk .na \fB\fInexthop\fR\fR .ad .RS 11n -.rt pointer to the \fBsockaddr\fR structure in which to store the address of the next hop. If this information is not required, the value \fBNULL\fR may be passed instead. @@ -69,34 +63,28 @@ returned in it. The \fBnet_routeto()\fR function returns: .sp .ne 2 -.mk .na \fB-1\fR .ad .RS 6n -.rt The network protocol does not support this function. .RE .sp .ne 2 -.mk .na \fB0\fR .ad .RS 6n -.rt This function cannot find a route for the address given. .RE .sp .ne 2 -.mk .na \fB>0\fR .ad .RS 6n -.rt Indicates which network interface can be used to reach the given address. .RE @@ -113,13 +101,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/net_zoneidtonetid.9f b/usr/src/man/man9f/net_zoneidtonetid.9f index 901cf51fe7..271fa86b15 100644 --- a/usr/src/man/man9f/net_zoneidtonetid.9f +++ b/usr/src/man/man9f/net_zoneidtonetid.9f @@ -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 net_zoneidtonetid 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NET_ZONEIDTONETID 9F "May 1, 2008" .SH NAME net_zoneidtonetid \- map a zoneid_t struture identifier to a netid_t structure .SH SYNOPSIS @@ -21,12 +21,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIzone\fR\fR .ad .RS 8n -.rt valid \fBzoneid_t\fR structure that refers to a running zone. .RE @@ -58,13 +56,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/netinfo.9f b/usr/src/man/man9f/netinfo.9f index 6486a7abc9..59e6433d90 100644 --- a/usr/src/man/man9f/netinfo.9f +++ b/usr/src/man/man9f/netinfo.9f @@ -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 netinfo 9F "1 May 2008" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NETINFO 9F "May 1, 2008" .SH NAME netinfo \- interface to network data/functionality .SH DESCRIPTION @@ -24,13 +24,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/nochpoll.9f b/usr/src/man/man9f/nochpoll.9f index 1913a4e20d..de9b48577a 100644 --- a/usr/src/man/man9f/nochpoll.9f +++ b/usr/src/man/man9f/nochpoll.9f @@ -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 nochpoll 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NOCHPOLL 9F "Jan 16, 2006" .SH NAME nochpoll \- error return function for non-pollable devices .SH SYNOPSIS @@ -14,7 +14,7 @@ nochpoll \- error return function for non-pollable devices -\fBint\fR \fBnochpoll\fR(\fBdev_t\fR \fIdev\fR, \fBshort\fR \fIevents\fR, \fBint\fR \fIanyyet\fR, \fBshort\fR \fI*reventsp\fR, +\fBint\fR \fBnochpoll\fR(\fBdev_t\fR \fIdev\fR, \fBshort\fR \fIevents\fR, \fBint\fR \fIanyyet\fR, \fBshort\fR \fI*reventsp\fR, \fBstruct pollhead\fR \fI**pollhdrp\fR); .fi @@ -25,56 +25,46 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdev\fR\fR .ad .RS 12n -.rt Device number. .RE .sp .ne 2 -.mk .na \fB\fIevents\fR\fR .ad .RS 12n -.rt Event flags. .RE .sp .ne 2 -.mk .na \fB\fIanyyet\fR\fR .ad .RS 12n -.rt Check current events only. .RE .sp .ne 2 -.mk .na \fB\fIreventsp\fR\fR .ad .RS 12n -.rt Event flag pointer. .RE .sp .ne 2 -.mk .na \fB\fIpollhdrp\fR\fR .ad .RS 12n -.rt Poll head pointer. .RE diff --git a/usr/src/man/man9f/nodev.9f b/usr/src/man/man9f/nodev.9f index 9e433f21dc..0b6d4e85c3 100644 --- a/usr/src/man/man9f/nodev.9f +++ b/usr/src/man/man9f/nodev.9f @@ -4,7 +4,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 nodev 9F "27 Jan 1993" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NODEV 9F "Jan 27, 1993" .SH NAME nodev \- error return function .SH SYNOPSIS diff --git a/usr/src/man/man9f/noenable.9f b/usr/src/man/man9f/noenable.9f index fceac1f991..ad8414936c 100644 --- a/usr/src/man/man9f/noenable.9f +++ b/usr/src/man/man9f/noenable.9f @@ -4,7 +4,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 noenable 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NOENABLE 9F "Jan 16, 2006" .SH NAME noenable \- prevent a queue from being scheduled .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 5n -.rt Pointer to the queue. .RE diff --git a/usr/src/man/man9f/nulldev.9f b/usr/src/man/man9f/nulldev.9f index 780cf15390..9b366e5bd3 100644 --- a/usr/src/man/man9f/nulldev.9f +++ b/usr/src/man/man9f/nulldev.9f @@ -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 nulldev 9F "11 Apr 1991" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NULLDEV 9F "Apr 11, 1991" .SH NAME nulldev \- zero return function .SH SYNOPSIS diff --git a/usr/src/man/man9f/nvlist_add_boolean.9f b/usr/src/man/man9f/nvlist_add_boolean.9f index 029bb7d8e8..e50a062d41 100644 --- a/usr/src/man/man9f/nvlist_add_boolean.9f +++ b/usr/src/man/man9f/nvlist_add_boolean.9f @@ -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 nvlist_add_boolean 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NVLIST_ADD_BOOLEAN 9F "Jan 16, 2006" .SH NAME nvlist_add_boolean, nvlist_add_boolean_value, nvlist_add_byte, nvlist_add_int8, nvlist_add_uint8, nvlist_add_int16, nvlist_add_uint16, nvlist_add_int32, @@ -24,7 +24,7 @@ functions .LP .nf -\fBint\fR \fBnvlist_add_boolean_value\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_add_boolean_value\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBboolean_t\fR \fIval\fR); .fi @@ -90,7 +90,7 @@ functions .LP .nf -\fBint\fR \fBnvlist_add_boolean_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_add_boolean_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBboolean_t *\fR\fIval\fR, \fBuint_t\fR \fInelem\fR); .fi @@ -108,7 +108,7 @@ functions .LP .nf -\fBint\fR \fBnvlist_add_uint8_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_add_uint8_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBuint8_t *\fR\fIval\fR uint_t nelem); .fi @@ -150,13 +150,13 @@ functions .LP .nf -\fBint\fR \fBnvlist_add_string_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_add_string_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBconst *char *\fR\fIval\fR, \fBuint_t\fR \fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvlist_add_nvlist_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_add_nvlist_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBnvlist_t **\fR\fIval\fR, \fBuint_t\fR \fInelem\fR); .fi @@ -167,56 +167,46 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInvl\fR\fR .ad .RS 9n -.rt The \fBnvlist_t\fR to be processed. .RE .sp .ne 2 -.mk .na \fB\fInvp\fR\fR .ad .RS 9n -.rt The \fBnvpair_t\fR (name-value pair) to be processed. .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 9n -.rt Name of the name-value pair (\fBnvpair\fR). .RE .sp .ne 2 -.mk .na \fB\fInelem\fR\fR .ad .RS 9n -.rt Number of elements in value (that is, array size). .RE .sp .ne 2 -.mk .na \fB\fIval\fR\fR .ad .RS 9n -.rt Value or starting address of the array value. .RE @@ -254,34 +244,28 @@ The \fBnvlist_add_boolean()\fR function is deprecated and the .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 10n -.rt success .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt invalid argument .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt insufficient memory .RE diff --git a/usr/src/man/man9f/nvlist_alloc.9f b/usr/src/man/man9f/nvlist_alloc.9f index b0ae50ccd4..2be889660e 100644 --- a/usr/src/man/man9f/nvlist_alloc.9f +++ b/usr/src/man/man9f/nvlist_alloc.9f @@ -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 nvlist_alloc 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NVLIST_ALLOC 9F "Jan 16, 2006" .SH NAME nvlist_alloc, nvlist_free, nvlist_size, nvlist_pack, nvlist_unpack, nvlist_dup, nv_alloc_init, nv_alloc_fini, nvlist_xalloc, nvlist_xpack, nvlist_xunpack, @@ -11,7 +11,7 @@ nvlist_xdup, nvlist_merge \- Manage a name-value pair list .SH SYNOPSIS .LP .nf -#include <sys/nvpair.h> +#include <sys/nvpair.h> List Manipulation: @@ -53,7 +53,7 @@ List Manipulation: .LP .nf -\fBint\fR \fBnvlist_xunpack\fR(\fBchar *\fR\fIbuf\fR, \fBsize_t\fR \fIbuflen\fR, \fBnvlist_t **\fR\fInvlp\fR, +\fBint\fR \fBnvlist_xunpack\fR(\fBchar *\fR\fIbuf\fR, \fBsize_t\fR \fIbuflen\fR, \fBnvlist_t **\fR\fInvlp\fR, \fBnv_alloc_t *\fR\fInva\fR); .fi @@ -81,7 +81,7 @@ Pluggable Allocator Configuration: .LP .nf -\fBint\fR \fBnv_alloc_init\fR(\fBnv_alloc_t *\fR\fInva\fR, +\fBint\fR \fBnv_alloc_init\fR(\fBnv_alloc_t *\fR\fInva\fR, \fBconst nv_alloc_ops_t *\fR \fInvo,\fR/* args */ ...); .fi @@ -110,43 +110,35 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInvlp\fR\fR .ad .RS 12n -.rt Address of a pointer to list of name-value pairs (\fBnvlist_t\fR). .RE .sp .ne 2 -.mk .na \fB\fInvflag\fR\fR .ad .RS 12n -.rt Specify bit fields defining \fBnvlist_t\fR properties: .sp .ne 2 -.mk .na \fB\fBNV_UNIQUE_NAME\fR\fR .ad .RS 23n -.rt \fBnvpair\fR names are unique. .RE .sp .ne 2 -.mk .na \fB\fBNV_UNIQUE_NAME_TYPE\fR\fR .ad .RS 23n -.rt Name-data type combination is unique .RE @@ -154,112 +146,92 @@ Name-data type combination is unique .sp .ne 2 -.mk .na \fB\fIkmflag\fR\fR .ad .RS 12n -.rt Kernel memory allocation policy, either \fBKM_SLEEP\fR or \fBKM_NOSLEEP\fR. .RE .sp .ne 2 -.mk .na \fB\fInvl\fR\fR .ad .RS 12n -.rt \fBnvlist_t\fR to be processed. .RE .sp .ne 2 -.mk .na \fB\fIdst\fR\fR .ad .RS 12n -.rt Destination \fBnvlist_t\fR. .RE .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 12n -.rt Pointer to buffer to contain the encoded size. .RE .sp .ne 2 -.mk .na \fB\fIbufp\fR\fR .ad .RS 12n -.rt Address of buffer to pack \fBnvlist\fR into. Must be 8-byte aligned. If NULL, library will allocate memory. .RE .sp .ne 2 -.mk .na \fB\fIbuf\fR\fR .ad .RS 12n -.rt Buffer containing packed \fBnvlist_t\fR. .RE .sp .ne 2 -.mk .na \fB\fIbuflen\fR\fR .ad .RS 12n -.rt Size of buffer \fIbufp\fR or \fIbuf\fR points to. .RE .sp .ne 2 -.mk .na \fB\fIencoding\fR\fR .ad .RS 12n -.rt Encoding method for packing. .RE .sp .ne 2 -.mk .na \fB\fInvo\fR\fR .ad .RS 12n -.rt Pluggable allocator operations pointer (nv_alloc_ops_t). .RE .sp .ne 2 -.mk .na \fB\fInva\fR\fR .ad .RS 12n -.rt Points to a nv_alloc_t structure to be used for the specified \fBnvlist_t\fR. .RE @@ -295,23 +267,19 @@ buffer large enough to pack \fInvl\fR. The \fIencoding\fR parameter specifies the method of encoding when packing \fInvl\fR. Supported encoding methods are: .sp .ne 2 -.mk .na \fB\fBNV_ENCODE_NATIVE\fR\fR .ad .RS 20n -.rt Straight \fBbcopy()\fR as described in \fBbcopy\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fBNV_ENCODE_XDR\fR\fR .ad .RS 20n -.rt Use XDR encoding, suitable for sending to another host. .RE @@ -510,34 +478,28 @@ For \fBnvlist_alloc()\fR, \fBnvlist_dup()\fR, \fBnvlist_xalloc()\fR, and \fBnvlist_xdup()\fR: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 10n -.rt success .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt invalid argument .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt insufficient memory .RE @@ -547,56 +509,46 @@ For \fBnvlist_pack()\fR, \fBnvlist_unpack()\fR, \fBnvlist_xpack()\fR, and \fBnvlist_xunpack()\fR: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 11n -.rt success .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt invalid argument .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 11n -.rt insufficient memory .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 11n -.rt encode/decode error .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt encode/decode method not supported .RE @@ -605,23 +557,19 @@ encode/decode method not supported For \fBnvlist_size()\fR: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 10n -.rt success .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt invalid argument .RE @@ -645,41 +593,41 @@ responsible for allocation and de-allocation for the pre-allocated buffer. * using the fixed-buffer allocator. */ #include <sys/nvpair.h> - + /* initialize the nvpair allocator framework */ static nv_alloc_t * init(char *buf, size_t size) { nv_alloc_t *nvap; - + if ((nvap = kmem_alloc(sizeof(nv_alloc_t), KM_SLEEP)) == NULL) return (NULL); - + if (nv_alloc_init(nvap, nv_fixed_ops, buf, size) == 0) return (nvap); - + return (NULL); } - + static void fini(nv_alloc_t *nvap) { nv_alloc_fini(nvap); kmem_free(nvap, sizeof(nv_alloc_t)); - } + } static int interrupt_context(nv_alloc_t *nva) { nvlist_t *nvl; int error; - + if ((error = nvlist_xalloc(&nvl, NV_UNIQUE_NAME, nva)) != 0) return (-1); - + if ((error = nvlist_add_int32(nvl, "name", 1234)) == 0) error = send_nvl(nvl); - - nvlist_free(nvl); + + nvlist_free(nvl); return (error); } .fi diff --git a/usr/src/man/man9f/nvlist_lookup_boolean.9f b/usr/src/man/man9f/nvlist_lookup_boolean.9f index c28f6bc3ff..2bb2ad16de 100644 --- a/usr/src/man/man9f/nvlist_lookup_boolean.9f +++ b/usr/src/man/man9f/nvlist_lookup_boolean.9f @@ -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 nvlist_lookup_boolean 9F "20 May 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NVLIST_LOOKUP_BOOLEAN 9F "May 20, 2006" .SH NAME nvlist_lookup_boolean, nvlist_lookup_boolean_value, nvlist_lookup_byte, nvlist_lookup_int8, nvlist_lookup_int16, nvlist_lookup_int32, @@ -19,152 +19,152 @@ indicated by the interface name and retrieve data value .SH SYNOPSIS .LP .nf -#include <sys/nvpair.h> +#include <sys/nvpair.h> \fBint\fR \fBnvlist_lookup_boolean\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_boolean_value\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_boolean_value\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBboolean_t *\fR\fIval\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_byte\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_byte\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBuchar_t *\fR\fIval\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_int8\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_int8\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBint8_t *\fR\fIval\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_uint8\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_uint8\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBuint8_t *\fR\fIval\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_int16\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_int16\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBint16_t *\fR\fIval\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_uint16\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_uint16\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBuint16_t *\fR\fIval\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_int32\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_int32\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBint32_t *\fR\fIval\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_uint32\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_uint32\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBuint32_t *\fR\fIval\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_int64\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_int64\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBint64_t *\fR\fIval\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_uint64\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_uint64\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBuint64_t *\fR\fIval\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_string\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_string\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBchar **\fR\fIval\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_nvlist\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_nvlist\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBnvlist_t **\fR\fIval\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_boolean_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_boolean_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBboolean_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_byte_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_byte_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBuchar_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_int8_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_int8_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBint8_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_uint8_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_uint8_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBuint8_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_int16_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_int16_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBint16_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_uint16_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_uint16_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBuint16_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_int32_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_int32_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBint32_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_uint32_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_uint32_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBuint32_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_int64_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_int64_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBint64_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_uint64_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_uint64_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBuint64_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_string_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_string_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBchar ***\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvlist_lookup_nvlist_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, +\fBint\fR \fBnvlist_lookup_nvlist_array\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBnvlist_t ***\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi @@ -180,65 +180,53 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInvl\fR\fR .ad .RS 9n -.rt The list of name-value pairs (\fBnvlist_t\fR) to be processed. .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 9n -.rt Name of the name-value pair (\fBnvpair\fR) to search. .RE .sp .ne 2 -.mk .na \fB\fInelem\fR\fR .ad .RS 9n -.rt Address to store the number of elements in value. .RE .sp .ne 2 -.mk .na \fB\fIval\fR\fR .ad .RS 9n -.rt Address to store the value or starting address of the array value. .RE .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 9n -.rt Specify bit fields defining lookup behavior: .sp .ne 2 -.mk .na \fBNV_FLAG_NOENTOK\fR .ad .RS 19n -.rt The retrival function will not fail if no matching name-value pair is found. .RE @@ -277,46 +265,38 @@ types). As shown below, the interpretation of the arguments depends on the value of \fItype\fR. See \fBnvpair_type\fR(9F). .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 9n -.rt Name of the name-value pair to search. .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 9n -.rt Data type. .RE .sp .ne 2 -.mk .na \fB\fIval\fR\fR .ad .RS 9n -.rt Address to store the starting address of the value. When using data type \fBDATA_TYPE_BOOLEAN\fR, the \fIval\fR argument is ignored. .RE .sp .ne 2 -.mk .na \fB\fInelem\fR\fR .ad .RS 9n -.rt Address to store the number of elements in value. Non-array data types have only one argument and \fInelem\fR is ignored. .RE @@ -337,45 +317,37 @@ These functions return \fB0\fR on success and an error value on failure. These functions fail under the following conditions. .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 11n -.rt Success .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt Invalid argument .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 11n -.rt No matching name-value pair found .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt Encode/decode method not supported .RE @@ -391,13 +363,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/nvlist_lookup_nvpair.9f b/usr/src/man/man9f/nvlist_lookup_nvpair.9f index 395a83039e..6412b32e05 100644 --- a/usr/src/man/man9f/nvlist_lookup_nvpair.9f +++ b/usr/src/man/man9f/nvlist_lookup_nvpair.9f @@ -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 nvlist_lookup_nvpair 9F "24 Oct 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NVLIST_LOOKUP_NVPAIR 9F "Oct 24, 2007" .SH NAME nvlist_lookup_nvpair, nvlist_exists \- lookup named pairs .SH SYNOPSIS @@ -45,34 +45,28 @@ given name exists and \fBB_FALSE\fR otherwise. The \fBnvlist_lookup_nvpair()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt There is an invalid argument. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 11n -.rt No matching name-value pair is found. .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt The list was not allocated with \fBNV_UNIQUE_NAME\fR. .RE @@ -84,13 +78,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/nvlist_next_nvpair.9f b/usr/src/man/man9f/nvlist_next_nvpair.9f index 7da393b7aa..7e5ed274a0 100644 --- a/usr/src/man/man9f/nvlist_next_nvpair.9f +++ b/usr/src/man/man9f/nvlist_next_nvpair.9f @@ -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 nvlist_next_nvpair 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NVLIST_NEXT_NVPAIR 9F "Jan 16, 2006" .SH NAME nvlist_next_nvpair, nvpair_name, nvpair_type \- return data regarding name-value pairs @@ -32,23 +32,19 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInvl\fR\fR .ad .RS 10n -.rt The list of name-value pairs (\fBnvlist_t\fR) to be processed. .RE .sp .ne 2 -.mk .na \fB\fInvpair\fR\fR .ad .RS 10n -.rt Handle to a name-value pair. .RE diff --git a/usr/src/man/man9f/nvlist_remove.9f b/usr/src/man/man9f/nvlist_remove.9f index 9d90db06ae..0adac9f3ab 100644 --- a/usr/src/man/man9f/nvlist_remove.9f +++ b/usr/src/man/man9f/nvlist_remove.9f @@ -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 nvlist_remove 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NVLIST_REMOVE 9F "Jan 16, 2006" .SH NAME nvlist_remove, nvlist_remove_all \- remove name-value pairs .SH SYNOPSIS .LP .nf -#include <sys/nvpair.h> +#include <sys/nvpair.h> \fBint\fR \fBnvlist_remove\fR(\fBnvlist_t *\fR\fInvl\fR, \fBconst char *\fR\fIname\fR, \fBdata_type_t\fR \fItype\fR); .fi @@ -26,34 +26,28 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInvl\fR\fR .ad .RS 8n -.rt The list of name-value pairs (\fBnvlist_t\fR) to be processed. .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 8n -.rt Name of the name-value pair (\fBnvpair\fR) to be removed. .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 8n -.rt Data type of the \fBnvpair\fR to be removed. .RE @@ -83,23 +77,19 @@ from user, interrupt, or kernel context. .SH ERRORS .sp .ne 2 -.mk .na \fBEINVAL\fR .ad .RS 10n -.rt There is an invalid argument. .RE .sp .ne 2 -.mk .na \fBENOENT\fR .ad .RS 10n -.rt No name-value pairs were found to match the criteria specified by name and type. .RE diff --git a/usr/src/man/man9f/nvpair_value_byte.9f b/usr/src/man/man9f/nvpair_value_byte.9f index 9a42e78b65..bb7474f654 100644 --- a/usr/src/man/man9f/nvpair_value_byte.9f +++ b/usr/src/man/man9f/nvpair_value_byte.9f @@ -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 nvpair_value_byte 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH NVPAIR_VALUE_BYTE 9F "Jan 16, 2006" .SH NAME nvpair_value_byte, nvpair_value_nvlist, nvpair_value_int8, nvpair_value_int16, nvpair_value_int32, nvpair_value_int64, nvpair_value_uint8, @@ -17,7 +17,7 @@ name-value pair .SH SYNOPSIS .LP .nf -#include <sys/nvpair.h> +#include <sys/nvpair.h> \fBint\fR \fBnvpair_value_boolean_value\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBboolean_t *\fR\fIval\fR); .fi @@ -85,67 +85,67 @@ name-value pair .LP .nf -\fBint\fR \fBnvpair_value_byte_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBuchar_t **\fR\fIval\fR, +\fBint\fR \fBnvpair_value_byte_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBuchar_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvpair_value_int8_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBint8_t **\fR\fIval\fR, +\fBint\fR \fBnvpair_value_int8_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBint8_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvpair_value_uint8_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBuint8_t **\fR\fIval\fR, +\fBint\fR \fBnvpair_value_uint8_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBuint8_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvpair_value_int16_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBint16_t **\fR\fIval\fR, +\fBint\fR \fBnvpair_value_int16_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBint16_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvpair_value_uint16_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBuint16_t **\fR\fIval\fR, +\fBint\fR \fBnvpair_value_uint16_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBuint16_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvpair_value_int32_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBint32_t **\fR\fIval\fR, +\fBint\fR \fBnvpair_value_int32_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBint32_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvpair_value_uint32_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBuint32_t **\fR\fIval\fR, +\fBint\fR \fBnvpair_value_uint32_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBuint32_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvpair_value_int64_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBint64_t **\fR\fIval\fR, +\fBint\fR \fBnvpair_value_int64_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBint64_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvpair_value_uint64_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBuint64_t **\fR\fIval\fR, +\fBint\fR \fBnvpair_value_uint64_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBuint64_t **\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvpair_value_string_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBchar ***\fR\fIval\fR, +\fBint\fR \fBnvpair_value_string_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBchar ***\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi .LP .nf -\fBint\fR \fBnvpair_value_nvlist_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBnvlist_t ***\fR\fIval\fR, +\fBint\fR \fBnvpair_value_nvlist_array\fR(\fBnvpair_t *\fR\fInvpair\fR, \fBnvlist_t ***\fR\fIval\fR, \fBuint_t *\fR\fInelem\fR); .fi @@ -156,34 +156,28 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInvpair\fR\fR .ad .RS 10n -.rt Name-value pair (\fBnvpair\fR) to be processed. .RE .sp .ne 2 -.mk .na \fB\fInelem\fR\fR .ad .RS 10n -.rt Address to store the number of elements in value. .RE .sp .ne 2 -.mk .na \fB\fIval\fR\fR .ad .RS 10n -.rt Address to store the value or starting address of array value. .RE @@ -211,23 +205,19 @@ addition on nvlists created with NV_UNIQUE_NAME_TYPE and NV_UNIQUE_NAME. See .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 10n -.rt Success .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Either one of the arguments is \fINULL\fR or type of \fInvpair\fR does not match the interface name. .RE diff --git a/usr/src/man/man9f/outb.9f b/usr/src/man/man9f/outb.9f index 60b21775d1..cacd669d30 100644 --- a/usr/src/man/man9f/outb.9f +++ b/usr/src/man/man9f/outb.9f @@ -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 outb 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH OUTB 9F "Jan 16, 2006" .SH NAME outb, outw, outl, repoutsb, repoutsw, repoutsd \- write to an I/O port .SH SYNOPSIS .LP .nf #include <sys/ddi.h> -#include <sys/sunddi.h> +#include <sys/sunddi.h> \fBvoid\fR \fBoutb\fR(\fBint\fR \fIport\fR, \fBunsigned char\fR \fIvalue\fR); .fi @@ -52,45 +52,37 @@ instead. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIport\fR\fR .ad .RS 9n -.rt A valid \fBI/O\fR port address. .RE .sp .ne 2 -.mk .na \fB\fIvalue\fR\fR .ad .RS 9n -.rt The data to be written to the \fBI/O\fR port. .RE .sp .ne 2 -.mk .na \fB\fIaddr\fR\fR .ad .RS 9n -.rt The address of a buffer from which the values will be fetched. .RE .sp .ne 2 -.mk .na \fB\fIcount\fR\fR .ad .RS 9n -.rt The number of values to be written to the \fBI/O\fR port. .RE @@ -122,15 +114,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 _ -Architecturex86 +Architecture x86 _ -Interface Stability Obsolete +Interface Stability Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/pci_config_get8.9f b/usr/src/man/man9f/pci_config_get8.9f index 3c730030c0..f315bf6713 100644 --- a/usr/src/man/man9f/pci_config_get8.9f +++ b/usr/src/man/man9f/pci_config_get8.9f @@ -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 pci_config_get8 9F "1 Nov 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PCI_CONFIG_GET8 9F "Nov 1, 2005" .SH NAME pci_config_get8, pci_config_get16, pci_config_get32, pci_config_get64, pci_config_put8, pci_config_put16, pci_config_put32, pci_config_put64, @@ -14,7 +14,7 @@ write single datum of various sizes to the PCI Local Bus Configuration space .LP .nf #include <sys/ddi.h> -#include <sys/sunddi.h> +#include <sys/sunddi.h> @@ -38,25 +38,25 @@ write single datum of various sizes to the PCI Local Bus Configuration space .LP .nf -\fBvoid\fR \fBpci_config_put8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBoff_t\fR \fIoffset\fR, +\fBvoid\fR \fBpci_config_put8\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBoff_t\fR \fIoffset\fR, \fBuint8_t\fR \fIvalue\fR); .fi .LP .nf -\fBvoid\fR \fBpci_config_put16\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBoff_t\fR \fIoffset\fR, +\fBvoid\fR \fBpci_config_put16\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBoff_t\fR \fIoffset\fR, \fBuint16_t\fR \fIvalue\fR); .fi .LP .nf -\fBvoid\fR \fBpci_config_put32\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBoff_t\fR \fIoffset\fR, +\fBvoid\fR \fBpci_config_put32\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBoff_t\fR \fIoffset\fR, \fBuint32_t\fR \fIvalue\fR); .fi .LP .nf -\fBvoid\fR \fBpci_config_put64\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBoff_t\fR \fIoffset\fR, +\fBvoid\fR \fBpci_config_put64\fR(\fBddi_acc_handle_t\fR \fIhandle\fR, \fBoff_t\fR \fIoffset\fR, \fBuint64_t\fR \fIvalue\fR); .fi @@ -78,34 +78,28 @@ replaces \fBpci_config_putw()\fR. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIhandle\fR\fR .ad .RS 10n -.rt The data access handle returned from \fBpci_config_setup\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIoffset\fR\fR .ad .RS 10n -.rt Byte offset from the beginning of the \fBPCI \fRConfiguration space. .RE .sp .ne 2 -.mk .na \fB\fIvalue\fR\fR .ad .RS 10n -.rt Output data. .RE @@ -146,13 +140,12 @@ 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 StabilityT{ +Interface Stability T{ \fBpci_config_getb()\fR, \fBpci_config_getl()\fR, \fBpci_config_getll()\fR, \fBpci_config_getw()\fR, \fBpci_config_putb()\fR, \fBpci_config_putl()\fR, \fBpci_config_putll()\fR, \fBpci_config_putw()\fR are Obsolete \fBpci_config_get8()\fR, \fBpci_config_get16()\fR, \fBpci_config_get32()\fR, \fBpci_config_get64()\fR, \fBpci_config_put8()\fR, \fBpci_config_put16()\fR, \fBpci_config_put32()\fR, \fBpci_config_put64()\fR are Committed T} .TE diff --git a/usr/src/man/man9f/pci_config_setup.9f b/usr/src/man/man9f/pci_config_setup.9f index 8d432bd26a..5c02958d61 100644 --- a/usr/src/man/man9f/pci_config_setup.9f +++ b/usr/src/man/man9f/pci_config_setup.9f @@ -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 pci_config_setup 9F "1 Jan 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PCI_CONFIG_SETUP 9F "Jan 1, 1997" .SH NAME pci_config_setup, pci_config_teardown \- setup or tear down the resources for enabling accesses to the PCI Local Bus Configuration space @@ -11,7 +11,7 @@ enabling accesses to the PCI Local Bus Configuration space .LP .nf #include <sys/ddi.h> - #include <sys/sunddi.h> + #include <sys/sunddi.h> @@ -30,23 +30,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR \fR .ad .RS 11n -.rt Pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIhandle\fR \fR .ad .RS 11n -.rt Pointer to a data access handle. .RE @@ -63,23 +59,19 @@ by the data access handle returned from \fBpci_config_setup()\fR. \fBpci_config_setup()\fR returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR \fR .ad .RS 16n -.rt Successfully setup the resources. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR \fR .ad .RS 16n -.rt Unable to allocate resources for setup. .RE @@ -102,13 +94,12 @@ 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 _ -ArchitecturePCI Local Bus +Architecture PCI Local Bus .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/pci_ereport_setup.9f b/usr/src/man/man9f/pci_ereport_setup.9f index a4475f2f01..cab7d97a1a 100644 --- a/usr/src/man/man9f/pci_ereport_setup.9f +++ b/usr/src/man/man9f/pci_ereport_setup.9f @@ -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 pci_ereport_setup 9F "10 May 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PCI_EREPORT_SETUP 9F "May 10, 2007" .SH NAME pci_ereport_setup, pci_ereport_teardown, pci_ereport_post \- post error reports for the generic PCI errors logged in the PCI Configuration Status register. @@ -33,34 +33,28 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 10n -.rt Pointer to the \fBdev_info\fR structure of the devices .RE .sp .ne 2 -.mk .na \fB\fIdep\fR\fR .ad .RS 10n -.rt Pointer to DDI error status .RE .sp .ne 2 -.mk .na \fB\fIstatus\fR\fR .ad .RS 10n -.rt Pointer to status bit storage location .RE @@ -132,45 +126,37 @@ The \fBfme_flag\fR in the \fBerror_status\fR argument to the error handler callback function will contain one of the following: .sp .ne 2 -.mk .na \fB\fBDDI_FM_ERR_UNEXPECTED()\fR\fR .ad .RS 27n -.rt Any errors discovered are unexpected. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FM_ERR_EXPECTED()\fR\fR .ad .RS 25n -.rt Errors discovered were the result of a \fBDDI_ACC_CAUTIOUS\fR operation. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FM_ERR_POKE()\fR\fR .ad .RS 25n -.rt Errors discovered are the result of a \fBddi_poke\fR(9F) operation. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FM_ERR_PEEK()\fR\fR .ad .RS 25n -.rt Errors discovered are the result of a \fBddi_peek\fR(9F) operation. .RE @@ -194,35 +180,29 @@ structure pointed at by \fIdep\fR will have been updated, and the \fBfme_status\fR field contains one of the following values: .sp .ne 2 -.mk .na \fB\fBDDI_FM_OK\fR\fR .ad .RS 19n -.rt No errors were detected which might affect this device instance. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FM_FATAL\fR\fR .ad .RS 19n -.rt An error which is considered fatal to the operational state of the system was detected. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FM_NONFATAL\fR\fR .ad .RS 19n -.rt An error which is not considered fatal to the operational state of the system was detected. The \fBfme_acc_handle\fR or \fBfme_dma_handle\fR fields in the returned \fBddi_fm_error_t\fR structure will typically reference a handle that @@ -231,12 +211,10 @@ belongs to the device instance that has been affected. .sp .ne 2 -.mk .na \fB\fBDDI_FM_UNKNOWN\fR\fR .ad .RS 19n -.rt An error was detected, but the call was unable to determine the impact of the error on the operational state of the system. This is treated the same way as \fBDDI_FM_FATAL\fR unless some other device is able to evaluate the fault to be @@ -294,13 +272,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/pci_report_pmcap.9f b/usr/src/man/man9f/pci_report_pmcap.9f index f09bcea26a..d077596020 100644 --- a/usr/src/man/man9f/pci_report_pmcap.9f +++ b/usr/src/man/man9f/pci_report_pmcap.9f @@ -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 pci_report_pmcap 9F "13 August 1999" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PCI_REPORT_PMCAP 9F "Aug 13, 1999" .SH NAME pci_report_pmcap \- Report Power Management capability of a PCI device .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> #include <sys/sunddi.h> @@ -24,34 +24,28 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt Pointer to the device's \fBdev_info\fR structure .RE .sp .ne 2 -.mk .na \fB\fIcap\fR\fR .ad .RS 7n -.rt Power management capability .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 7n -.rt Argument for the capability .RE @@ -76,23 +70,19 @@ to \fB(void *)\fRbefore passing as \fBarg\fR to \fBpci_report_pmcap()\fR. The special values of \fBarg\fR are: .sp .ne 2 -.mk .na \fB\fBPCI_PM_IDLESPEED_ANY\fR\fR .ad .RS 25n -.rt The device can tolerate any idle clock speed. .RE .sp .ne 2 -.mk .na \fB\fBPCI_PM_IDLESPEED_NONE\fR\fR .ad .RS 25n -.rt The device cannot tolerate slowing down of PCI clock even when idle. .RE @@ -107,23 +97,19 @@ managed. The \fBpci_report_pmcap()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Successful reporting of the capability .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Failure to report capability because of invalid argument(s) .RE @@ -143,7 +129,7 @@ the following call from its \fBattach\fR(9E): .in +2 .nf if (pci_report_pmcap(dip, PCI_PM_IDLESPEED, PCI_PM_IDLESPEED_ANY) != - DDI_SUCCESS) + DDI_SUCCESS) cmn_err(CE_WARN, "%s%d: pci_report_pmcap failed\fB\en\fR", ddi_driver_name(dip), ddi_get_instance(dip)); .fi @@ -159,7 +145,7 @@ makes the following call whenever it negotiates a 100 Mb Ethernet connection: .in +2 .nf if (pci_report_pmcap(dip, PCI_PM_IDLESPEED, (void *)4000) != - DDI_SUCCESS) + DDI_SUCCESS) cmn_err(CE_WARN, "%s%d: pci_report_pmcap failed\fB\en\fR", ddi_driver_name(dip), ddi_get_instance(dip)); .fi @@ -173,13 +159,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/pci_save_config_regs.9f b/usr/src/man/man9f/pci_save_config_regs.9f index 14886cd362..49d2d2ff9c 100644 --- a/usr/src/man/man9f/pci_save_config_regs.9f +++ b/usr/src/man/man9f/pci_save_config_regs.9f @@ -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 pci_save_config_regs 9F "02 June 2000" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PCI_SAVE_CONFIG_REGS 9F "Jun 02, 2000" .SH NAME pci_save_config_regs, pci_restore_config_regs \- save and restore the PCI configuration registers @@ -30,12 +30,10 @@ Solaris DDI-specific (Solaris DDI). .SH ARGUMENTS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt Pointer to the device's \fBdev_info\fR structure. .RE @@ -57,23 +55,19 @@ entry point before powering a device off (to PCI state D3). Likewise, \fBpci_save_config_regs()\fR and \fBpci_restore_config_regs()\fR return: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Operation completed successfully. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Operation failed to complete successfully. .RE @@ -118,12 +112,12 @@ xx_power(dev_info_t *dip, int component, int level) { */ ... rval = DDI_FAILURE; - } + } else { XX_POWER_OFF(xx); } break; - + default: rval = DDI_FAILURE; break; @@ -143,13 +137,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/physio.9f b/usr/src/man/man9f/physio.9f index 24599602dc..14957980b4 100644 --- a/usr/src/man/man9f/physio.9f +++ b/usr/src/man/man9f/physio.9f @@ -4,7 +4,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 physio 9F "2 Apr 1993" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PHYSIO 9F "Apr 2, 1993" .SH NAME physio, minphys \- perform physical I/O .SH SYNOPSIS @@ -16,7 +16,7 @@ physio, minphys \- perform physical I/O -\fBint\fR \fBphysio\fR(\fBint\fR(\fI*strat\fR)(\fIstruct buf *\fR), \fBstruct buf\fR \fI*bp\fR, \fBdev_t\fR \fIdev\fR, +\fBint\fR \fBphysio\fR(\fBint\fR(\fI*strat\fR)(\fIstruct buf *\fR), \fBstruct buf\fR \fI*bp\fR, \fBdev_t\fR \fIdev\fR, \fBint\fR \fIrw\fR, \fBvoid\fR (\fI*mincnt\fR)(\fIstruct buf *\fR), \fBstruct uio\fR \fI*uio\fR); .fi @@ -33,23 +33,19 @@ Solaris DDI specific (Solaris DDI). .SS "\fBphysio()\fR" .sp .ne 2 -.mk .na \fB\fIstrat\fR \fR .ad .RS 11n -.rt Pointer to device strategy routine. .RE .sp .ne 2 -.mk .na \fB\fIbp\fR \fR .ad .RS 11n -.rt Pointer to a \fBbuf\fR(9S) structure describing the transfer. If \fIbp\fR is set to \fINULL\fR then \fBphysio()\fR allocates one which is automatically released upon completion. @@ -57,58 +53,48 @@ released upon completion. .sp .ne 2 -.mk .na \fB\fIdev\fR \fR .ad .RS 11n -.rt The device number. .RE .sp .ne 2 -.mk .na \fB\fIrw\fR \fR .ad .RS 11n -.rt Read/write flag. This is either \fBB_READ\fR when reading from the device, or \fBB_WRITE\fR when writing to the device. .RE .sp .ne 2 -.mk .na \fB\fImincnt\fR \fR .ad .RS 11n -.rt Routine which bounds the maximum transfer unit size. .RE .sp .ne 2 -.mk .na \fB\fIuio\fR \fR .ad .RS 11n -.rt Pointer to the \fBuio\fR structure which describes the user \fBI/O\fR request. .RE .SS "\fBminphys()\fR" .sp .ne 2 -.mk .na \fB\fIbp\fR \fR .ad .RS 7n -.rt Pointer to a \fBbuf\fR structure. .RE @@ -146,23 +132,19 @@ not exceed the system limit. \fBphysio()\fR returns: .sp .ne 2 -.mk .na \fB\fB0\fR \fR .ad .RS 12n -.rt Upon success. .RE .sp .ne 2 -.mk .na \fB\fBnon-zero\fR\fR .ad .RS 12n -.rt Upon failure. .RE diff --git a/usr/src/man/man9f/pm_busy_component.9f b/usr/src/man/man9f/pm_busy_component.9f index cad2833872..0221e06fac 100644 --- a/usr/src/man/man9f/pm_busy_component.9f +++ b/usr/src/man/man9f/pm_busy_component.9f @@ -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 pm_busy_component 9F "21 July 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PM_BUSY_COMPONENT 9F "Jul 21, 2004" .SH NAME pm_busy_component, pm_idle_component \- control device component availability for Power Management @@ -30,23 +30,19 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 13n -.rt Pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIcomponent\fR\fR .ad .RS 13n -.rt The number of the component to be power-managed. .RE @@ -77,23 +73,19 @@ functions must be called from the same thread which entered \fBattach\fR(9E), The \fBpm_busy_component()\fR and \fBpm_idle_component()\fR functions return: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt Successfully set the indicated component busy or idle. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Invalid component number \fIcomponent\fR or the device has no components. .RE @@ -111,13 +103,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/pm_power_has_changed.9f b/usr/src/man/man9f/pm_power_has_changed.9f index 5a441c8d78..17d4599ab8 100644 --- a/usr/src/man/man9f/pm_power_has_changed.9f +++ b/usr/src/man/man9f/pm_power_has_changed.9f @@ -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 pm_power_has_changed 9F "22 July 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PM_POWER_HAS_CHANGED 9F "Jul 22, 2004" .SH NAME pm_power_has_changed \- Notify Power Management framework of autonomous power level change @@ -23,34 +23,28 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt Pointer to the device \fBdev_info\fR structure .RE .sp .ne 2 -.mk .na \fB\fIcomponent\fR\fR .ad .RS 13n -.rt Number of the component that has changed power level .RE .sp .ne 2 -.mk .na \fB\fIlevel\fR\fR .ad .RS 9n -.rt Power level to which the indicated component has changed .RE @@ -95,23 +89,19 @@ function must be called from the same thread which entered \fBattach\fR(9E), The \fBpm_power_has_changed()\fR function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt The power level of component was successfully updated to \fIlevel\fR. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt Invalid component \fIcomponent\fR or power level \fIlevel\fR. .RE @@ -166,7 +156,7 @@ xxdisk_power(dev_info *dip, int comp, int level) mutex_enter( xsp->lock); ... - + ... } @@ -181,13 +171,12 @@ See \fBattributes\fR(5) for a description 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/pm_raise_power.9f b/usr/src/man/man9f/pm_raise_power.9f index c551b02aec..9fd65bab63 100644 --- a/usr/src/man/man9f/pm_raise_power.9f +++ b/usr/src/man/man9f/pm_raise_power.9f @@ -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 pm_raise_power 9F "22 March 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PM_RAISE_POWER 9F "Mar 22, 2005" .SH NAME pm_raise_power, pm_lower_power \- Raise or lower power of components .SH SYNOPSIS @@ -28,68 +28,56 @@ Solaris DDI specific (Solaris DDI) .SS "pm_raise_power" .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 13n -.rt Pointer to the device's \fBdev_info\fR structure .RE .sp .ne 2 -.mk .na \fB\fIcomponent\fR\fR .ad .RS 13n -.rt The number of the \fIcomponent\fR for which a power level change is desired .RE .sp .ne 2 -.mk .na \fB\fIlevel\fR\fR .ad .RS 13n -.rt The power level to which the indicated \fIcomponent\fR will be raised .RE .SS "pm_lower_power" .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 13n -.rt Pointer to the device's \fBdev_info\fR structure .RE .sp .ne 2 -.mk .na \fB\fIcomponent\fR\fR .ad .RS 13n -.rt Number of the \fIcomponent\fR for which a power level change is desired .RE .sp .ne 2 -.mk .na \fB\fIlevel\fR\fR .ad .RS 13n -.rt Power level to which the indicated \fIcomponent\fR will be lowered .RE @@ -162,23 +150,19 @@ functions must be called from the same thread which entered \fBattach\fR(9E), The \fBpm_raise_power\fR(9F) function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt \fIComponent\fR is now at the requested power level or higher. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt \fIComponent \fRor \fIlevel\fR is out of range, or the framework was unable to raise the power level of the component to the requested level. .RE @@ -188,24 +172,20 @@ raise the power level of the component to the requested level. The \fBpm_lower_power\fR(9F) function returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt \fI Component \fR is now at the requested power level or lower, or automatic Power Management is disabled. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt \fI Component \fR or \fIlevel\fR is out of range, or the framework was unable to lower the power level of the component to the requested level, or the device is not detaching. @@ -269,7 +249,7 @@ xxdisk_power(dev_info *dip, int comp, int level) /* * We fail the power() entry point if the device is busy and * request is to lower the power level. - + */ ASSERT(mutex_owned( xsp->lock)); @@ -279,7 +259,7 @@ xxdisk_power(dev_info *dip, int comp, int level) return (DDI_FAILURE); } } - + \&... } @@ -298,13 +278,12 @@ See \fBattributes\fR(5) for a description of the following attribute: .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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/pm_trans_check.9f b/usr/src/man/man9f/pm_trans_check.9f index 621bf63074..b40063d458 100644 --- a/usr/src/man/man9f/pm_trans_check.9f +++ b/usr/src/man/man9f/pm_trans_check.9f @@ -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 pm_trans_check 9F "16 Jul 2009" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PM_TRANS_CHECK 9F "Jul 16, 2009" .SH NAME pm_trans_check \- Device power cycle advisory check .SH SYNOPSIS @@ -21,23 +21,19 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdatap\fR\fR .ad .RS 9n -.rt Pointer to a \fBpm_trans_data\fR structure .RE .sp .ne 2 -.mk .na \fB\fIintervalp\fR\fR .ad .RS 13n -.rt Pointer to time difference when next power cycle will be advised .RE @@ -102,34 +98,28 @@ struct pm_trans_data { .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 6n -.rt Power cycle is advised. .RE .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 6n -.rt Power cycle is not advised. .RE .sp .ne 2 -.mk .na \fB\fB-1\fR\fR .ad .RS 6n -.rt Error due to invalid argument. .RE @@ -141,13 +131,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/pollwakeup.9f b/usr/src/man/man9f/pollwakeup.9f index c3ca1eb818..00b20d8da7 100644 --- a/usr/src/man/man9f/pollwakeup.9f +++ b/usr/src/man/man9f/pollwakeup.9f @@ -4,7 +4,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 pollwakeup 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH POLLWAKEUP 9F "Jan 16, 2006" .SH NAME pollwakeup \- inform a process that an event has occurred .SH SYNOPSIS @@ -24,23 +24,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIphp\fR\fR .ad .RS 9n -.rt Pointer to a \fBpollhead\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIevent\fR\fR .ad .RS 9n -.rt Event to notify the process about. .RE diff --git a/usr/src/man/man9f/priv_getbyname.9f b/usr/src/man/man9f/priv_getbyname.9f index a7dd1a9700..b817b0d7f3 100644 --- a/usr/src/man/man9f/priv_getbyname.9f +++ b/usr/src/man/man9f/priv_getbyname.9f @@ -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 priv_getbyname 9F "11 Mar 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PRIV_GETBYNAME 9F "Mar 11, 2004" .SH NAME priv_getbyname \- map a privilege name to a number .SH SYNOPSIS @@ -23,23 +23,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIpriv\fR\fR .ad .RS 9n -.rt name of the privilege .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 9n -.rt flags, must be zero or \fBPRIV_ALLOC\fR .RE @@ -72,12 +68,10 @@ This function returns the privilege number, which is greater than or equal to .SH ERRORS .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 16n -.rt This might be caused by any of the following .RS +4 .TP @@ -101,23 +95,19 @@ The \fIpriv\fR parameter contains invalid characters. .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 16n -.rt There is no room to allocate another privilege. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt An attempt was made to allocate a privilege that was longer than \fB{PRIVNAME_MAX}\fR characters. .RE @@ -134,15 +124,14 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -ArchitectureAll +Architecture All _ -Interface StabilityCommitted +Interface Stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/priv_policy.9f b/usr/src/man/man9f/priv_policy.9f index 19e66bf565..9178229d8d 100644 --- a/usr/src/man/man9f/priv_policy.9f +++ b/usr/src/man/man9f/priv_policy.9f @@ -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 priv_policy 9F "3 Apr 2009" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PRIV_POLICY 9F "Apr 3, 2009" .SH NAME priv_policy, priv_policy_only, priv_policy_choice \- check, report, and audit privileges @@ -35,34 +35,28 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIcr\fR\fR .ad .RS 8n -.rt The credential to be checked. .RE .sp .ne 2 -.mk .na \fB\fIpriv\fR\fR .ad .RS 8n -.rt The integer value of the privilege to test. .RE .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 8n -.rt All zone privileges flag. Set to \fBB_FALSE\fR for most tests or \fBB_TRUE\fR if the operation requires the caller to have all available privileges in the zone. @@ -70,23 +64,19 @@ zone. .sp .ne 2 -.mk .na \fB\fIerr\fR\fR .ad .RS 8n -.rt The error code to return. .RE .sp .ne 2 -.mk .na \fB\fImsg\fR\fR .ad .RS 8n -.rt String that is added to the privilege debugging message if one is generated. NULL if no additional information is needed. Because the function name is included in the output, NULL is usually the best value to pass as a parameter. @@ -127,12 +117,10 @@ on failure both return 0. .SH ERRORS .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 16n -.rt This might be caused by any of the following: .RS +4 .TP @@ -156,23 +144,19 @@ The \fIpriv\fR parameter contains invalid characters. .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 16n -.rt There is no room to allocate another privilege. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt An attempt was made to allocate a privilege that was longer than \fB{PRIVNAME_MAX}\fR characters. .RE @@ -189,13 +173,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/proc_signal.9f b/usr/src/man/man9f/proc_signal.9f index 469b75ee52..27b5f99034 100644 --- a/usr/src/man/man9f/proc_signal.9f +++ b/usr/src/man/man9f/proc_signal.9f @@ -4,7 +4,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 proc_signal 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PROC_SIGNAL 9F "Jan 16, 2006" .SH NAME proc_signal, proc_ref, proc_unref \- send a signal to a process .SH SYNOPSIS @@ -36,23 +36,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIpref\fR\fR .ad .RS 8n -.rt A handle for the process to be signalled. .RE .sp .ne 2 -.mk .na \fB\fIsig\fR\fR .ad .RS 8n -.rt Signal number to be sent to the process. .RE @@ -69,78 +65,64 @@ referenced process. The following set of signals may be sent to a process from a driver: .sp .ne 2 -.mk .na \fB\fBSIGHUP\fR\fR .ad .RS 12n -.rt The device has been disconnected. .RE .sp .ne 2 -.mk .na \fB\fBSIGINT\fR\fR .ad .RS 12n -.rt The interrupt character has been received. .RE .sp .ne 2 -.mk .na \fB\fBSIGQUIT\fR\fR .ad .RS 12n -.rt The quit character has been received. .RE .sp .ne 2 -.mk .na \fB\fBSIGPOLL\fR\fR .ad .RS 12n -.rt A pollable event has occurred. .RE .sp .ne 2 -.mk .na \fB\fBSIGKILL\fR\fR .ad .RS 12n -.rt Kill the process (cannot be caught or ignored). .RE .sp .ne 2 -.mk .na \fB\fBSIGWINCH\fR\fR .ad .RS 12n -.rt Window size change. .RE .sp .ne 2 -.mk .na \fB\fBSIGURG\fR\fR .ad .RS 12n -.rt Urgent data are available. .RE @@ -162,12 +144,10 @@ there is exactly one corresponding call to \fBproc_unref()\fR. The \fBproc_ref()\fR returns the following: .sp .ne 2 -.mk .na \fB\fIpref\fR\fR .ad .RS 8n -.rt An opaque handle used to refer to the current process. .RE @@ -176,23 +156,19 @@ An opaque handle used to refer to the current process. The \fBproc_signal()\fR returns the following: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 6n -.rt The process existed before the signal was sent. .RE .sp .ne 2 -.mk .na \fB\fB-1\fR\fR .ad .RS 6n -.rt The process no longer exists; no signal was sent. .RE diff --git a/usr/src/man/man9f/ptob.9f b/usr/src/man/man9f/ptob.9f index c15b0ff50b..7b059a9873 100644 --- a/usr/src/man/man9f/ptob.9f +++ b/usr/src/man/man9f/ptob.9f @@ -4,7 +4,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 ptob 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PTOB 9F "Jan 16, 2006" .SH NAME ptob \- convert size in pages to size in bytes .SH SYNOPSIS @@ -24,12 +24,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fInumpages\fR\fR .ad .RS 12n -.rt Size in number of pages to convert to size in bytes. .RE diff --git a/usr/src/man/man9f/pullupmsg.9f b/usr/src/man/man9f/pullupmsg.9f index 86a8522e2e..3eb7a20dec 100644 --- a/usr/src/man/man9f/pullupmsg.9f +++ b/usr/src/man/man9f/pullupmsg.9f @@ -1,10 +1,10 @@ '\" te -.\" Copyright 1989 AT&T +.\" Copyright 1989 AT&T .\" Copyright (c) 2006, Sun Microsystems, Inc., All Rights Reserved .\" 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 pullupmsg 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PULLUPMSG 9F "Jan 16, 2006" .SH NAME pullupmsg \- concatenate bytes in a message .SH SYNOPSIS @@ -24,24 +24,20 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 7n -.rt Pointer to the message whose blocks are to be concatenated. \fBmblk_t\fR is an instance of the \fBmsgb\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 7n -.rt Number of bytes to concatenate. .RE @@ -79,7 +75,7 @@ processing messages on the queue. .sp .in +2 .nf - + 1 xxxwsrv(q) 2 queue_t *q; 3 { diff --git a/usr/src/man/man9f/put.9f b/usr/src/man/man9f/put.9f index 416223c2ec..97afb2db9c 100644 --- a/usr/src/man/man9f/put.9f +++ b/usr/src/man/man9f/put.9f @@ -4,7 +4,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 put 9F "28 Apr 1992" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PUT 9F "Apr 28, 1992" .SH NAME put \- call a STREAMS put procedure .SH SYNOPSIS @@ -25,23 +25,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR \fR .ad .RS 7n -.rt Pointer to a STREAMS queue. .RE .sp .ne 2 -.mk .na \fB\fImp\fR \fR .ad .RS 7n -.rt Pointer to message block being passed into queue. .RE diff --git a/usr/src/man/man9f/putbq.9f b/usr/src/man/man9f/putbq.9f index f33df268d5..c6809fcf84 100644 --- a/usr/src/man/man9f/putbq.9f +++ b/usr/src/man/man9f/putbq.9f @@ -4,7 +4,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 putbq 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PUTBQ 9F "Jan 16, 2006" .SH NAME putbq \- place a message at the head of a queue .SH SYNOPSIS @@ -24,23 +24,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 6n -.rt Pointer to the queue. .RE .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 6n -.rt Pointer to the message block. .RE diff --git a/usr/src/man/man9f/putctl.9f b/usr/src/man/man9f/putctl.9f index 09f80eb4e6..c0ba830f3e 100644 --- a/usr/src/man/man9f/putctl.9f +++ b/usr/src/man/man9f/putctl.9f @@ -4,7 +4,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 putctl 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PUTCTL 9F "Jan 16, 2006" .SH NAME putctl \- send a control message to a queue .SH SYNOPSIS @@ -24,23 +24,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 8n -.rt Queue to which the message is to be sent. .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 8n -.rt Message type (must be control, not data type). .RE diff --git a/usr/src/man/man9f/putctl1.9f b/usr/src/man/man9f/putctl1.9f index 0caceb0131..f81c2660a7 100644 --- a/usr/src/man/man9f/putctl1.9f +++ b/usr/src/man/man9f/putctl1.9f @@ -5,7 +5,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 putctl1 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PUTCTL1 9F "Jan 16, 2006" .SH NAME putctl1 \- send a control message with a one-byte parameter to a queue .SH SYNOPSIS @@ -25,34 +25,28 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 8n -.rt Queue to which the message is to be sent. .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 8n -.rt Type of message. .RE .sp .ne 2 -.mk .na \fB\fIp\fR\fR .ad .RS 8n -.rt One-byte parameter. .RE diff --git a/usr/src/man/man9f/putnext.9f b/usr/src/man/man9f/putnext.9f index 74adb334bd..5baf0fb3fd 100644 --- a/usr/src/man/man9f/putnext.9f +++ b/usr/src/man/man9f/putnext.9f @@ -4,7 +4,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 putnext 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PUTNEXT 9F "Jan 16, 2006" .SH NAME putnext \- send a message to the next queue .SH SYNOPSIS @@ -25,23 +25,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 6n -.rt Pointer to the queue from which the message \fImp\fR will be sent. .RE .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 6n -.rt Message to be passed. .RE diff --git a/usr/src/man/man9f/putnextctl.9f b/usr/src/man/man9f/putnextctl.9f index 24b595a838..a8eaee82ee 100644 --- a/usr/src/man/man9f/putnextctl.9f +++ b/usr/src/man/man9f/putnextctl.9f @@ -4,7 +4,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 putnextctl 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PUTNEXTCTL 9F "Jan 16, 2006" .SH NAME putnextctl \- send a control message to a queue .SH SYNOPSIS @@ -24,23 +24,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 8n -.rt Queue to which the message is to be sent. .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 8n -.rt Message type (must be control, not data type). .RE diff --git a/usr/src/man/man9f/putnextctl1.9f b/usr/src/man/man9f/putnextctl1.9f index b0cc02d915..6e6a214488 100644 --- a/usr/src/man/man9f/putnextctl1.9f +++ b/usr/src/man/man9f/putnextctl1.9f @@ -1,11 +1,11 @@ '\" te -.\" Copyright 1989 AT&T +.\" Copyright 1989 AT&T .\" Copyright (c) 2006, Sun Microsystems, Inc., .\" All Rights Reserved .\" 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 putnextctl1 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PUTNEXTCTL1 9F "Jan 16, 2006" .SH NAME putnextctl1 \- send a control message with a one-byte parameter to a queue .SH SYNOPSIS @@ -25,34 +25,28 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 8n -.rt Queue to which the message is to be sent. .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 8n -.rt Type of message. .RE .sp .ne 2 -.mk .na \fB\fIp\fR\fR .ad .RS 8n -.rt One-byte parameter. .RE diff --git a/usr/src/man/man9f/putq.9f b/usr/src/man/man9f/putq.9f index 01dd68f5ec..5ced18cc4d 100644 --- a/usr/src/man/man9f/putq.9f +++ b/usr/src/man/man9f/putq.9f @@ -4,7 +4,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 putq 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH PUTQ 9F "Jan 16, 2006" .SH NAME putq \- put a message on a queue .SH SYNOPSIS @@ -24,23 +24,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 6n -.rt Pointer to the queue to which the message is to be added. .RE .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 6n -.rt Message to be put on the queue. .RE diff --git a/usr/src/man/man9f/qassociate.9f b/usr/src/man/man9f/qassociate.9f index 7ec16c581a..4f2c4eb591 100644 --- a/usr/src/man/man9f/qassociate.9f +++ b/usr/src/man/man9f/qassociate.9f @@ -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 qassociate 9F "01 Feb 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH QASSOCIATE 9F "Feb 01, 2007" .SH NAME qassociate \- associate STREAMS queue with driver instance .SH SYNOPSIS @@ -25,24 +25,20 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fBqueue_t *\fIq\fR\fR .ad .RS 16n -.rt Pointer to a \fBqueue\fR(9S) structure. Either the read or write queue can be used. .RE .sp .ne 2 -.mk .na \fBint \fIinstance\fR\fR .ad .RS 16n -.rt Driver instance number or -1. .RE @@ -86,23 +82,19 @@ entry point. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 6n -.rt Success. .RE .sp .ne 2 -.mk .na \fB\fB-1\fR\fR .ad .RS 6n -.rt Failure. .RE diff --git a/usr/src/man/man9f/qbufcall.9f b/usr/src/man/man9f/qbufcall.9f index 1d6fd0d2a5..2c9dbb0e1d 100644 --- a/usr/src/man/man9f/qbufcall.9f +++ b/usr/src/man/man9f/qbufcall.9f @@ -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 qbufcall 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH QBUFCALL 9F "Jan 16, 2006" .SH NAME qbufcall \- call a function when a buffer becomes available .SH SYNOPSIS @@ -14,7 +14,7 @@ qbufcall \- call a function when a buffer becomes available -\fBbufcall_id_t\fR \fBqbufcall\fR(\fBqueue_t *\fR\fIq\fR, \fBsize_t\fR \fIsize\fR, \fBuint_t\fR \fIpri\fR, +\fBbufcall_id_t\fR \fBqbufcall\fR(\fBqueue_t *\fR\fIq\fR, \fBsize_t\fR \fIsize\fR, \fBuint_t\fR \fIpri\fR, \fBvoid\fR(\fI*func\fR)(\fBvoid\fR \fI*arg\fR), \fBvoid\fR \fI*arg\fR); .fi @@ -25,56 +25,46 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 8n -.rt Pointer to \fBSTREAMS \fRqueue structure. .RE .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 8n -.rt Number of bytes required for the buffer. .RE .sp .ne 2 -.mk .na \fB\fIpri\fR\fR .ad .RS 8n -.rt Priority of the \fBallocb\fR(9F) allocation request (not used). .RE .sp .ne 2 -.mk .na \fB\fIfunc\fR\fR .ad .RS 8n -.rt Function or driver routine to be called when a buffer becomes available. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 8n -.rt Argument to the function to be called when a buffer becomes available. .RE diff --git a/usr/src/man/man9f/qenable.9f b/usr/src/man/man9f/qenable.9f index 40926a81cd..245eca50aa 100644 --- a/usr/src/man/man9f/qenable.9f +++ b/usr/src/man/man9f/qenable.9f @@ -4,7 +4,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 qenable 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH QENABLE 9F "Jan 16, 2006" .SH NAME qenable \- enable a queue .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 5n -.rt Pointer to the queue to be enabled. .RE diff --git a/usr/src/man/man9f/qprocson.9f b/usr/src/man/man9f/qprocson.9f index a890db7568..aca781cbaf 100644 --- a/usr/src/man/man9f/qprocson.9f +++ b/usr/src/man/man9f/qprocson.9f @@ -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 qprocson 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH QPROCSON 9F "Jan 16, 2006" .SH NAME qprocson, qprocsoff \- enable, disable put and service routines .SH SYNOPSIS .LP .nf -#include <sys/stream.h> -#include <sys/ddi.h> +#include <sys/stream.h> +#include <sys/ddi.h> \fBvoid\fR \fBqprocson\fR(\fBqueue_t *\fR\fIq\fR); .fi @@ -27,12 +27,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 5n -.rt Pointer to the \fBRD\fR side of a streams queue pair. .RE diff --git a/usr/src/man/man9f/qreply.9f b/usr/src/man/man9f/qreply.9f index 57a48cb770..03ae199558 100644 --- a/usr/src/man/man9f/qreply.9f +++ b/usr/src/man/man9f/qreply.9f @@ -4,7 +4,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 qreply 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH QREPLY 9F "Jan 16, 2006" .SH NAME qreply \- send a message on a stream in the reverse direction .SH SYNOPSIS @@ -24,23 +24,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 6n -.rt Pointer to the queue. .RE .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 6n -.rt Pointer to the message to be sent in the opposite direction. .RE diff --git a/usr/src/man/man9f/qsize.9f b/usr/src/man/man9f/qsize.9f index e5125c48a9..fcbb8b41dd 100644 --- a/usr/src/man/man9f/qsize.9f +++ b/usr/src/man/man9f/qsize.9f @@ -4,7 +4,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 qsize 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH QSIZE 9F "Jan 16, 2006" .SH NAME qsize \- find the number of messages on a queue .SH SYNOPSIS @@ -24,12 +24,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 5n -.rt Queue to be evaluated. .RE diff --git a/usr/src/man/man9f/qtimeout.9f b/usr/src/man/man9f/qtimeout.9f index 276689735f..b120ffd6e5 100644 --- a/usr/src/man/man9f/qtimeout.9f +++ b/usr/src/man/man9f/qtimeout.9f @@ -4,7 +4,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 qtimeout 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH QTIMEOUT 9F "Jan 16, 2006" .SH NAME qtimeout \- execute a function after a specified length of time .SH SYNOPSIS @@ -14,7 +14,7 @@ qtimeout \- execute a function after a specified length of time #include <sys/ddi.h> -\fBtimeout_id_t\fR \fBqtimeout\fR(\fBqueue_t *\fR\fIq\fR, \fBvoid\fR (\fI*func\fR)(\fIvoid *\fR), +\fBtimeout_id_t\fR \fBqtimeout\fR(\fBqueue_t *\fR\fIq\fR, \fBvoid\fR (\fI*func\fR)(\fIvoid *\fR), \fBvoid\fR \fI*arg\fR, \fBclock_t\fR \fIticks\fR); .fi @@ -25,45 +25,37 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 9n -.rt Pointer to \fBSTREAMS\fR queue structure. .RE .sp .ne 2 -.mk .na \fB\fIfunc\fR\fR .ad .RS 9n -.rt Kernel function to invoke when the time increment expires. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 9n -.rt Argument to the function. .RE .sp .ne 2 -.mk .na \fB\fIticks\fR\fR .ad .RS 9n -.rt Number of clock ticks to wait before the function is called. Use \fBdrv_usectohz\fR(9F) to convert microseconds to clock ticks. .RE diff --git a/usr/src/man/man9f/qunbufcall.9f b/usr/src/man/man9f/qunbufcall.9f index 13165f5ace..d61f4a0f0a 100644 --- a/usr/src/man/man9f/qunbufcall.9f +++ b/usr/src/man/man9f/qunbufcall.9f @@ -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 qunbufcall 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH QUNBUFCALL 9F "Jan 16, 2006" .SH NAME qunbufcall \- cancel a pending qbufcall request .SH SYNOPSIS @@ -11,7 +11,7 @@ qunbufcall \- cancel a pending qbufcall request .nf #include <sys/stream.h> #include <sys/ddi.h> - + \fBvoid\fR \fBqunbufcall\fR(\fBqueue_t *\fR\fIq\fR, \fBbufcall_id_t\fR \fIid\fR); .fi @@ -23,23 +23,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 6n -.rt Pointer to \fBSTREAMS\fR queue_t structure. .RE .sp .ne 2 -.mk .na \fB\fIid\fR\fR .ad .RS 6n -.rt Identifier returned from \fBqbufcall\fR(9F). .RE diff --git a/usr/src/man/man9f/quntimeout.9f b/usr/src/man/man9f/quntimeout.9f index 29a27d34ab..a5afa3e416 100644 --- a/usr/src/man/man9f/quntimeout.9f +++ b/usr/src/man/man9f/quntimeout.9f @@ -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 quntimeout 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH QUNTIMEOUT 9F "Jan 16, 2006" .SH NAME quntimeout \- cancel previous qtimeout function call .SH SYNOPSIS .LP .nf -#include <sys/stream.h> -#include <sys/ddi.h> +#include <sys/stream.h> +#include <sys/ddi.h> @@ -24,23 +24,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 6n -.rt Pointer to a \fBSTREAMS \fRqueue structure. .RE .sp .ne 2 -.mk .na \fB\fIid\fR\fR .ad .RS 6n -.rt Opaque timeout \fBID\fR a previous \fBqtimeout\fR(9F) call. .RE diff --git a/usr/src/man/man9f/qwait.9f b/usr/src/man/man9f/qwait.9f index 7dbc01f954..9c64aec997 100644 --- a/usr/src/man/man9f/qwait.9f +++ b/usr/src/man/man9f/qwait.9f @@ -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 qwait 9F "15 Dec 2003" "SunOS 5.11" "Kernel Functions for Drivers" +.TH QWAIT 9F "Dec 15, 2003" .SH NAME qwait, qwait_sig \- STREAMS wait routines .SH SYNOPSIS .LP .nf -#include <sys/stream.h> -#include <sys/ddi.h> +#include <sys/stream.h> +#include <sys/ddi.h> @@ -29,12 +29,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIqp\fR\fR .ad .RS 6n -.rt Pointer to the queue that is being opened or closed. .RE @@ -85,12 +83,10 @@ perimeter. See \fBcondvar\fR(9F). .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 5n -.rt For \fBqwait_sig()\fR, indicates that the condition was not necessarily signaled, and the function returned because a signal was pending. .RE diff --git a/usr/src/man/man9f/qwriter.9f b/usr/src/man/man9f/qwriter.9f index 50d0189aff..7920cfa753 100644 --- a/usr/src/man/man9f/qwriter.9f +++ b/usr/src/man/man9f/qwriter.9f @@ -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 qwriter 9F "1 Mar 1993" "SunOS 5.11" "Kernel Functions for Drivers" +.TH QWRITER 9F "Mar 1, 1993" .SH NAME qwriter \- asynchronous STREAMS perimeter upgrade .SH SYNOPSIS .LP .nf #include <sys/stream.h> -#include <sys/ddi.h> +#include <sys/ddi.h> @@ -24,46 +24,38 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIqp\fR \fR .ad .RS 14n -.rt Pointer to the queue. .RE .sp .ne 2 -.mk .na \fB\fImp\fR \fR .ad .RS 14n -.rt Pointer to a message that will be passed in to the callback function. .RE .sp .ne 2 -.mk .na \fB\fIfunc\fR \fR .ad .RS 14n -.rt A function that will be called when exclusive (writer) access has been acquired at the specified perimeter. .RE .sp .ne 2 -.mk .na \fB\fIperimeter\fR \fR .ad .RS 14n -.rt Either \fBPERIM_INNER\fR or \fBPERIM_OUTER\fR. .RE diff --git a/usr/src/man/man9f/rmalloc.9f b/usr/src/man/man9f/rmalloc.9f index 85f9767401..fc522fcfbe 100644 --- a/usr/src/man/man9f/rmalloc.9f +++ b/usr/src/man/man9f/rmalloc.9f @@ -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 rmalloc 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH RMALLOC 9F "Jan 16, 2006" .SH NAME rmalloc \- allocate space from a resource map .SH SYNOPSIS @@ -24,23 +24,19 @@ Architecture independent level 1 (\fBDDI/DKI\fR). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 8n -.rt Resource map from where the resource is drawn. .RE .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 8n -.rt Number of units of the resource. .RE @@ -53,45 +49,37 @@ calling the function \fBrmallocmap\fR(9F). \fBrmalloc()\fR is one of five functions used for resource map management. The other functions include: .sp .ne 2 -.mk .na \fB\fBrmalloc_wait\fR(9F)\fR .ad .RS 20n -.rt Allocate space from a resource map, wait if necessary. .RE .sp .ne 2 -.mk .na \fB\fBrmfree\fR(9F)\fR .ad .RS 20n -.rt Return previously allocated space to a map. .RE .sp .ne 2 -.mk .na \fB\fBrmallocmap\fR(9F)\fR .ad .RS 20n -.rt Allocate a resource map and initialize it. .RE .sp .ne 2 -.mk .na \fB\fBrmfreemap\fR(9F)\fR .ad .RS 20n -.rt Deallocate a resource map. .RE @@ -150,26 +138,26 @@ and \fBrmfree\fR(9F) to initialize the total resource area. .\|.\|. 4 xxstart(\|) 5 /* -6 * Allocate private buffer. If insufficient memory, +6 * Allocate private buffer. If insufficient memory, 7 * display message and halt system. 8 */ 9 { 10 register caddr_t bp; .\|.\|. -11 if ((bp = kmem_alloc(XX_BUFSIZE, KM_NOSLEEP) == 0) { -12 +11 if ((bp = kmem_alloc(XX_BUFSIZE, KM_NOSLEEP) == 0) { +12 13 cmn_err(CE_PANIC, "xxstart: kmem_alloc failed before %d buffer" 14 "allocation", XX_BUFSIZE); 15 } 16 -17 /* -18 * Initialize the resource map with number +17 /* +18 * Initialize the resource map with number 19 * of slots in map. 20 */ 21 xx_mp = rmallocmap(XX_MAPSIZE); 22 24 /* -25 * Initialize space management map with total +25 * Initialize space management map with total 26 * buffer area it is to manage. 27 */ 28 rmfree(xx_mp, XX_BUFSIZE, bp); @@ -230,7 +218,7 @@ returned. ... 5 xxread(dev_t dev, uio_t *uiop, cred_t *credp) 6 { -7 +7 8 register caddr_t addr; 9 register int size; 10 size = min(COUNT, XX_MAXSIZE); /* Break large I/O */ diff --git a/usr/src/man/man9f/rmalloc_wait.9f b/usr/src/man/man9f/rmalloc_wait.9f index 87eba9f3cd..46a3bd8d33 100644 --- a/usr/src/man/man9f/rmalloc_wait.9f +++ b/usr/src/man/man9f/rmalloc_wait.9f @@ -4,7 +4,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 rmalloc_wait 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH RMALLOC_WAIT 9F "Jan 16, 2006" .SH NAME rmalloc_wait \- allocate space from a resource map, wait if necessary .SH SYNOPSIS @@ -25,23 +25,19 @@ Architecture independent level 1 (\fBDDI/DKI\fR). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 8n -.rt Pointer to the resource map from which space is to be allocated. .RE .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 8n -.rt Number of units of space to allocate. .RE diff --git a/usr/src/man/man9f/rmallocmap.9f b/usr/src/man/man9f/rmallocmap.9f index 96e204078b..6f04677ea1 100644 --- a/usr/src/man/man9f/rmallocmap.9f +++ b/usr/src/man/man9f/rmallocmap.9f @@ -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 rmallocmap 9F "20 Nov 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH RMALLOCMAP 9F "Nov 20, 1996" .SH NAME rmallocmap, rmallocmap_wait, rmfreemap \- allocate and free resource maps .SH SYNOPSIS @@ -34,23 +34,19 @@ Architecture independent level 1 (\fBDDI/DKI\fR). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImapsize\fR \fR .ad .RS 12n -.rt Number of entries for the map. .RE .sp .ne 2 -.mk .na \fB\fImp\fR \fR .ad .RS 12n -.rt A pointer to the map structure to be deallocated. .RE diff --git a/usr/src/man/man9f/rmfree.9f b/usr/src/man/man9f/rmfree.9f index df9e4d1a10..94528d4a2a 100644 --- a/usr/src/man/man9f/rmfree.9f +++ b/usr/src/man/man9f/rmfree.9f @@ -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 rmfree 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH RMFREE 9F "Jan 16, 2006" .SH NAME rmfree \- free space back into a resource map .SH SYNOPSIS .LP .nf -#include <sys/map.h> -#include <sys/ddi.h> +#include <sys/map.h> +#include <sys/ddi.h> @@ -24,34 +24,28 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 9n -.rt Pointer to the map structure. .RE .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 9n -.rt Number of units being freed. .RE .sp .ne 2 -.mk .na \fB\fIindex\fR\fR .ad .RS 9n -.rt Index of the first unit of the allocated resource. .RE diff --git a/usr/src/man/man9f/rmvb.9f b/usr/src/man/man9f/rmvb.9f index 81bce80cbf..a239da322e 100644 --- a/usr/src/man/man9f/rmvb.9f +++ b/usr/src/man/man9f/rmvb.9f @@ -4,7 +4,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 rmvb 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH RMVB 9F "Jan 16, 2006" .SH NAME rmvb \- remove a message block from a message .SH SYNOPSIS @@ -24,24 +24,20 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 6n -.rt Message from which a block is to be removed. \fBmblk_t\fR is an instance of the \fBmsgb\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 6n -.rt Message block to be removed. .RE diff --git a/usr/src/man/man9f/rmvq.9f b/usr/src/man/man9f/rmvq.9f index ef5f43dfda..847f70bb75 100644 --- a/usr/src/man/man9f/rmvq.9f +++ b/usr/src/man/man9f/rmvq.9f @@ -4,7 +4,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 rmvq 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH RMVQ 9F "Jan 16, 2006" .SH NAME rmvq \- remove a message from a queue .SH SYNOPSIS @@ -24,23 +24,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 6n -.rt Queue containing the message to be removed. .RE .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 6n -.rt Message to remove. .RE diff --git a/usr/src/man/man9f/rwlock.9f b/usr/src/man/man9f/rwlock.9f index 64bfeed4f4..c0ca866204 100644 --- a/usr/src/man/man9f/rwlock.9f +++ b/usr/src/man/man9f/rwlock.9f @@ -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 rwlock 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH RWLOCK 9F "Jan 16, 2006" .SH NAME rwlock, rw_init, rw_destroy, rw_enter, rw_exit, rw_tryenter, rw_downgrade, rw_tryupgrade, rw_read_locked \- readers/writer lock functions @@ -59,57 +59,47 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIrwlp\fR\fR .ad .RS 14n -.rt Pointer to a \fBkrwlock_t\fR readers/writer lock. .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 14n -.rt Descriptive string. This is obsolete and should be \fBNULL\fR. (Non-null strings are legal, but they're a waste of kernel memory.) .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 14n -.rt Type of readers/writer lock. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 14n -.rt Type-specific argument for initialization function. .RE .sp .ne 2 -.mk .na \fB\fIenter_type\fR\fR .ad .RS 14n -.rt One of the values \fBRW_READER\fR or \fBRW_WRITER\fR, indicating whether the lock is to be acquired non-exclusively (\fBRW_READER\fR) or exclusively (\fBRW_WRITER\fR). @@ -187,58 +177,48 @@ called for a lock that isn't held by the caller. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 12n -.rt \fBrw_tryenter()\fR could not obtain the lock without blocking. .RE .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 12n -.rt \fBrw_tryupgrade()\fR was unable to perform the upgrade because of other threads holding or waiting to hold the lock. .RE .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 12n -.rt \fBrw_read_locked()\fR returns \fB0\fR if the lock is held by the caller for write. .RE .sp .ne 2 -.mk .na \fB\fBnon-zero\fR\fR .ad .RS 12n -.rt from \fBrw_read_locked()\fR if the lock is held by the caller for read. .RE .sp .ne 2 -.mk .na \fB\fBnon-zero\fR\fR .ad .RS 12n -.rt successful return from \fBrw_tryenter()\fR or \fBrw_tryupgrade()\fR. .RE diff --git a/usr/src/man/man9f/scsi_abort.9f b/usr/src/man/man9f/scsi_abort.9f index ea73d7b063..9d226699b9 100644 --- a/usr/src/man/man9f/scsi_abort.9f +++ b/usr/src/man/man9f/scsi_abort.9f @@ -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 scsi_abort 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_ABORT 9F "Jan 16, 2006" .SH NAME scsi_abort \- abort a SCSI command .SH SYNOPSIS @@ -23,23 +23,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIap\fR\fR .ad .RS 7n -.rt Pointer to a \fBscsi_address\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIpkt\fR\fR .ad .RS 7n -.rt Pointer to a \fBscsi_pkt\fR(9S) structure. .RE @@ -57,23 +53,19 @@ packets to be aborted. On a successful abort, the \fBpkt_reason\fR is set to The \fBscsi_abort()\fR function returns: .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 5n -.rt on success. .RE .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 5n -.rt on failure. .RE diff --git a/usr/src/man/man9f/scsi_alloc_consistent_buf.9f b/usr/src/man/man9f/scsi_alloc_consistent_buf.9f index 18bfc97aa1..5b4bf2700b 100644 --- a/usr/src/man/man9f/scsi_alloc_consistent_buf.9f +++ b/usr/src/man/man9f/scsi_alloc_consistent_buf.9f @@ -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 scsi_alloc_consistent_buf 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_ALLOC_CONSISTENT_BUF 9F "Jan 16, 2006" .SH NAME scsi_alloc_consistent_buf \- allocate an I/O buffer for SCSI DMA .SH SYNOPSIS @@ -13,8 +13,8 @@ scsi_alloc_consistent_buf \- allocate an I/O buffer for SCSI DMA -\fBstruct buf *\fR\fBscsi_alloc_consistent_buf\fR(\fBstructscsi_address*\fR\fIap\fR, - \fBstruct buf *\fR\fIbp\fR, \fBsize_t\fR \fIdatalen\fR, \fBuint_t\fR \fIbflags\fR, +\fBstruct buf *\fR\fBscsi_alloc_consistent_buf\fR(\fBstructscsi_address*\fR\fIap\fR, + \fBstruct buf *\fR\fIbp\fR, \fBsize_t\fR \fIdatalen\fR, \fBuint_t\fR \fIbflags\fR, \fBint (*\fR\fIcallback\fR)(caddr_t), \fBcaddr_t\fR \fIarg\fR); .fi @@ -25,68 +25,56 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIap\fR\fR .ad .RS 12n -.rt Pointer to the \fBscsi_address\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 12n -.rt Pointer to the \fBbuf\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIdatalen\fR\fR .ad .RS 12n -.rt Number of bytes for the data buffer. .RE .sp .ne 2 -.mk .na \fB\fIbflags\fR\fR .ad .RS 12n -.rt Flags setting for the allocated buffer header. This should either be \fBB_READ\fR or \fBB_WRITE\fR. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 12n -.rt A pointer to a callback function, \fBNULL_FUNC\fR or \fBSLEEP_FUNC\fR. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 12n -.rt The callback function argument. .RE @@ -115,34 +103,28 @@ be allocated using \fBddi_dma_mem_alloc\fR(9F). memory access \fB(DMA)\fR resources are not available; the valid values are: .sp .ne 2 -.mk .na \fB\fBNULL_FUNC\fR\fR .ad .RS 16n -.rt Do not wait for resources. Return a \fINULL\fR pointer. .RE .sp .ne 2 -.mk .na \fB\fBSLEEP_FUNC\fR\fR .ad .RS 16n -.rt Wait indefinitely for resources. .RE .sp .ne 2 -.mk .na \fBOther Values\fR .ad .RS 16n -.rt \fIcallback\fR points to a function that is called when resources may become available. \fIcallback\fR must return either \fB0\fR (indicating that it attempted to allocate resources but failed to do so), in which case it is put @@ -190,7 +172,7 @@ attached. SUN_INQSIZE, B_READ, canwait, NULL); if (bp) { pkt = scsi_init_pkt(&devp->sd_address, NULL, bp, - CDB_GROUP0, 1, PP_LEN, PKT_CONSISTENT, + CDB_GROUP0, 1, PP_LEN, PKT_CONSISTENT, canwait, NULL); } .fi diff --git a/usr/src/man/man9f/scsi_cname.9f b/usr/src/man/man9f/scsi_cname.9f index c2fcef31be..49e52a5fd1 100644 --- a/usr/src/man/man9f/scsi_cname.9f +++ b/usr/src/man/man9f/scsi_cname.9f @@ -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 scsi_cname 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_CNAME 9F "Jan 16, 2006" .SH NAME scsi_cname, scsi_dname, scsi_mname, scsi_rname, scsi_sname \- decode a SCSI name @@ -44,67 +44,55 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIcmd\fR\fR .ad .RS 13n -.rt A \fBSCSI\fR command value. .RE .sp .ne 2 -.mk .na \fB\fIcmdvec\fR\fR .ad .RS 13n -.rt Pointer to an array of command strings. .RE .sp .ne 2 -.mk .na \fB\fIdtype\fR\fR .ad .RS 13n -.rt Device type. .RE .sp .ne 2 -.mk .na \fB\fImsg\fR\fR .ad .RS 13n -.rt A message value. .RE .sp .ne 2 -.mk .na \fB\fIreason\fR\fR .ad .RS 13n -.rt A packet reason value. .RE .sp .ne 2 -.mk .na \fB\fIsense_key\fR\fR .ad .RS 13n -.rt A \fBSCSI\fR sense key value. .RE diff --git a/usr/src/man/man9f/scsi_destroy_pkt.9f b/usr/src/man/man9f/scsi_destroy_pkt.9f index 73f24ad2e1..16e70663f7 100644 --- a/usr/src/man/man9f/scsi_destroy_pkt.9f +++ b/usr/src/man/man9f/scsi_destroy_pkt.9f @@ -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 scsi_destroy_pkt 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_DESTROY_PKT 9F "Jan 16, 2006" .SH NAME scsi_destroy_pkt \- free an allocated SCSI packet and its DMA resource .SH SYNOPSIS @@ -23,12 +23,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIpktp\fR\fR .ad .RS 8n -.rt Pointer to a \fBscsi_pkt\fR(9S) structure. .RE diff --git a/usr/src/man/man9f/scsi_dmaget.9f b/usr/src/man/man9f/scsi_dmaget.9f index 6b313a8739..5ac471eef7 100644 --- a/usr/src/man/man9f/scsi_dmaget.9f +++ b/usr/src/man/man9f/scsi_dmaget.9f @@ -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 scsi_dmaget 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_DMAGET 9F "Jan 16, 2006" .SH NAME scsi_dmaget, scsi_dmafree \- SCSI dma utility routines .SH SYNOPSIS @@ -13,7 +13,7 @@ scsi_dmaget, scsi_dmafree \- SCSI dma utility routines -\fBstruct scsi_pkt *\fR\fBscsi_dmaget\fR(\fBstruct scsi_pkt *\fR\fIpkt\fR, +\fBstruct scsi_pkt *\fR\fBscsi_dmaget\fR(\fBstruct scsi_pkt *\fR\fIpkt\fR, \fBopaque_t\fR \fIdmatoken\fR, \fBint\fR\fB(*\fRcallback\fB)(void)\fR); .fi @@ -31,34 +31,28 @@ These interfaces are obsolete. Use \fBscsi_init_pkt\fR(9F) instead of .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIpkt\fR\fR .ad .RS 12n -.rt A pointer to a \fBscsi_pkt\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIdmatoken\fR\fR .ad .RS 12n -.rt Pointer to an implementation dependent object. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 12n -.rt Pointer to a callback function, or \fBNULL_FUNC\fR or \fBSLEEP_FUNC.\fR .RE @@ -81,34 +75,28 @@ The \fIcallback\fR parameter indicates what \fBscsi_dmaget()\fR should do when resources are not available: .sp .ne 2 -.mk .na \fB\fBNULL_FUNC\fR\fR .ad .RS 16n -.rt Do not wait for resources. Return a \fINULL\fR pointer. .RE .sp .ne 2 -.mk .na \fB\fBSLEEP_FUNC\fR\fR .ad .RS 16n -.rt Wait indefinitely for resources. .RE .sp .ne 2 -.mk .na \fBOther Values\fR .ad .RS 16n -.rt \fIcallback\fR points to a function which is called when resources may have become available. \fIcallback\fR must return either \fB0\fR (indicating that it attempted to allocate resources but failed to do so again), in which case it is @@ -145,13 +133,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/scsi_errmsg.9f b/usr/src/man/man9f/scsi_errmsg.9f index 3dd95aee07..7e974c7dcd 100644 --- a/usr/src/man/man9f/scsi_errmsg.9f +++ b/usr/src/man/man9f/scsi_errmsg.9f @@ -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 scsi_errmsg 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_ERRMSG 9F "Jan 16, 2006" .SH NAME scsi_errmsg \- display a SCSI request sense message .SH SYNOPSIS @@ -14,7 +14,7 @@ scsi_errmsg \- display a SCSI request sense message \fBvoid\fR \fBscsi_errmsg\fR(\fBstruct scsi_device *\fR\fIdevp\fR, \fBstruct scsi_pkt *\fR\fIpktp\fR, - \fBchar *\fR\fIdrv_name\fR, \fBint\fR \fIseverity\fR, \fBdaddr_t\fR \fIblkno\fR, \fBdaddr_t\fR \fIerr_blkno\fR, + \fBchar *\fR\fIdrv_name\fR, \fBint\fR \fIseverity\fR, \fBdaddr_t\fR \fIblkno\fR, \fBdaddr_t\fR \fIerr_blkno\fR, \fBstruct scsi_key_strings *\fR\fIcmdlist\fR, \fBstruct scsi_extended_sense *\fR\fIsensep\fR); .fi @@ -25,89 +25,73 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdevp\fR\fR .ad .RS 13n -.rt Pointer to the \fBscsi_device\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIpktp\fR\fR .ad .RS 13n -.rt Pointer to a \fBscsi_pkt\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIdrv_name\fR\fR .ad .RS 13n -.rt String used by \fBscsi_log\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIseverity\fR\fR .ad .RS 13n -.rt Error severity level, maps to severity strings below. .RE .sp .ne 2 -.mk .na \fB\fIblkno\fR\fR .ad .RS 13n -.rt Requested block number. .RE .sp .ne 2 -.mk .na \fB\fIerr_blkno\fR\fR .ad .RS 13n -.rt Error block number. .RE .sp .ne 2 -.mk .na \fB\fIcmdlist\fR\fR .ad .RS 13n -.rt An array of \fBSCSI \fRcommand description strings. .RE .sp .ne 2 -.mk .na \fB\fIsensep\fR\fR .ad .RS 13n -.rt A pointer to a \fBscsi_extended_sense\fR(9S) structure. .RE @@ -135,17 +119,15 @@ following table: .sp .TS -tab(); -cw(2.68i) cw(2.76i) cw(.06i) -lw(2.68i) lw(2.76i) lw(.06i) -. -\fBSeverity Value:\fR\fBString:\fR -\fBSCSI_ERR_ALL\fR\fBAll\fR -\fBSCSI_ERR_UNKNOWN\fR\fBUnknown\fR -\fBSCSI_ERR_INFO\fR\fBInformational\fR -\fBSCSI_ERR_RECOVERE\fR\fBRecovered\fR -\fBSCSI_ERR_RETRYABL\fR\fBRetryable\fR -\fBSCSI_ERR_FATAL\fR\fBFatal\fR +c c c +l l l . +\fBSeverity Value:\fR \fBString:\fR +\fBSCSI_ERR_ALL\fR \fBAll\fR +\fBSCSI_ERR_UNKNOWN\fR \fBUnknown\fR +\fBSCSI_ERR_INFO\fR \fBInformational\fR +\fBSCSI_ERR_RECOVERE\fR \fBRecovered\fR +\fBSCSI_ERR_RETRYABL\fR \fBRetryable\fR +\fBSCSI_ERR_FATAL\fR \fBFatal\fR .TE .sp @@ -215,7 +197,7 @@ This entry: .sp .in +2 .nf -scsi_errmsg(devp, pkt, "sd", SCSI_ERR_INFO, bp->b_blkno, +scsi_errmsg(devp, pkt, "sd", SCSI_ERR_INFO, bp->b_blkno, err_blkno, sd_cmds, rqsense); .fi .in -2 diff --git a/usr/src/man/man9f/scsi_ext_sense_fields.9f b/usr/src/man/man9f/scsi_ext_sense_fields.9f index 3578929e64..705f7216db 100644 --- a/usr/src/man/man9f/scsi_ext_sense_fields.9f +++ b/usr/src/man/man9f/scsi_ext_sense_fields.9f @@ -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 scsi_ext_sense_fields 9F "29 Jun 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_EXT_SENSE_FIELDS 9F "Jun 29, 2006" .SH NAME scsi_ext_sense_fields, scsi_sense_info_uint64, scsi_sense_cmdspecific_uint64 \- retrieve fields from SCSI sense data @@ -27,7 +27,7 @@ retrieve fields from SCSI sense data .LP .nf -\fBboolean_t\fR \fBscsi_sense_cmdspecific_uint64\fR(\fBuint8_t *\fR\fIsense_buffer\fR, +\fBboolean_t\fR \fBscsi_sense_cmdspecific_uint64\fR(\fBuint8_t *\fR\fIsense_buffer\fR, \fBint\fR \fIsense_buf_len\fR, \fBuint64_t *\fR\fIcmd_spec_info\fR); .fi @@ -38,12 +38,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIsense_buffer\fR\fR .ad .RS 17n -.rt Pointer to a buffer containing \fBSCSI\fR sense data. The sense data is expected in wire format starting at the response code. It can be in either a fixed or descriptor format. @@ -51,12 +49,10 @@ fixed or descriptor format. .sp .ne 2 -.mk .na \fB\fIinformation\fR\fR .ad .RS 17n -.rt For \fBscsi_ext_sense_fields()\fR, this is a call-by-reference pointer to \fBuint8_t\fR. A pointer to the \fBINFORMATION\fR field in the sense data may be returned in this parameter. @@ -69,12 +65,10 @@ significant 32-bits are \fB\fR0. .sp .ne 2 -.mk .na \fB\fIcmd_spec_info\fR\fR .ad .RS 17n -.rt For \fBscsi_ext_sense_fields()\fR, this is a call-by-reference pointer to \fBuint8_t\fR. A pointer to the \fBCOMMAND_SPECIFIC INFORMATION\fR field in the sense data can be returned in this parameter. @@ -87,12 +81,10 @@ bits, fixed format, the most significant 32-bits are \fB0\fR. .sp .ne 2 -.mk .na \fB\fIfru_code\fR\fR .ad .RS 17n -.rt Call-by-reference pointer to \fBuint8_t\fR. A pointer to the \fBFIELD REPLACEABLE UNIT CODE\fR field in the sense data can be returned in this parameter. @@ -100,24 +92,20 @@ parameter. .sp .ne 2 -.mk .na \fB\fIsk_specific\fR\fR .ad .RS 17n -.rt Call-by-reference pointer to \fBuint8_t\fR. A pointer to the \fBSENSE KEY SPECIFIC\fR field in the sense data can be returned in this parameter. .RE .sp .ne 2 -.mk .na \fB\fIstream_flags\fR\fR .ad .RS 17n -.rt Call-by-reference pointer to \fBuint8_t\fR. A pointer to the byte containing the \fBILI\fR, \fBEOM\fR, and \fBFILEMARK\fR flags can be returned in this parameter. diff --git a/usr/src/man/man9f/scsi_find_sense_descr.9f b/usr/src/man/man9f/scsi_find_sense_descr.9f index 9670babe74..0d23e47154 100644 --- a/usr/src/man/man9f/scsi_find_sense_descr.9f +++ b/usr/src/man/man9f/scsi_find_sense_descr.9f @@ -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 scsi_find_sense_descr 9F "30 Jun 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_FIND_SENSE_DESCR 9F "Jun 30, 2006" .SH NAME scsi_find_sense_descr \- find descriptor in SCSI sense data .SH SYNOPSIS @@ -24,35 +24,29 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIsense_buffer\fR\fR .ad .RS 18n -.rt Pointer to a buffer containing \fBSCSI\fR descriptor sense data. The data is expected in wire format starting at the response code. .RE .sp .ne 2 -.mk .na \fB\fIsense_buf_len\fR\fR .ad .RS 18n -.rt Integer that contains the length of sense buffer in bytes. .RE .sp .ne 2 -.mk .na \fB\fIreq_descr_type\fR\fR .ad .RS 18n -.rt Integer that contains the descriptor type value for the desired sense descriptor. .RE diff --git a/usr/src/man/man9f/scsi_free_consistent_buf.9f b/usr/src/man/man9f/scsi_free_consistent_buf.9f index 8ab3ad0176..999fc26a40 100644 --- a/usr/src/man/man9f/scsi_free_consistent_buf.9f +++ b/usr/src/man/man9f/scsi_free_consistent_buf.9f @@ -4,7 +4,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 scsi_free_consistent_buf 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_FREE_CONSISTENT_BUF 9F "Jan 16, 2006" .SH NAME scsi_free_consistent_buf \- free a previously allocated SCSI DMA I/O buffer .SH SYNOPSIS @@ -24,12 +24,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad .RS 6n -.rt Pointer to the \fBbuf\fR(9S) structure. .RE diff --git a/usr/src/man/man9f/scsi_get_device_type_scsi_options.9f b/usr/src/man/man9f/scsi_get_device_type_scsi_options.9f index d15813ed2a..d7a912a05b 100644 --- a/usr/src/man/man9f/scsi_get_device_type_scsi_options.9f +++ b/usr/src/man/man9f/scsi_get_device_type_scsi_options.9f @@ -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 scsi_get_device_type_scsi_options 9F "19 Nov 2001" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_GET_DEVICE_TYPE_SCSI_OPTIONS 9F "Nov 19, 2001" .SH NAME scsi_get_device_type_scsi_options \- look up per-device-type scsi-options property @@ -14,7 +14,7 @@ property -\fBint\fR \fBscsi_get_device_type_scsi_options\fR(\fBdev_info_t *\fR\fIdip\fR, +\fBint\fR \fBscsi_get_device_type_scsi_options\fR(\fBdev_info_t *\fR\fIdip\fR, \fBstruct scsi_device *\fR\fIdevp\fR, \fBint\fR \fIdefault_scsi_options\fR); .fi @@ -25,34 +25,28 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 24n -.rt Pointer to the device info node for this HBA driver. .RE .sp .ne 2 -.mk .na \fB\fIdevp\fR\fR .ad .RS 24n -.rt Pointer to a \fBscsi_device\fR(9S) structure of the target. .RE .sp .ne 2 -.mk .na \fB\fIdefault_scsi_options\fR\fR .ad .RS 24n -.rt Value returned if no match is found. .RE diff --git a/usr/src/man/man9f/scsi_get_device_type_string.9f b/usr/src/man/man9f/scsi_get_device_type_string.9f index 4c0e24c91f..7196a54288 100644 --- a/usr/src/man/man9f/scsi_get_device_type_string.9f +++ b/usr/src/man/man9f/scsi_get_device_type_string.9f @@ -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 scsi_get_device_type_string 9F "12 Jul 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_GET_DEVICE_TYPE_STRING 9F "Jul 12, 2007" .SH NAME scsi_get_device_type_string \- look up per-device-type, returning matching information string @@ -25,35 +25,29 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIprop_name\fR\fR .ad .RS 13n -.rt Name of string array property that contains a list of paired device-type information. .RE .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 13n -.rt Pointer to the device info node for this HBA driver. .RE .sp .ne 2 -.mk .na \fB\fIdevp\fR \fR .ad .RS 13n -.rt Pointer to a \fBscsi_device\fR(9S) structure of the target. .RE @@ -100,7 +94,7 @@ For example: .in +2 .nf scsi_vhci_failover_override = - "STK FLEXLINE 400", "f_asym_lsi", + "STK FLEXLINE 400", "f_asym_lsi", "SUN T4", "f_tpgs";; .fi .in -2 diff --git a/usr/src/man/man9f/scsi_hba_attach_setup.9f b/usr/src/man/man9f/scsi_hba_attach_setup.9f index 4204ffa346..177e0589d0 100644 --- a/usr/src/man/man9f/scsi_hba_attach_setup.9f +++ b/usr/src/man/man9f/scsi_hba_attach_setup.9f @@ -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 scsi_hba_attach_setup 9F "30 May 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_HBA_ATTACH_SETUP 9F "May 30, 2006" .SH NAME scsi_hba_attach_setup, scsi_hba_attach, scsi_hba_detach \- SCSI HBA attach and detach routines @@ -20,7 +20,7 @@ detach routines .LP .nf -\fBint\fR \fBscsi_hba_attach\fR(\fBdev_info_t *\fR\fIdip\fR, \fBddi_dma_lim_t *\fR\fIhba_lim\fR, +\fBint\fR \fBscsi_hba_attach\fR(\fBdev_info_t *\fR\fIdip\fR, \fBddi_dma_lim_t *\fR\fIhba_lim\fR, \fBscsi_hba_tran_t *\fR\fIhba_tran\fR, \fBint\fR \fIhba_flags\fR, \fBvoid *\fR\fIhba_options\fR); .fi @@ -36,70 +36,58 @@ Solaris architecture specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 16n -.rt Pointer to the \fBdev_info_t\fR structure that refers to the instance of the HBA device. .RE .sp .ne 2 -.mk .na \fB\fIhba_lim\fR\fR .ad .RS 16n -.rt Pointer to a \fBddi_dma_lim\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIhba_tran\fR\fR .ad .RS 16n -.rt Pointer to a \fBscsi_hba_tran\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIhba_flags\fR\fR .ad .RS 16n -.rt Flag modifiers. The defined flag values are \fBSCSI_HBA_TRAN_CLONE\fR, \fBSCSI_HBA_TRAN_SCB\fR, and \fBSCSI_HBA_TRAN_CDB\fR. .RE .sp .ne 2 -.mk .na \fB\fIhba_options\fR\fR .ad .RS 16n -.rt Optional features provided by the HBA driver for future extensions; must be \fINULL\fR. .RE .sp .ne 2 -.mk .na \fB\fIhba_dma_attr\fR\fR .ad .RS 16n -.rt Pointer to a \fBddi_dma_attr\fR(9S) structure. .RE @@ -151,56 +139,46 @@ configuration parameters via \fBddi_prop_get_int\fR(9F), and respect any settings for features provided the HBA. .sp .ne 2 -.mk .na \fB\fBscsi-options\fR\fR .ad .RS 26n -.rt \fBOptional\fR \fBSCSI\fR \fBconfiguration bits\fR .RE .sp .ne 2 -.mk .na \fB\fBSCSI_OPTIONS_DR\fR\fR .ad .RS 26n -.rt If not set, the HBA should not grant Disconnect privileges to target devices. .RE .sp .ne 2 -.mk .na \fB\fBSCSI_OPTIONS_TAG\fR\fR .ad .RS 26n -.rt If not set, the HBA should not operate in Command Tagged Queueing mode. .RE .sp .ne 2 -.mk .na \fB\fBSCSI_OPTIONS_PARITY\fR\fR .ad .RS 26n -.rt If not set, the HBA should not operate in parity mode. .RE .sp .ne 2 -.mk .na \fB\fBSCSI_OPTIONS_QAS\fR\fR .ad .RS 26n -.rt If not set, the HBA should not make use of the Quick Arbitration Select feature. Consult your Sun hardware documentation to determine whether your machine supports QAS. @@ -208,111 +186,91 @@ machine supports QAS. .sp .ne 2 -.mk .na \fB\fBSCSI_OPTIONS_FAST\fR\fR .ad .RS 26n -.rt If not set, the HBA should not operate the bus in FAST SCSI mode. .RE .sp .ne 2 -.mk .na \fB\fBSCSI_OPTIONS_FAST20\fR\fR .ad .RS 26n -.rt If not set, the HBA should not operate the bus in FAST20 SCSI mode. .RE .sp .ne 2 -.mk .na \fB\fBSCSI_OPTIONS_FAST40\fR\fR .ad .RS 26n -.rt If not set, the HBA should not operate the bus in FAST40 SCSI mode. .RE .sp .ne 2 -.mk .na \fB\fBSCSI_OPTIONS_FAST80\fR\fR .ad .RS 26n -.rt If not set, the HBA should not operate the bus in FAST80 SCSI mode. .RE .sp .ne 2 -.mk .na \fB\fBSCSI_OPTIONS_FAST160\fR\fR .ad .RS 26n -.rt If not set, the HBA should not operate the bus in FAST160 SCSI mode. .RE .sp .ne 2 -.mk .na \fB\fBSCSI_OPTIONS_FAST320\fR\fR .ad .RS 26n -.rt If not set, the HBA should not operate the bus in FAST320 SCSI mode. .RE .sp .ne 2 -.mk .na \fB\fBSCSI_OPTIONS_WIDE\fR\fR .ad .RS 26n -.rt If not set, the HBA should not operate the bus in WIDE SCSI mode. .RE .sp .ne 2 -.mk .na \fB\fBSCSI_OPTIONS_SYNC\fR\fR .ad .RS 26n -.rt If not set, the HBA should not operate the bus in synchronous transfer mode. .RE .sp .ne 2 -.mk .na \fB\fBscsi-reset-delay\fR\fR .ad .RS 26n -.rt SCSI bus or device reset recovery time, in milliseconds. .RE .sp .ne 2 -.mk .na \fB\fBscsi-selection-timeout\fR\fR .ad .RS 26n -.rt Default SCSI selection phase timeout value, in milliseconds. Please refer to individual HBA man pages for any HBA-specific information .RE diff --git a/usr/src/man/man9f/scsi_hba_init.9f b/usr/src/man/man9f/scsi_hba_init.9f index 1ba98d5927..c0f97c1dab 100644 --- a/usr/src/man/man9f/scsi_hba_init.9f +++ b/usr/src/man/man9f/scsi_hba_init.9f @@ -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 scsi_hba_init 9F "1 Nov 1993" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_HBA_INIT 9F "Nov 1, 1993" .SH NAME scsi_hba_init, scsi_hba_fini \- SCSI Host Bus Adapter system initialization and completion routines .SH SYNOPSIS .LP .nf -#include <sys/scsi/scsi.h> +#include <sys/scsi/scsi.h> @@ -29,12 +29,10 @@ Solaris architecture specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImodlp\fR \fR .ad .RS 10n -.rt Pointer to the Host Bus Adapters module linkage structure. .RE diff --git a/usr/src/man/man9f/scsi_hba_lookup_capstr.9f b/usr/src/man/man9f/scsi_hba_lookup_capstr.9f index 71676a4015..e305464393 100644 --- a/usr/src/man/man9f/scsi_hba_lookup_capstr.9f +++ b/usr/src/man/man9f/scsi_hba_lookup_capstr.9f @@ -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 scsi_hba_lookup_capstr 9F "13 May 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_HBA_LOOKUP_CAPSTR 9F "May 13, 2006" .SH NAME scsi_hba_lookup_capstr \- return index matching capability string .SH SYNOPSIS @@ -23,12 +23,10 @@ Solaris architecture specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIcapstr\fR\fR .ad .RS 10n -.rt Pointer to a string .RE @@ -43,7 +41,6 @@ matched capability is returned. The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_DMA_MAX\fR\fR .ad @@ -54,7 +51,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_MSG_OUT\fR\fR .ad @@ -65,7 +61,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_DISCONNECT\fR\fR .ad @@ -76,7 +71,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_SYNCHRONOUS\fR\fR .ad @@ -87,7 +81,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_WIDE_XFER\fR\fR .ad @@ -98,7 +91,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_PARITY\fR\fR .ad @@ -109,7 +101,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_INITIATOR_ID\fR\fR .ad @@ -120,7 +111,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_UNTAGGED_QING\fR\fR .ad @@ -131,7 +121,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_TAGGED_QING\fR\fR .ad @@ -142,7 +131,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_ARQ\fR\fR .ad @@ -153,7 +141,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_LINKED_CMDS\fR\fR .ad @@ -164,7 +151,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_SECTOR_SIZE\fR\fR .ad @@ -175,7 +161,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_TOTAL_SECTORS\fR\fR .ad @@ -186,7 +171,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_GEOMETRY\fR\fR .ad @@ -197,7 +181,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_RESET_NOTIFICATION\fR\fR .ad @@ -208,7 +191,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_QFULL_RETRIES\fR\fR .ad @@ -219,7 +201,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_QFULL_RETRY_INTERVAL\fR\fR .ad @@ -230,7 +211,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_LUN_RESET\fR\fR .ad @@ -241,7 +221,6 @@ The following indices are defined for the capability strings listed below. .sp .ne 2 -.mk .na \fB\fBSCSI_CAP_CDB_LEN\fR\fR .ad @@ -269,13 +248,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/scsi_hba_pkt_alloc.9f b/usr/src/man/man9f/scsi_hba_pkt_alloc.9f index c549da395b..3ee7964bfd 100644 --- a/usr/src/man/man9f/scsi_hba_pkt_alloc.9f +++ b/usr/src/man/man9f/scsi_hba_pkt_alloc.9f @@ -3,19 +3,19 @@ .\" 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 scsi_hba_pkt_alloc 9F "11 Dec 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_HBA_PKT_ALLOC 9F "Dec 11, 2006" .SH NAME scsi_hba_pkt_alloc, scsi_hba_pkt_free \- allocate and free a scsi_pkt structure .SH SYNOPSIS .LP .nf -#include <sys/scsi/scsi.h> +#include <sys/scsi/scsi.h> -\fBstruct scsi_pkt *\fR\fBscsi_hba_pkt_alloc\fR(\fBdev_info_t *\fR\fIdip\fR, - \fBstruct scsi_address *\fR\fIap\fR, \fBint\fR \fIcmdlen\fR, \fBint\fR \fIstatuslen\fR, - \fBint\fR \fItgtlen\fR, \fBint\fR \fIhbalen\fR, +\fBstruct scsi_pkt *\fR\fBscsi_hba_pkt_alloc\fR(\fBdev_info_t *\fR\fIdip\fR, + \fBstruct scsi_address *\fR\fIap\fR, \fBint\fR \fIcmdlen\fR, \fBint\fR \fIstatuslen\fR, + \fBint\fR \fItgtlen\fR, \fBint\fR \fIhbalen\fR, \fBint\fR (*\fIcallback\fR)(\fBcaddr_t\fR \fIarg\fR), \fBcaddr_t\fR \fIarg\fR); .fi @@ -31,104 +31,86 @@ Solaris architecture specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 13n -.rt Pointer to a \fBdev_info_t\fR structure, defining the \fBHBA\fR driver instance. .RE .sp .ne 2 -.mk .na \fB\fIap\fR\fR .ad .RS 13n -.rt Pointer to a \fBscsi_address\fR(9S) structure, defining the target instance. .RE .sp .ne 2 -.mk .na \fB\fIcmdlen\fR\fR .ad .RS 13n -.rt Length in bytes to be allocated for the \fBSCSI\fR command descriptor block (\fBCDB\fR). .RE .sp .ne 2 -.mk .na \fB\fIstatuslen\fR\fR .ad .RS 13n -.rt Length in bytes to be allocated for the \fBSCSI\fR status completion block (\fBSCB\fR). .RE .sp .ne 2 -.mk .na \fB\fItgtlen\fR\fR .ad .RS 13n -.rt Length in bytes to be allocated for a private data area for the target driver's exclusive use. .RE .sp .ne 2 -.mk .na \fB\fIhbalen\fR\fR .ad .RS 13n -.rt Length in bytes to be allocated for a private data area for the \fBHBA\fR driver's exclusive use. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 13n -.rt Indicates what \fBscsi_hba_pkt_alloc()\fR should do when resources are not available: .sp .ne 2 -.mk .na \fB\fBNULL_FUNC\fR\fR .ad .RS 14n -.rt Do not wait for resources. Return a \fINULL\fR pointer. .RE .sp .ne 2 -.mk .na \fB\fBSLEEP_FUNC\fR\fR .ad .RS 14n -.rt Wait indefinitely for resources. .RE @@ -136,23 +118,19 @@ Wait indefinitely for resources. .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 13n -.rt Must be \fINULL.\fR .RE .sp .ne 2 -.mk .na \fB\fIpkt\fR\fR .ad .RS 13n -.rt A pointer to a \fBscsi_pkt\fR(9S) structure. .RE @@ -182,45 +160,37 @@ The \fBscsi_hba_pkt_alloc()\fR function also allocates memory for these memory: .sp .ne 2 -.mk .na \fB\fBpkt_ha_private\fR\fR .ad .RS 18n -.rt \fBHBA\fR private data area. .RE .sp .ne 2 -.mk .na \fB\fBpkt_private\fR\fR .ad .RS 18n -.rt Target driver private data area. .RE .sp .ne 2 -.mk .na \fB\fBpkt_scbp\fR\fR .ad .RS 18n -.rt \fBSCSI\fR status completion block. .RE .sp .ne 2 -.mk .na \fB\fBpkt_cdbp\fR\fR .ad .RS 18n -.rt \fBSCSI\fR command descriptor block. .RE diff --git a/usr/src/man/man9f/scsi_hba_pkt_comp.9f b/usr/src/man/man9f/scsi_hba_pkt_comp.9f index 8aef18209c..c890da7161 100644 --- a/usr/src/man/man9f/scsi_hba_pkt_comp.9f +++ b/usr/src/man/man9f/scsi_hba_pkt_comp.9f @@ -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 scsi_hba_pkt_comp 9F "29 Jan 2009" "SunOS 5.11" "" +.TH SCSI_HBA_PKT_COMP 9F "Jan 29, 2009" .SH NAME scsi_hba_pkt_comp \- scsi_pkt completion routine .SH SYNOPSIS @@ -17,12 +17,10 @@ scsi_hba_pkt_comp \- scsi_pkt completion routine .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIpkt\fR\fR .ad .RS 7n -.rt Pointer to a \fBscsi_pkt\fR(9S) structure. .RE @@ -62,13 +60,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/scsi_hba_probe.9f b/usr/src/man/man9f/scsi_hba_probe.9f index fdba95c158..aca69c749c 100644 --- a/usr/src/man/man9f/scsi_hba_probe.9f +++ b/usr/src/man/man9f/scsi_hba_probe.9f @@ -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 scsi_hba_probe 9F "30 Aug 1995" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_HBA_PROBE 9F "Aug 30, 1995" .SH NAME scsi_hba_probe \- default SCSI HBA probe function .SH SYNOPSIS @@ -23,23 +23,19 @@ Solaris architecture specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIsd\fR \fR .ad .RS 13n -.rt Pointer to a \fBscsi_device\fR(9S) structure describing the target. .RE .sp .ne 2 -.mk .na \fB\fIwaitfunc\fR \fR .ad .RS 13n -.rt \fBNULL_FUNC\fR or \fBSLEEP_FUNC\fR. .RE diff --git a/usr/src/man/man9f/scsi_hba_tran_alloc.9f b/usr/src/man/man9f/scsi_hba_tran_alloc.9f index a7584ae037..29c5f05b06 100644 --- a/usr/src/man/man9f/scsi_hba_tran_alloc.9f +++ b/usr/src/man/man9f/scsi_hba_tran_alloc.9f @@ -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 scsi_hba_tran_alloc 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_HBA_TRAN_ALLOC 9F "Jan 16, 2006" .SH NAME scsi_hba_tran_alloc, scsi_hba_tran_free \- allocate and free transport structures @@ -29,35 +29,29 @@ Solaris architecture specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 12n -.rt Pointer to a \fBdev_info\fR structure, defining the \fBHBA\fR driver instance. .RE .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 12n -.rt Flag modifiers. The only possible flag value is \fBSCSI_HBA_CANSLEEP\fR (memory allocation may sleep). .RE .sp .ne 2 -.mk .na \fB\fIhba_tran\fR\fR .ad .RS 12n -.rt Pointer to a \fBscsi_hba_tran\fR(9S) structure. .RE diff --git a/usr/src/man/man9f/scsi_ifgetcap.9f b/usr/src/man/man9f/scsi_ifgetcap.9f index dfcfea0447..15f921e265 100644 --- a/usr/src/man/man9f/scsi_ifgetcap.9f +++ b/usr/src/man/man9f/scsi_ifgetcap.9f @@ -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 scsi_ifgetcap 9F "16 Oct 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_IFGETCAP 9F "Oct 16, 2007" .SH NAME scsi_ifgetcap, scsi_ifsetcap \- get/set SCSI transport capability .SH SYNOPSIS @@ -18,7 +18,7 @@ scsi_ifgetcap, scsi_ifsetcap \- get/set SCSI transport capability .LP .nf -\fBint\fR \fBscsi_ifsetcap\fR(\fBstruct scsi_address *\fR\fIap\fR, \fBchar *\fR\fIcap\fR, \fBint\fR \fIvalue\fR, +\fBint\fR \fBscsi_ifsetcap\fR(\fBstruct scsi_address *\fR\fIap\fR, \fBchar *\fR\fIcap\fR, \fBint\fR \fIvalue\fR, \fBint\fR \fIwhom\fR); .fi @@ -29,45 +29,37 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIap\fR\fR .ad .RS 9n -.rt Pointer to the \fBscsi_address\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIcap\fR\fR .ad .RS 9n -.rt Pointer to the string capability identifier. .RE .sp .ne 2 -.mk .na \fB\fIvalue\fR\fR .ad .RS 9n -.rt Defines the new state of the capability. .RE .sp .ne 2 -.mk .na \fB\fIwhom\fR\fR .ad .RS 9n -.rt Determines if all targets or only the specified target is affected. .RE @@ -91,23 +83,19 @@ supported by the device. The following capabilities have been defined: .sp .ne 2 -.mk .na \fB\fBdma-max\fR\fR .ad .RS 24n -.rt Maximum \fBdma\fR transfer size that is supported by the host adapter. .RE .sp .ne 2 -.mk .na \fB\fBdma-max-arch\fR\fR .ad .RS 24n -.rt Maximum \fBdma\fR transfer size that is supported by system. Takes the host adapter and system architecture into account. This is useful for target drivers which do not support partial \fBDMA\fRs on systems which do not have an @@ -120,119 +108,99 @@ command and does not rely on a \fBtran_getcap\fR(9E) response from the HBA. .sp .ne 2 -.mk .na \fB\fBmsg-out\fR\fR .ad .RS 24n -.rt Message out capability that is supported by the host adapter: \fB0\fR disables, \fB1\fR enables. .RE .sp .ne 2 -.mk .na \fB\fBdisconnect\fR\fR .ad .RS 24n -.rt Disconnect capability that is supported by the host adapter: \fB0\fR disables, \fB1\fR enables. .RE .sp .ne 2 -.mk .na \fB\fBsynchronous\fR\fR .ad .RS 24n -.rt Synchronous data transfer capability that is supported by the host adapter: \fB0\fR disables, \fB1\fR enables. .RE .sp .ne 2 -.mk .na \fB\fBwide-xfer\fR\fR .ad .RS 24n -.rt Wide transfer capability that is supported by the host adapter: \fB0\fR disables, \fB1\fR enables. .RE .sp .ne 2 -.mk .na \fB\fBparity\fR\fR .ad .RS 24n -.rt Parity checking capability that is supported by host adapter: \fB0\fR disables, \fB1\fR enables. .RE .sp .ne 2 -.mk .na \fB\fBinitiator-id\fR\fR .ad .RS 24n -.rt Host bus address that is returned. .RE .sp .ne 2 -.mk .na \fB\fBuntagged-qing\fR\fR .ad .RS 24n -.rt Host adapter capability that supports internal queueing of commands without tagged queueing: \fB0\fR disables, \fB1\fR enables. .RE .sp .ne 2 -.mk .na \fB\fBtagged-qing\fR\fR .ad .RS 24n -.rt Host adapter capability that supports queuing: \fB0\fR disables, \fB1\fR enables. .RE .sp .ne 2 -.mk .na \fB\fBauto-rqsense\fR\fR .ad .RS 24n -.rt Host adapter capability that supports auto request sense on check conditions: \fB0\fR disables, \fB1\fR enables. .RE .sp .ne 2 -.mk .na \fB\fBsector-size\fR\fR .ad .RS 24n -.rt Capability that is set by the target driver to inform the \fBHBA\fR of the granularity, in bytes, of the \fBDMA\fR breakup. The \fBHBA\fR \fBDMA\fR limit structure is set to reflect the byte total of this setting. See @@ -243,12 +211,10 @@ to 512 bytes. .sp .ne 2 -.mk .na \fB\fBtotal-sectors\fR\fR .ad .RS 24n -.rt Capability that is set by the target driver to inform the \fBHBA\fR of the total number of sectors on the device returned by the \fBSCSI\fR \fBget capacity\fR command. This capability must be set before the target driver @@ -257,12 +223,10 @@ capacity\fR command. This capability must be set before the target driver .sp .ne 2 -.mk .na \fB\fBgeometry\fR\fR .ad .RS 24n -.rt Capability that returns the \fBHBA\fR geometry of a target disk. The target driver sets the \fBtotal-sectors\fR capability before ``getting'' the geometry capability. The geometry is returned as a 32-bit value. The upper 16 bits @@ -280,36 +244,30 @@ about \fBDKIOCG_VIRTGEOM\fR. .sp .ne 2 -.mk .na \fB\fBreset-notification\fR\fR .ad .RS 24n -.rt Host adapter capability that supports bus reset notification: \fB0\fR disables, \fB1\fR enables. See \fBscsi_reset_notify\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fBlinked-cmds\fR\fR .ad .RS 24n -.rt Host adapter capability that supports linked commands: \fB0\fR disables, \fB1\fR enables. .RE .sp .ne 2 -.mk .na \fB\fBqfull-retries\fR\fR .ad .RS 24n -.rt Capability that enables or disables \fBQUEUE\fR \fBFULL\fR handling. If \fB0\fR, the \fBHBA\fR will not retry a command when a \fBQUEUE\fR \fBFULL\fR status is returned. If the value is greater than \fB0\fR, the \fBHBA\fR driver @@ -320,12 +278,10 @@ the \fBqfull-retry-interval\fR. The range for \fBqfull-retries\fR is .sp .ne 2 -.mk .na \fB\fBqfull-retry-interval\fR\fR .ad .RS 24n -.rt Capability that sets the retry interval in milliseconds (\fBms\fR) for commands completed with a \fBQUEUE\fR \fBFULL\fR status. The range for \fBqfull-retry-intervals\fR is \fB0-1000\fR \fBms\fR. @@ -333,12 +289,10 @@ completed with a \fBQUEUE\fR \fBFULL\fR status. The range for .sp .ne 2 -.mk .na \fB\fBlun-reset\fR\fR .ad .RS 24n -.rt Capability that is created with a value of zero by \fBHBA\fR drivers that support the \fBRESET_LUN\fR flag in the \fBtran_reset\fR(9E) function. If it exists, the \fBlun-reset\fR value can be set to \fB1\fR by target drivers to @@ -352,12 +306,10 @@ the \fBtran_reset()\fR function of the \fBHBA\fR driver can be called with the .sp .ne 2 -.mk .na \fBinterconnect-type\fR .ad .RS 24n -.rt Capability held in the \fBtran_interconnect_type\fR element of struct \fBscsi_hba_tran\fR that indicates the \fBHBA\fR transport interconnect type . The integer value of the interconnect type of the transport is defined in the @@ -366,12 +318,10 @@ The integer value of the interconnect type of the transport is defined in the .sp .ne 2 -.mk .na \fBmax-cdb-length\fR .ad .RS 24n -.rt Host adapter capability of the maximum supported \fBCDB\fR (Command Descriptor Block) length. The target driver asks for the capability at attach time. If the \fBHBA\fR driver supports the capability, the maximum length of the \fBCDB\fR @@ -388,34 +338,28 @@ the default value of the target driver is used for the \fBCDB\fR determination. The \fBscsi_ifsetcap()\fR function returns: .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 9n -.rt If the capability was successfully set to the new value. .RE .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 9n -.rt If the capability is not variable. .RE .sp .ne 2 -.mk .na \fB\fB\(mi1\fR\fR .ad .RS 9n -.rt If the capability was not defined, or setting the capability to a new value failed. .RE @@ -426,12 +370,10 @@ The \fBscsi_ifgetcap()\fR function returns the current value of a capability, or: .sp .ne 2 -.mk .na \fB\fB\(mi1\fR\fR .ad .RS 9n -.rt If the capability was not defined. .RE @@ -474,13 +416,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/scsi_init_pkt.9f b/usr/src/man/man9f/scsi_init_pkt.9f index fb02ca6dd2..9809a9561d 100644 --- a/usr/src/man/man9f/scsi_init_pkt.9f +++ b/usr/src/man/man9f/scsi_init_pkt.9f @@ -3,18 +3,18 @@ .\" 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 scsi_init_pkt 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_INIT_PKT 9F "Jan 16, 2006" .SH NAME scsi_init_pkt \- prepare a complete SCSI packet .SH SYNOPSIS .LP .nf -#include <sys/scsi/scsi.h> +#include <sys/scsi/scsi.h> -\fBstruct scsi_pkt *\fR\fBscsi_init_pkt\fR(\fBstruct scsi_address *\fR\fIap\fR, - \fBstruct scsi_pkt *\fR\fIpktp\fR, \fBstruct buf *\fR\fIbp\fR, \fBint\fR \fIcmdlen\fR, \fBint\fR \fIstatuslen\fR, +\fBstruct scsi_pkt *\fR\fBscsi_init_pkt\fR(\fBstruct scsi_address *\fR\fIap\fR, + \fBstruct scsi_pkt *\fR\fIpktp\fR, \fBstruct buf *\fR\fIbp\fR, \fBint\fR \fIcmdlen\fR, \fBint\fR \fIstatuslen\fR, \fBint\fR \fIprivatelen\fR, \fBint\fR \fIflags\fR, \fBint\fR \fB(*\fRcallback\fB)(caddr_t)\fR, \fBcaddr_t\fR \fIarg\fR); .fi @@ -25,7 +25,6 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIap\fR\fR .ad @@ -36,7 +35,6 @@ Pointer to a \fBscsi_address\fR(9S) structure. .sp .ne 2 -.mk .na \fB\fIpktp\fR\fR .ad @@ -47,7 +45,6 @@ A pointer to a \fBscsi_pkt\fR(9S) structure. .sp .ne 2 -.mk .na \fB\fIbp\fR\fR .ad @@ -58,7 +55,6 @@ Pointer to a \fBbuf\fR(9S) structure. .sp .ne 2 -.mk .na \fB\fIcmdlen\fR\fR .ad @@ -70,7 +66,6 @@ bytes. .sp .ne 2 -.mk .na \fB\fIstatuslen\fR\fR .ad @@ -80,7 +75,6 @@ The required length for the \fBSCSI \fRstatus completion block (\fBSCB\fR) in bytes. Valid values are: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad @@ -91,7 +85,6 @@ No status back. .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad @@ -102,7 +95,6 @@ Return SCSI status byte. .sp .ne 2 -.mk .na \fB\fBsizeof(scsi_arq_status)\fR\fR .ad @@ -122,7 +114,6 @@ where \fIN\fR is the number of extra bytes beyond the default 20. For example, .sp .ne 2 -.mk .na \fB\fIprivatelen\fR\fR .ad @@ -133,7 +124,6 @@ The required length for the \fIpkt_private\fR area. .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad @@ -144,7 +134,6 @@ Flags modifier. .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad @@ -155,7 +144,6 @@ A pointer to a callback function, \fBNULL_FUNC\fR, or \fBSLEEP_FUNC\fR. .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad @@ -186,7 +174,6 @@ the command. In this case \fIpkt_private\fR is \fINULL\fR on return. The \fIflags\fR argument is a set of bit flags. Possible bits include: .sp .ne 2 -.mk .na \fB\fBPKT_CONSISTENT\fR\fR .ad @@ -200,7 +187,6 @@ target driver's command completion callback. .sp .ne 2 -.mk .na \fB\fBPKT_DMA_PARTIAL\fR\fR .ad @@ -222,7 +208,6 @@ original request will have been satisfied. .sp .ne 2 -.mk .na \fB\fBPKT_XARQ\fR\fR .ad @@ -252,34 +237,28 @@ is invoked. are not available: .sp .ne 2 -.mk .na \fB\fBNULL_FUNC\fR\fR .ad .RS 16n -.rt Do not wait for resources. Return a \fINULL\fR pointer. .RE .sp .ne 2 -.mk .na \fB\fBSLEEP_FUNC\fR\fR .ad .RS 16n -.rt Wait indefinitely for resources. .RE .sp .ne 2 -.mk .na \fBOther Values\fR .ad .RS 16n -.rt \fIcallback\fR points to a function which is called when resources may have become available. \fIcallback\fR must return either \fB0\fR (indicating that it attempted to allocate resources but again failed to do so), in which case it is @@ -367,7 +346,7 @@ resources attached, use: bp = scsi_alloc_consistent_buf(&devp->sd_address, NULL, SENSE_LENGTH, B_READ, SLEEP_FUNC, NULL); pkt = scsi_init_pkt(&devp->sd_address, NULL, bp, CDB_GROUP0, - sizeof(struct scsi_arq_status), sizeof (struct my_pkt_private *), + sizeof(struct scsi_arq_status), sizeof (struct my_pkt_private *), PKT_CONSISTENT, SLEEP_FUNC, NULL); .fi .in -2 diff --git a/usr/src/man/man9f/scsi_log.9f b/usr/src/man/man9f/scsi_log.9f index 2d728b4b33..882ed2eb0f 100644 --- a/usr/src/man/man9f/scsi_log.9f +++ b/usr/src/man/man9f/scsi_log.9f @@ -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 scsi_log 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_LOG 9F "Jan 16, 2006" .SH NAME scsi_log \- display a SCSI-device-related message .SH SYNOPSIS @@ -14,7 +14,7 @@ scsi_log \- display a SCSI-device-related message -\fBvoid\fR \fBscsi_log\fR(\fBdev_info_t *\fR\fIdip\fR, \fBchar *\fR\fIdrv_name\fR, \fBuint_t\fR \fIlevel\fR, +\fBvoid\fR \fBscsi_log\fR(\fBdev_info_t *\fR\fIdip\fR, \fBchar *\fR\fIdrv_name\fR, \fBuint_t\fR \fIlevel\fR, \fBconst char *\fR\fIfmt\fR\fB, ...\fR); .fi @@ -25,45 +25,37 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 12n -.rt Pointer to the \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIdrv_name\fR\fR .ad .RS 12n -.rt String naming the device. .RE .sp .ne 2 -.mk .na \fB\fIlevel\fR\fR .ad .RS 12n -.rt Error level. .RE .sp .ne 2 -.mk .na \fB\fIfmt\fR\fR .ad .RS 12n -.rt Display format. .RE diff --git a/usr/src/man/man9f/scsi_pktalloc.9f b/usr/src/man/man9f/scsi_pktalloc.9f index 4b0eb8d31b..f19ee24e3c 100644 --- a/usr/src/man/man9f/scsi_pktalloc.9f +++ b/usr/src/man/man9f/scsi_pktalloc.9f @@ -4,14 +4,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 scsi_pktalloc 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_PKTALLOC 9F "Jan 16, 2006" .SH NAME scsi_pktalloc, scsi_resalloc, scsi_pktfree, scsi_resfree \- SCSI packet utility routines .SH SYNOPSIS .LP .nf -#include <sys/scsi/scsi.h> +#include <sys/scsi/scsi.h> \fBstruct scsi_pkt *\fR\fBscsi_pktalloc\fR (\fBstruct scsi_address*\fR \fIap\fR, \fBint\fR \fIcmdlen\fR, \fBint\fR \fIstatuslen\fR, \fBint\fR (\fI*callback\fR)(\fIvoid\fR)); @@ -44,69 +44,57 @@ by \fBscsi_destroy_pkt\fR(9F). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIap\fR\fR .ad .RS 13n -.rt Pointer to a \fBscsi_address\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIcmdlen\fR\fR .ad .RS 13n -.rt The required length for the \fBSCSI \fRcommand descriptor block (\fBCDB\fR) in bytes. .RE .sp .ne 2 -.mk .na \fB\fIstatuslen\fR\fR .ad .RS 13n -.rt The required length for the \fBSCSI\fR status completion block (\fBSCB\fR) in bytes. .RE .sp .ne 2 -.mk .na \fB\fIdmatoken\fR\fR .ad .RS 13n -.rt Pointer to an implementation-dependent object. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 13n -.rt A pointer to a callback function, or \fBNULL_FUNC\fR or \fBSLEEP_FUNC\fR. .RE .sp .ne 2 -.mk .na \fB\fIpkt\fR\fR .ad .RS 13n -.rt Pointer to a \fBscsi_pkt\fR(9S) structure. .RE @@ -149,34 +137,28 @@ information to determine if the transfer count is correct. are not available: .sp .ne 2 -.mk .na \fB\fBNULL_FUNC\fR\fR .ad .RS 16n -.rt Do not wait for resources. Return a \fINULL\fR pointer. .RE .sp .ne 2 -.mk .na \fB\fBSLEEP_FUNC\fR\fR .ad .RS 16n -.rt Wait indefinitely for resources. .RE .sp .ne 2 -.mk .na \fBOther Values\fR .ad .RS 16n -.rt \fIcallback\fR points to a function which is called when resources may have become available. \fIcallback\fR must return either \fB0\fR (indicating that it attempted to allocate resources but again failed to do so), in which case it is @@ -213,13 +195,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/scsi_poll.9f b/usr/src/man/man9f/scsi_poll.9f index f522f454e1..4a511a7458 100644 --- a/usr/src/man/man9f/scsi_poll.9f +++ b/usr/src/man/man9f/scsi_poll.9f @@ -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 scsi_poll 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_POLL 9F "Jan 16, 2006" .SH NAME scsi_poll \- run a polled SCSI command on behalf of a target driver .SH SYNOPSIS @@ -23,12 +23,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIpkt\fR\fR .ad .RS 7n -.rt Pointer to the \fBscsi_pkt\fR(9S) structure. .RE @@ -47,23 +45,19 @@ system. The \fBscsi_poll()\fR function returns: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 6n -.rt command completed successfully. .RE .sp .ne 2 -.mk .na \fB\fB-1\fR\fR .ad .RS 6n -.rt command failed. .RE diff --git a/usr/src/man/man9f/scsi_probe.9f b/usr/src/man/man9f/scsi_probe.9f index 8797336527..21b9d5d496 100644 --- a/usr/src/man/man9f/scsi_probe.9f +++ b/usr/src/man/man9f/scsi_probe.9f @@ -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 scsi_probe 9F "26 Feb 2002" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_PROBE 9F "Feb 26, 2002" .SH NAME scsi_probe \- utility for probing a scsi device .SH SYNOPSIS @@ -23,23 +23,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdevp\fR \fR .ad .RS 13n -.rt Pointer to a \fBscsi_device\fR(9S) structure .RE .sp .ne 2 -.mk .na \fB\fIwaitfunc\fR \fR .ad .RS 13n -.rt \fBNULL_FUNC\fR or \fBSLEEP_FUNC\fR .RE @@ -70,24 +66,20 @@ If the target is a non-CCS device, \fBSCSIPROBE_NONCCS\fR will be returned. are not available; the valid values are: .sp .ne 2 -.mk .na \fB\fBNULL_FUNC\fR \fR .ad .RS 15n -.rt Do not wait for resources. Return \fBSCSIPROBE_NOMEM\fR or \fBSCSIPROBE_FAILURE\fR .RE .sp .ne 2 -.mk .na \fB\fBSLEEP_FUNC\fR \fR .ad .RS 15n -.rt Wait indefinitely for resources. .RE @@ -97,78 +89,64 @@ Wait indefinitely for resources. \fBscsi_probe()\fR returns: .sp .ne 2 -.mk .na \fB\fBSCSIPROBE_BUSY\fR \fR .ad .RS 23n -.rt Device exists but is currently busy. .RE .sp .ne 2 -.mk .na \fB\fBSCSIPROBE_EXISTS\fR \fR .ad .RS 23n -.rt Device exists and inquiry data is valid. .RE .sp .ne 2 -.mk .na \fB\fBSCSIPROBE_FAILURE\fR \fR .ad .RS 23n -.rt Polled command failure. .RE .sp .ne 2 -.mk .na \fB\fBSCSIPROBE_NOMEM\fR \fR .ad .RS 23n -.rt No space available for structures. .RE .sp .ne 2 -.mk .na \fB\fBSCSIPROBE_NOMEM_CB\fR \fR .ad .RS 23n -.rt No space available for structures but callback request has been queued. .RE .sp .ne 2 -.mk .na \fB\fBSCSIPROBE_NONCCS\fR \fR .ad .RS 23n -.rt Device exists but inquiry data is not valid. .RE .sp .ne 2 -.mk .na \fB\fBSCSIPROBE_NORESP\fR \fR .ad .RS 23n -.rt Device does not respond to an INQUIRY. .RE diff --git a/usr/src/man/man9f/scsi_reset.9f b/usr/src/man/man9f/scsi_reset.9f index 56215dd537..21c3c360aa 100644 --- a/usr/src/man/man9f/scsi_reset.9f +++ b/usr/src/man/man9f/scsi_reset.9f @@ -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 scsi_reset 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_RESET 9F "Jan 16, 2006" .SH NAME scsi_reset \- reset a SCSI bus or target .SH SYNOPSIS @@ -23,23 +23,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIap\fR\fR .ad .RS 9n -.rt Pointer to the \fBscsi_address\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIlevel\fR\fR .ad .RS 9n -.rt The level of reset required. .RE @@ -87,23 +83,19 @@ thread's packet and this packet will not be aborted. The \fBscsi_reset()\fR function returns: .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 5n -.rt Upon success. .RE .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 5n -.rt Upon failure. .RE diff --git a/usr/src/man/man9f/scsi_reset_notify.9f b/usr/src/man/man9f/scsi_reset_notify.9f index 170f85f3c4..30537b1e04 100644 --- a/usr/src/man/man9f/scsi_reset_notify.9f +++ b/usr/src/man/man9f/scsi_reset_notify.9f @@ -4,7 +4,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 scsi_reset_notify 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_RESET_NOTIFY 9F "Jan 16, 2006" .SH NAME scsi_reset_notify \- notify target driver of bus resets .SH SYNOPSIS @@ -14,7 +14,7 @@ scsi_reset_notify \- notify target driver of bus resets -\fBvoid\fR \fBscsi_reset_notify\fR(\fBstruct scsi_address *\fR\fIap\fR, \fBint\fR \fIflag\fR, +\fBvoid\fR \fBscsi_reset_notify\fR(\fBstruct scsi_address *\fR\fIap\fR, \fBint\fR \fIflag\fR, \fBvoid\fR (*\fIcallback)(caddr_t)\fR, \fBcaddr_t\fR \fIarg\fR); .fi @@ -25,45 +25,37 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIap\fR\fR .ad .RS 12n -.rt Pointer to the \fBscsi_address\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 12n -.rt A flag indicating registration or cancellation of the notification request. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 12n -.rt A pointer to the target driver's reset notification function. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 12n -.rt The callback function argument. .RE @@ -80,24 +72,20 @@ The argument \fIflag\fR is used to register or cancel the notification. The supported values for \fIflag\fR are as follows: .sp .ne 2 -.mk .na \fB\fBSCSI_RESET_NOTIFY\fR\fR .ad .RS 21n -.rt Register \fIcallback\fR as the reset notification function for the target driver. .RE .sp .ne 2 -.mk .na \fB\fBSCSI_RESET_CANCEL\fR\fR .ad .RS 21n -.rt Cancel the reset notification request. .RE @@ -112,23 +100,19 @@ the \fBscsi_ifgetcap\fR(9F) function. If \fIflag\fR is \fBSCSI_RESET_NOTIFY\fR, \fBscsi_reset_notify()\fR returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt The notification request has been accepted. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt The transport layer does not support reset notification or could not accept this request. .RE @@ -138,23 +122,19 @@ this request. If \fIflag\fR is \fBSCSI_RESET_CANCEL\fR, \fBscsi_reset_notify()\fR returns: .sp .ne 2 -.mk .na \fB\fBDDI_SUCCESS\fR\fR .ad .RS 15n -.rt The notification request has been canceled. .RE .sp .ne 2 -.mk .na \fB\fBDDI_FAILURE\fR\fR .ad .RS 15n -.rt No notification request was registered. .RE diff --git a/usr/src/man/man9f/scsi_sense_key.9f b/usr/src/man/man9f/scsi_sense_key.9f index 5015913744..59d88a94c8 100644 --- a/usr/src/man/man9f/scsi_sense_key.9f +++ b/usr/src/man/man9f/scsi_sense_key.9f @@ -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 scsi_sense_key 9F "28 Jun 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_SENSE_KEY 9F "Jun 28, 2006" .SH NAME scsi_sense_key, scsi_sense_asc, scsi_sense_ascq \- retrieve fields from SCSI sense data @@ -34,12 +34,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIsense_buffer\fR\fR .ad .RS 16n -.rt Pointer to a buffer containing \fBSCSI\fR sense data. The sense data is expected in wire format starting at the response code. It can be in either fixed or descriptor format. diff --git a/usr/src/man/man9f/scsi_setup_cdb.9f b/usr/src/man/man9f/scsi_setup_cdb.9f index 0d460f0f30..9aaf67be27 100644 --- a/usr/src/man/man9f/scsi_setup_cdb.9f +++ b/usr/src/man/man9f/scsi_setup_cdb.9f @@ -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 scsi_setup_cdb 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_SETUP_CDB 9F "Jan 16, 2006" .SH NAME scsi_setup_cdb \- setup SCSI command descriptor block (CDB) .SH SYNOPSIS .LP .nf -\fBint\fR \fBscsi_setup_cdb\fR(\fBunion scsi_cdb\fR \fI*cdbp\fR, \fBuchar_t\fR \fIcmd\fR, \fBuint_t\fR \fIaddr\fR, +\fBint\fR \fBscsi_setup_cdb\fR(\fBunion scsi_cdb\fR \fI*cdbp\fR, \fBuchar_t\fR \fIcmd\fR, \fBuint_t\fR \fIaddr\fR, \fBuint_t\fR \fIcnt\fR, \fBuint_t\fR \fIothr_cdb_data\fR); .fi @@ -20,45 +20,37 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIcdbp\fR\fR .ad .RS 17n -.rt Pointer to command descriptor block. .RE .sp .ne 2 -.mk .na \fB\fIcmd\fR\fR .ad .RS 17n -.rt The first byte of the \fBSCSI\fR group 0, 1, 2, 4, or 5 \fBCDB\fR. .RE .sp .ne 2 -.mk .na \fB\fIaddr\fR\fR .ad .RS 17n -.rt Pointer to the location of the data. .RE .sp .ne 2 -.mk .na \fB\fIcnt\fR\fR .ad .RS 17n -.rt Data transfer length in units defined by the SCSI device type. For sequential devices \fIcnt\fR is the number of bytes. For block devices, \fIcnt\fR is the number of blocks. @@ -66,12 +58,10 @@ number of blocks. .sp .ne 2 -.mk .na \fB\fIothr_cdb_data\fR\fR .ad .RS 17n -.rt Additional \fBCDB\fR data. .RE @@ -98,23 +88,19 @@ sequential access device commands is not set. The \fBscsi_setup_cdb()\fR function returns: .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 5n -.rt Upon success. .RE .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 5n -.rt Upon failure. .RE diff --git a/usr/src/man/man9f/scsi_slave.9f b/usr/src/man/man9f/scsi_slave.9f index 7b7c6c86a5..621c4fd260 100644 --- a/usr/src/man/man9f/scsi_slave.9f +++ b/usr/src/man/man9f/scsi_slave.9f @@ -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 scsi_slave 9F "27 Sep 2002" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_SLAVE 9F "Sep 27, 2002" .SH NAME scsi_slave \- utility for SCSI target drivers to establish the presence of a target .SH SYNOPSIS .LP .nf -#include <sys/scsi/scsi.h> +#include <sys/scsi/scsi.h> @@ -25,23 +25,19 @@ The \fBscsi_slave()\fR function is obsolete. This function has been replaced by .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdevp\fR \fR .ad .RS 13n -.rt Pointer to a \fBscsi_device\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR \fR .ad .RS 13n -.rt Pointer to a callback function, \fBNULL_FUNC\fR or \fBSLEEP_FUNC\fR. .RE @@ -60,34 +56,28 @@ what the allocator routines should do when \fBDMA \fRresources are not available: .sp .ne 2 -.mk .na \fB\fBNULL_FUNC\fR \fR .ad .RS 16n -.rt Do not wait for resources. Return a \fINULL\fR pointer. .RE .sp .ne 2 -.mk .na \fB\fBSLEEP_FUNC\fR \fR .ad .RS 16n -.rt Wait indefinitely for resources. .RE .sp .ne 2 -.mk .na \fBOther Values\fR .ad .RS 16n -.rt \fIcallback\fR points to a function which is called when resources may have become available. \fIcallback\fR \fBmust\fR return either \fB0\fR (indicating that it attempted to allocate resources but again failed to do so), in which @@ -102,56 +92,46 @@ for a retry. \fBscsi_slave()\fR returns: .sp .ne 2 -.mk .na \fB\fBSCSIPROBE_NOMEM\fR \fR .ad .RS 22n -.rt No space available for structures. .RE .sp .ne 2 -.mk .na \fB\fBSCSIPROBE_EXISTS\fR \fR .ad .RS 22n -.rt Device exists and inquiry data is valid. .RE .sp .ne 2 -.mk .na \fB\fBSCSIPROBE_NONCCS\fR \fR .ad .RS 22n -.rt Device exists but inquiry data is not valid. .RE .sp .ne 2 -.mk .na \fB\fBSCSIPROBE_FAILURE\fR \fR .ad .RS 22n -.rt Polled command failure. .RE .sp .ne 2 -.mk .na \fB\fBSCSIPROBE_NORESP\fR \fR .ad .RS 22n -.rt No response to \fBTEST UNIT READY\fR. .RE @@ -170,13 +150,12 @@ See \fBattributes\fR(5) for a description of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Stability LevelObsolete +Stability Level Obsolete .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/scsi_sync_pkt.9f b/usr/src/man/man9f/scsi_sync_pkt.9f index 972835ded0..7ee6290a32 100644 --- a/usr/src/man/man9f/scsi_sync_pkt.9f +++ b/usr/src/man/man9f/scsi_sync_pkt.9f @@ -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 scsi_sync_pkt 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_SYNC_PKT 9F "Jan 16, 2006" .SH NAME scsi_sync_pkt \- synchronize CPU and I/O views of memory .SH SYNOPSIS @@ -23,12 +23,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIpktp\fR\fR .ad .RS 8n -.rt Pointer to a \fBscsi_pkt\fR(9S) structure. .RE diff --git a/usr/src/man/man9f/scsi_transport.9f b/usr/src/man/man9f/scsi_transport.9f index 83701a8f40..4b4f7c65c7 100644 --- a/usr/src/man/man9f/scsi_transport.9f +++ b/usr/src/man/man9f/scsi_transport.9f @@ -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 scsi_transport 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_TRANSPORT 9F "Jan 16, 2006" .SH NAME scsi_transport \- request by a SCSI target driver to start a command .SH SYNOPSIS .LP .nf -#include <sys/scsi/scsi.h> +#include <sys/scsi/scsi.h> @@ -23,12 +23,10 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIpkt\fR\fR .ad .RS 7n -.rt Pointer to a \fBscsi_pkt\fR(9S) structure. .RE @@ -51,23 +49,19 @@ routine provided by the target driver in the \fBpkt_comp\fR member of the The \fBscsi_transport()\fR function returns: .sp .ne 2 -.mk .na \fB\fBTRAN_ACCEPT\fR\fR .ad .RS 20n -.rt The packet was accepted by the transport layer. .RE .sp .ne 2 -.mk .na \fB\fBTRAN_BUSY\fR\fR .ad .RS 20n -.rt The packet could not be accepted because there was already a packet in progress for this target/lun, the host adapter queue was full, or the target device queue was full. @@ -75,24 +69,20 @@ queue was full. .sp .ne 2 -.mk .na \fB\fBTRAN_BADPKT\fR\fR .ad .RS 20n -.rt The \fBDMA\fR count in the packet exceeded the \fBDMA\fR engine's maximum \fBDMA\fR size. .RE .sp .ne 2 -.mk .na \fB\fBTRAN_FATAL_ERROR\fR\fR .ad .RS 20n -.rt A fatal error has occurred in the transport layer. .RE diff --git a/usr/src/man/man9f/scsi_unprobe.9f b/usr/src/man/man9f/scsi_unprobe.9f index ca64b35c7e..15efbebcf8 100644 --- a/usr/src/man/man9f/scsi_unprobe.9f +++ b/usr/src/man/man9f/scsi_unprobe.9f @@ -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 scsi_unprobe 9F "27 Sep 2002" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_UNPROBE 9F "Sep 27, 2002" .SH NAME scsi_unprobe, scsi_unslave \- free resources allocated during initial probing .SH SYNOPSIS .LP .nf -#include <sys/scsi/scsi.h> +#include <sys/scsi/scsi.h> @@ -29,12 +29,10 @@ obsolete. Use \fBscsi_unprobe()\fR instead. .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdevp\fR \fR .ad .RS 9n -.rt Pointer to a \fBscsi_device\fR(9S) structure. .RE diff --git a/usr/src/man/man9f/scsi_validate_sense.9f b/usr/src/man/man9f/scsi_validate_sense.9f index f2ecabd2af..6e24cc8eaf 100644 --- a/usr/src/man/man9f/scsi_validate_sense.9f +++ b/usr/src/man/man9f/scsi_validate_sense.9f @@ -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 scsi_validate_sense 9F "29 Jun 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_VALIDATE_SENSE 9F "Jun 29, 2006" .SH NAME scsi_validate_sense \- find descriptor in SCSI sense data .SH SYNOPSIS @@ -13,7 +13,7 @@ scsi_validate_sense \- find descriptor in SCSI sense data -\fBint\fR \fBscsi_validate_sense\fR(\fBuint8_t *\fR\fIsense_buffer\fR, \fBint\fR \fIsense_buf_len\fR, +\fBint\fR \fBscsi_validate_sense\fR(\fBuint8_t *\fR\fIsense_buffer\fR, \fBint\fR \fIsense_buf_len\fR, \fBint *\fR\fIflags\fR); .fi @@ -24,35 +24,29 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIsense_buffer\fR\fR .ad .RS 17n -.rt Pointer to a buffer containing \fBSCSI\fR sense data. The sense data is expected in wire format starting at the response code. .RE .sp .ne 2 -.mk .na \fB\fIsense_buf_len\fR\fR .ad .RS 17n -.rt Length of sense buffer in bytes. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 17n -.rt Returns additional properties of the sense data. .RE @@ -71,24 +65,20 @@ sense data in descriptor format, the function returns \fBSENSE_DESCR_FORMAT\fR. The following flags may be set as appropriate depending on the sense data: .sp .ne 2 -.mk .na \fB\fBSNS_BUF_OVERFLOW\fR\fR .ad .RS 20n -.rt The sense data buffer provided for the request is too small to hold all the sense data. .RE .sp .ne 2 -.mk .na \fB\fBSNS_BUF_DEFERRED\fR\fR .ad .RS 20n -.rt The sense data contained in the buffer relates to an error that has occurred during the processing of a successfully completed command, such as a cached write that could not be commited to the media. @@ -97,35 +87,29 @@ write that could not be commited to the media. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fBSENSE_UNUSABLE\fR\fR .ad .RS 22n -.rt The response code from the sense data is unrecognized or not enough sense data present to provide the \fBsense key\fR, \fBasc\fR, and \fBascq\fR. .RE .sp .ne 2 -.mk .na \fB\fBSENSE_FIXED_FORMAT\fR\fR .ad .RS 22n -.rt The sense data in the buffer is in "fixed format". .RE .sp .ne 2 -.mk .na \fB\fBSENSE_DESCR_FORMAT\fR\fR .ad .RS 22n -.rt The sense data in the buffer is in "descriptor format". .RE diff --git a/usr/src/man/man9f/scsi_vu_errmsg.9f b/usr/src/man/man9f/scsi_vu_errmsg.9f index 0d8fc4ec08..59d15f393b 100644 --- a/usr/src/man/man9f/scsi_vu_errmsg.9f +++ b/usr/src/man/man9f/scsi_vu_errmsg.9f @@ -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 scsi_vu_errmsg 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SCSI_VU_ERRMSG 9F "Jan 16, 2006" .SH NAME scsi_vu_errmsg \- display a SCSI request sense message .SH SYNOPSIS @@ -14,7 +14,7 @@ scsi_vu_errmsg \- display a SCSI request sense message \fBvoid\fR \fBscsi_vu_errmsg\fR(\fBstruct scsi_pkt\fR \fI*pktp\fR, \fBchar\fR \fI*drv_name\fR, \fBint severity,\fR - \fBint err_blkno,\fR \fBstruct scsi_key_strings\fR \fI*cmdlist\fR, + \fBint err_blkno,\fR \fBstruct scsi_key_strings\fR \fI*cmdlist\fR, \fBstruct scsi_extended_sense\fR \fI*sensep\fR, \fBstruct scsi_asq_key_strings\fR \fI*asc_list\fR, \fBchar **decode_fru struct scsi_device\fR\fI*\fR, char \fI*\fR, int, char); @@ -30,112 +30,92 @@ Solaris DDI specific (Solaris DDI). The following parameters are supported: .sp .ne 2 -.mk .na \fB\fIdevp\fR\fR .ad .RS 14n -.rt Pointer to the \fBscsi_device\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIpktp\fR\fR .ad .RS 14n -.rt Pointer to a \fBscsi_pkt\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIdrv_name\fR\fR .ad .RS 14n -.rt String used by \fBscsi_log\fR(9F). .RE .sp .ne 2 -.mk .na \fB\fIseverity\fR\fR .ad .RS 14n -.rt Error severity level, maps to severity strings below. .RE .sp .ne 2 -.mk .na \fB\fIblkno\fR\fR .ad .RS 14n -.rt Requested block number. .RE .sp .ne 2 -.mk .na \fB\fIerr_blkno\fR\fR .ad .RS 14n -.rt Error block number. .RE .sp .ne 2 -.mk .na \fB\fIcmdlist\fR\fR .ad .RS 14n -.rt An array of SCSI command description strings. .RE .sp .ne 2 -.mk .na \fB\fIsensep\fR\fR .ad .RS 14n -.rt A pointer to a \fBscsi_extended_sense\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIasc_list\fR\fR .ad .RS 14n -.rt A pointer to a array of asc and ascq message list.The list must be terminated with \fB-1\fR asc value. .RE .sp .ne 2 -.mk .na \fB\fIdecode_fru\fR\fR .ad .RS 14n -.rt This is a function pointer that will be called after the entire sense information has been decoded. The parameters will be the scsi_device structure to identify the device. Second argument will be a pointer to a buffer of length @@ -174,7 +154,7 @@ below: .sp .in +2 .nf - Severity Value: String: + Severity Value: String: SCSI_ERR_ALL All SCSI_ERR_UNKNOWN Unknown SCSI_ERR_INFO Information @@ -209,7 +189,7 @@ For a basic SCSI disk, the following list is appropriate: .sp .in +2 .nf - static struct scsi_key_strings scsi_cmds[] = { + static struct scsi_key_strings scsi_cmds[] = { 0x00, "test unit ready", 0x01, "rezero/rewind", 0x03, "request sense", @@ -252,7 +232,7 @@ kernel context. -1, 0, NULL, }; - + scsi_vu_errmsg(devp, pkt, "sd", SCSI_ERR_INFO, bp->b_blkno, err_blkno, sd_cmds, rqsense, cd_list, diff --git a/usr/src/man/man9f/semaphore.9f b/usr/src/man/man9f/semaphore.9f index 9c960ec09c..b5b3cda2e8 100644 --- a/usr/src/man/man9f/semaphore.9f +++ b/usr/src/man/man9f/semaphore.9f @@ -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 semaphore 9F "7 May 1997" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SEMAPHORE 9F "May 7, 1997" .SH NAME semaphore, sema_init, sema_destroy, sema_p, sema_p_sig, sema_v, sema_tryp \- semaphore functions @@ -50,57 +50,47 @@ Solaris \fBDDI\fR specific (Solaris \fBDDI\fR). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIsp\fR\fR .ad .RS 8n -.rt A pointer to a semaphore, type \fBksema_t\fR. .RE .sp .ne 2 -.mk .na \fB\fIval\fR\fR .ad .RS 8n -.rt Initial value for semaphore. .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 8n -.rt Descriptive string. This is obsolete and should be \fINULL\fR. (Non-\fINULL\fR strings are legal, but they are a waste of kernel memory.) .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 8n -.rt Variant type of the semaphore. Currently, only \fBSEMA_DRIVER\fR is supported. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 8n -.rt Type-specific argument; should be \fINULL\fR. .RE @@ -133,23 +123,19 @@ greater than zero, and will not block. .SH RETURN VALUES .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 5n -.rt \fBsema_tryp()\fR could not decrement the semaphore value because it was zero. .RE .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 5n -.rt \fBsema_p_sig()\fR was not able to decrement the semaphore value and detected a pending signal. .RE diff --git a/usr/src/man/man9f/stoi.9f b/usr/src/man/man9f/stoi.9f index 8b54833ae4..74bc07d6bc 100644 --- a/usr/src/man/man9f/stoi.9f +++ b/usr/src/man/man9f/stoi.9f @@ -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 stoi 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH STOI 9F "Jan 16, 2006" .SH NAME stoi, numtos \- convert between an integer and a decimal string .SH SYNOPSIS .LP .nf -#include <sys/ddi.h> +#include <sys/ddi.h> \fBint\fR \fBstoi\fR(\fBchar\fR \fI**str\fR); .fi @@ -26,34 +26,28 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIstr\fR\fR .ad .RS 7n -.rt Pointer to a character string to be converted. .RE .sp .ne 2 -.mk .na \fB\fInum\fR\fR .ad .RS 7n -.rt Decimal number to be converted to a character string. .RE .sp .ne 2 -.mk .na \fB\fIs\fR\fR .ad .RS 7n -.rt Character buffer to hold converted decimal number. .RE diff --git a/usr/src/man/man9f/string.9f b/usr/src/man/man9f/string.9f index eaaab44a1d..a07dbe941e 100644 --- a/usr/src/man/man9f/string.9f +++ b/usr/src/man/man9f/string.9f @@ -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 string 9F "27 Feb 2009" "SunOS 5.11" "Kernel Functions for Drivers" +.TH STRING 9F "Feb 27, 2009" .SH NAME string, strcasecmp, strncasecmp, strncat, strlcat, strchr, strrchr, strcmp, strncmp, strcpy, strncpy, strlcpy, strfree, strspn, strdup, ddi_strdup, strlen, @@ -253,13 +253,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/strlog.9f b/usr/src/man/man9f/strlog.9f index f35f7c44fa..505c8f39b7 100644 --- a/usr/src/man/man9f/strlog.9f +++ b/usr/src/man/man9f/strlog.9f @@ -5,19 +5,19 @@ .\" 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 strlog 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH STRLOG 9F "Jan 16, 2006" .SH NAME strlog \- submit messages to the log driver .SH SYNOPSIS .LP .nf #include <sys/stream.h> -#include <sys/strlog.h> +#include <sys/strlog.h> #include <sys/log.h> -\fBint\fR \fBstrlog\fR(\fBshort\fR \fImid\fR, \fBshort\fR \fIsid\fR, \fBchar\fR \fIlevel\fR, +\fBint\fR \fBstrlog\fR(\fBshort\fR \fImid\fR, \fBshort\fR \fIsid\fR, \fBchar\fR \fIlevel\fR, \fBunsigned short\fR \fIflags\fR, \fBchar *\fR\fIfmt\fR, ...); .fi @@ -28,122 +28,100 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImid\fR\fR .ad .RS 9n -.rt Identification number of the module or driver submitting the message (in the case of a module, its \fBmi_idnum\fR value from \fBmodule_info\fR(9S)). .RE .sp .ne 2 -.mk .na \fB\fIsid\fR\fR .ad .RS 9n -.rt Identification number for a particular minor device. .RE .sp .ne 2 -.mk .na \fB\fIlevel\fR\fR .ad .RS 9n -.rt Tracing level for selective screening of low priority messages. Larger values imply less important information. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 9n -.rt Valid flag values are: .sp .ne 2 -.mk .na \fB\fBSL_ERROR\fR\fR .ad .RS 14n -.rt Message is for error logger. .RE .sp .ne 2 -.mk .na \fB\fBSL_TRACE\fR\fR .ad .RS 14n -.rt Message is for trace. .RE .sp .ne 2 -.mk .na \fB\fBSL_NOTIFY\fR\fR .ad .RS 14n -.rt Mail copy of message to system administrator. .RE .sp .ne 2 -.mk .na \fB\fBSL_CONSOLE\fR\fR .ad .RS 14n -.rt Log message to console. .RE .sp .ne 2 -.mk .na \fB\fBSL_FATAL\fR\fR .ad .RS 14n -.rt Error is fatal. .RE .sp .ne 2 -.mk .na \fB\fBSL_WARN\fR\fR .ad .RS 14n -.rt Error is a warning. .RE .sp .ne 2 -.mk .na \fB\fBSL_NOTE\fR\fR .ad .RS 14n -.rt Error is a notice. .RE @@ -151,12 +129,10 @@ Error is a notice. .sp .ne 2 -.mk .na \fB\fIfmt\fR\fR .ad .RS 9n -.rt \fBprintf\fR(3C) style format string. \fB%e\fR, \fB%g\fR, and \fB%G\fR formats are not allowed but \fB%s\fR is supported. .RE @@ -192,7 +168,6 @@ context. .SH FILES .sp .ne 2 -.mk .na \fB\fB/var/adm/streams/error.\fR\fImm-dd\fR\fR .ad diff --git a/usr/src/man/man9f/strqget.9f b/usr/src/man/man9f/strqget.9f index cf40bae5cf..3bf1e4ddf3 100644 --- a/usr/src/man/man9f/strqget.9f +++ b/usr/src/man/man9f/strqget.9f @@ -4,7 +4,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 strqget 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH STRQGET 9F "Jan 16, 2006" .SH NAME strqget \- get information about a queue or band of the queue .SH SYNOPSIS @@ -24,110 +24,90 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 8n -.rt Pointer to the queue. .RE .sp .ne 2 -.mk .na \fB\fIwhat\fR\fR .ad .RS 8n -.rt Field of the \fBqueue\fR structure for (or the specified priority band) to return information about. Valid values are one of: .sp .ne 2 -.mk .na \fB\fBQHIWAT\fR\fR .ad .RS 11n -.rt High water mark. .RE .sp .ne 2 -.mk .na \fB\fBQLOWAT\fR\fR .ad .RS 11n -.rt Low water mark. .RE .sp .ne 2 -.mk .na \fB\fBQMAXPSZ\fR\fR .ad .RS 11n -.rt Largest packet accepted. .RE .sp .ne 2 -.mk .na \fB\fBQMINPSZ\fR\fR .ad .RS 11n -.rt Smallest packet accepted. .RE .sp .ne 2 -.mk .na \fB\fBQCOUNT\fR\fR .ad .RS 11n -.rt Approximate size (in bytes) of data. .RE .sp .ne 2 -.mk .na \fB\fBQFIRST\fR\fR .ad .RS 11n -.rt First message. .RE .sp .ne 2 -.mk .na \fB\fBQLAST\fR\fR .ad .RS 11n -.rt Last message. .RE .sp .ne 2 -.mk .na \fB\fBQFLAG\fR\fR .ad .RS 11n -.rt Status. .RE @@ -135,23 +115,19 @@ Status. .sp .ne 2 -.mk .na \fB\fIpri\fR\fR .ad .RS 8n -.rt Priority band of interest. .RE .sp .ne 2 -.mk .na \fB\fIvalp\fR\fR .ad .RS 8n -.rt The address of where to store the value of the requested field. .RE diff --git a/usr/src/man/man9f/strqset.9f b/usr/src/man/man9f/strqset.9f index 1ebbfafe00..5ccc58a25d 100644 --- a/usr/src/man/man9f/strqset.9f +++ b/usr/src/man/man9f/strqset.9f @@ -4,7 +4,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 strqset 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH STRQSET 9F "Jan 16, 2006" .SH NAME strqset \- change information about a queue or band of the queue .SH SYNOPSIS @@ -24,66 +24,54 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIq\fR\fR .ad .RS 8n -.rt Pointer to the queue. .RE .sp .ne 2 -.mk .na \fB\fIwhat\fR\fR .ad .RS 8n -.rt Field of the \fBqueue\fR structure (or the specified priority band) to return information about. Valid values are one of: .sp .ne 2 -.mk .na \fB\fBQHIWAT\fR\fR .ad .RS 11n -.rt High water mark. .RE .sp .ne 2 -.mk .na \fB\fBQLOWAT\fR\fR .ad .RS 11n -.rt Low water mark. .RE .sp .ne 2 -.mk .na \fB\fBQMAXPSZ\fR\fR .ad .RS 11n -.rt Largest packet accepted. .RE .sp .ne 2 -.mk .na \fB\fBQMINPSZ\fR\fR .ad .RS 11n -.rt Smallest packet accepted. .RE @@ -91,23 +79,19 @@ Smallest packet accepted. .sp .ne 2 -.mk .na \fB\fIpri\fR\fR .ad .RS 8n -.rt Priority band of interest. .RE .sp .ne 2 -.mk .na \fB\fIval\fR\fR .ad .RS 8n -.rt The value for the field to be changed. .RE diff --git a/usr/src/man/man9f/swab.9f b/usr/src/man/man9f/swab.9f index 4b895fc5f6..39fdaf2bc0 100644 --- a/usr/src/man/man9f/swab.9f +++ b/usr/src/man/man9f/swab.9f @@ -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 swab 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH SWAB 9F "Jan 16, 2006" .SH NAME swab \- swap bytes in 16-bit halfwords .SH SYNOPSIS @@ -23,35 +23,29 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIsrc\fR\fR .ad .RS 10n -.rt A pointer to the buffer containing the bytes to be swapped. .RE .sp .ne 2 -.mk .na \fB\fIdst\fR\fR .ad .RS 10n -.rt A pointer to the destination buffer where the swapped bytes will be written. If \fIdst\fR is the same as \fIsrc\fR the buffer will be swapped in place. .RE .sp .ne 2 -.mk .na \fB\fInbytes\fR\fR .ad .RS 10n -.rt Number of bytes to be swapped, rounded down to the nearest half-word. .RE diff --git a/usr/src/man/man9f/taskq.9f b/usr/src/man/man9f/taskq.9f index 2ad3c050ee..1426fb491e 100644 --- a/usr/src/man/man9f/taskq.9f +++ b/usr/src/man/man9f/taskq.9f @@ -4,7 +4,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 taskq 9F "1 Mar 2005" "SunOS 5.11" "Kernel Functions for Drivers" +.TH TASKQ 9F "Mar 1, 2005" .SH NAME taskq, ddi_taskq_create, ddi_taskq_destroy, ddi_taskq_dispatch, ddi_taskq_wait, ddi_taskq_suspend, taskq_suspended, ddi_taskq_resume \- Kernel task queue @@ -25,7 +25,7 @@ operations .LP .nf -\fBint\fR \fBddi_taskq_dispatch\fR(\fBddi_taskq_t *\fR\fItq\fR, \fBvoid (*\fR \fIfunc)\fR(void *), +\fBint\fR \fBddi_taskq_dispatch\fR(\fBddi_taskq_t *\fR\fItq\fR, \fBvoid (*\fR \fIfunc)\fR(void *), \fBvoid *\fR\fIarg\fR, \fBuint_t\fR \fIdflags\fR); .fi @@ -56,36 +56,30 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 12n -.rt Pointer to the device's dev_info structure. May be NULL for kernel modules that do not have an associated dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 12n -.rt Descriptive string. Only alphanumeric characters can be used in name and spaces are not allowed. The name should be unique. .RE .sp .ne 2 -.mk .na \fB\fInthreads\fR\fR .ad .RS 12n -.rt Number of threads servicing the task queue. Note that the request ordering is guaranteed (tasks are processed in the order scheduled) if the \fBtaskq\fR is created with a single servicing thread. @@ -93,77 +87,63 @@ created with a single servicing thread. .sp .ne 2 -.mk .na \fB\fIpri\fR\fR .ad .RS 12n -.rt Priority of threads servicing the task queue. Drivers and modules should specify TASKQ_DEFAULTPRI. .RE .sp .ne 2 -.mk .na \fB\fIcflags\fR\fR .ad .RS 12n -.rt Should pass 0 as flags. .RE .sp .ne 2 -.mk .na \fB\fIfunc\fR\fR .ad .RS 12n -.rt Callback function to call. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 12n -.rt Argument to the callback function. .RE .sp .ne 2 -.mk .na \fB\fIdflags\fR\fR .ad .RS 12n -.rt Possible \fIdflags\fR are: .sp .ne 2 -.mk .na \fBDDI_SLEEP\fR .ad .RS 15n -.rt Allow sleeping (blocking) until memory is available. .RE .sp .ne 2 -.mk .na \fBDDI_NOSLEEP\fR .ad .RS 15n -.rt Return DDI_FAILURE immediately if memory is not available. .RE @@ -171,23 +151,19 @@ Return DDI_FAILURE immediately if memory is not available. .sp .ne 2 -.mk .na \fB\fItq\fR\fR .ad .RS 12n -.rt Pointer to a task queue (ddi_taskq_t *). .RE .sp .ne 2 -.mk .na \fB\fItp\fR\fR .ad .RS 12n -.rt Pointer to a thread structure. .RE diff --git a/usr/src/man/man9f/testb.9f b/usr/src/man/man9f/testb.9f index 684edd66b8..b302c4721f 100644 --- a/usr/src/man/man9f/testb.9f +++ b/usr/src/man/man9f/testb.9f @@ -4,7 +4,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 testb 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH TESTB 9F "Jan 16, 2006" .SH NAME testb \- check for an available buffer .SH SYNOPSIS @@ -24,23 +24,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 8n -.rt Size of the requested buffer. .RE .sp .ne 2 -.mk .na \fB\fIpri\fR\fR .ad .RS 8n -.rt Priority of the allocb request. .RE diff --git a/usr/src/man/man9f/timeout.9f b/usr/src/man/man9f/timeout.9f index 2fa1157b95..07de9f388c 100644 --- a/usr/src/man/man9f/timeout.9f +++ b/usr/src/man/man9f/timeout.9f @@ -4,7 +4,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 timeout 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH TIMEOUT 9F "Jan 16, 2006" .SH NAME timeout \- execute a function after a specified length of time .SH SYNOPSIS @@ -15,7 +15,7 @@ timeout \- execute a function after a specified length of time -\fBtimeout_id_t\fR \fBtimeout\fR(\fBvoid (\fR\fI* func\fR)(void \fI*\fR), \fBvoid\fR \fI*arg\fR, +\fBtimeout_id_t\fR \fBtimeout\fR(\fBvoid (\fR\fI* func\fR)(void \fI*\fR), \fBvoid\fR \fI*arg\fR, \fBclock_t\fR \fIticks\fR); .fi @@ -26,34 +26,28 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIfunc\fR\fR .ad .RS 9n -.rt Kernel function to invoke when the time increment expires. .RE .sp .ne 2 -.mk .na \fB\fIarg\fR\fR .ad .RS 9n -.rt Argument to the function. .RE .sp .ne 2 -.mk .na \fB\fIticks\fR\fR .ad .RS 9n -.rt Number of clock ticks to wait before the function is called. Use \fBdrv_usectohz\fR(9F) to convert microseconds to clock ticks. .RE @@ -144,7 +138,7 @@ xxcheckcond(struct xxstate *xsp) . . . -} +} .fi .in -2 diff --git a/usr/src/man/man9f/u8_strcmp.9f b/usr/src/man/man9f/u8_strcmp.9f index 257fa04abe..21317fae5a 100644 --- a/usr/src/man/man9f/u8_strcmp.9f +++ b/usr/src/man/man9f/u8_strcmp.9f @@ -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 u8_strcmp 9F "18 Sep 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH U8_STRCMP 9F "Sep 18, 2007" .SH NAME u8_strcmp \- UTF-8 string comparison function .SH SYNOPSIS @@ -22,23 +22,19 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIs1\fR, \fIs2\fR\fR .ad .RS 20n -.rt Pointers to null-terminated UTF-8 strings .RE .sp .ne 2 -.mk .na \fB\fIn\fR\fR .ad .RS 20n -.rt The maximum number of bytes to be compared. If 0, the comparison is performed until either or both of the strings are examined to the string terminating null byte. @@ -46,17 +42,14 @@ byte. .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 20n -.rt The possible comparison options constructed by a bit-wise-inclusive-OR of the following values: .sp .ne 2 -.mk .na \fB\fBU8_STRCMP_CS\fR\fR .ad @@ -67,7 +60,6 @@ Perform case-sensitive string comparison. This is the default. .sp .ne 2 -.mk .na \fB\fBU8_STRCMP_CI_UPPER\fR\fR .ad @@ -79,7 +71,6 @@ converted results of \fIs1\fR and \fIs2\fR. .sp .ne 2 -.mk .na \fB\fBU8_STRCMP_CI_LOWER\fR\fR .ad @@ -91,7 +82,6 @@ converted results of \fIs1\fR and \fIs2\fR. .sp .ne 2 -.mk .na \fB\fBU8_STRCMP_NFD\fR\fR .ad @@ -103,7 +93,6 @@ using Unicode Normalization Form D. .sp .ne 2 -.mk .na \fB\fBU8_STRCMP_NFC\fR\fR .ad @@ -115,7 +104,6 @@ using Unicode Normalization Form C. .sp .ne 2 -.mk .na \fB\fBU8_STRCMP_NFKD\fR\fR .ad @@ -127,7 +115,6 @@ using Unicode Normalization Form KD. .sp .ne 2 -.mk .na \fB\fBU8_STRCMP_NFKC\fR\fR .ad @@ -143,17 +130,14 @@ Normalization option is allowed. .sp .ne 2 -.mk .na \fB\fIunicode_version\fR\fR .ad .RS 20n -.rt The version of Unicode data that should be used during comparison. The following values are supported: .sp .ne 2 -.mk .na \fB\fBU8_UNICODE_320\fR\fR .ad @@ -164,7 +148,6 @@ Use Unicode 3.2.0 data during comparison. .sp .ne 2 -.mk .na \fB\fBU8_UNICODE_500\fR\fR .ad @@ -175,7 +158,6 @@ Use Unicode 5.0.0 data during comparison. .sp .ne 2 -.mk .na \fB\fBU8_UNICODE_LATEST\fR\fR .ad @@ -188,55 +170,45 @@ Use the latest Unicode version data available, which is Unicode 5.0.0. .sp .ne 2 -.mk .na \fB\fIerrno\fR\fR .ad .RS 20n -.rt A non-zero value indicates that an error has occurred during comparison. The following values are supported: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The specified option values are conflicting and cannot be supported. .RE .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt There was an illegal character at \fIs1\fR, \fIs2\fR, or both. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt There was an incomplete character at \fIs1\fR, \fIs2\fR, or both. .RE .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The specified Unicode version value is not supported. .RE @@ -364,13 +336,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/u8_textprep_str.9f b/usr/src/man/man9f/u8_textprep_str.9f index db69e2ab28..29ddb5b9a1 100644 --- a/usr/src/man/man9f/u8_textprep_str.9f +++ b/usr/src/man/man9f/u8_textprep_str.9f @@ -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 u8_textprep_str 9F "18 Sep 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH U8_TEXTPREP_STR 9F "Sep 18, 2007" .SH NAME u8_textprep_str \- string-based UTF-8 text preparation function .SH SYNOPSIS @@ -25,47 +25,39 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIinarray\fR\fR .ad .RS 20n -.rt A pointer to a byte array containing a sequence of UTF-8 character bytes to be prepared. .RE .sp .ne 2 -.mk .na \fB\fIinlen\fR\fR .ad .RS 20n -.rt As input argument, the number of bytes to be prepared in \fIinarray\fR. As output argument, the number of bytes in \fIinarray\fR still not consumed. .RE .sp .ne 2 -.mk .na \fB\fIoutarray\fR\fR .ad .RS 20n -.rt A pointer to a byte array where prepared UTF-8 character bytes can be saved. .RE .sp .ne 2 -.mk .na \fB\fIoutlen\fR\fR .ad .RS 20n -.rt As input argument, the number of available bytes at \fIoutarray\fR where prepared character bytes can be saved. As output argument, after the conversion, the number of bytes still available at \fIoutarray\fR. @@ -73,17 +65,14 @@ conversion, the number of bytes still available at \fIoutarray\fR. .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 20n -.rt The possible preparation options constructed by a bitwise-inclusive-OR of the following values: .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_IGNORE_NULL\fR\fR .ad @@ -99,7 +88,6 @@ consumed for preparation or an error happened. .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_IGNORE_INVALID\fR\fR .ad @@ -114,7 +102,6 @@ and instead treats such characters as no need to do any preparation. .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_TOUPPER\fR\fR .ad @@ -125,7 +112,6 @@ Map lowercase characters to uppercase characters if applicable. .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_TOLOWER\fR\fR .ad @@ -136,7 +122,6 @@ Map uppercase characters to lowercase characters if applicable. .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_NFD\fR\fR .ad @@ -147,7 +132,6 @@ Apply Unicode Normalization Form D. .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_NFC\fR\fR .ad @@ -158,7 +142,6 @@ Apply Unicode Normalization Form C. .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_NFKD\fR\fR .ad @@ -169,7 +152,6 @@ Apply Unicode Normalization Form KD. .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_NFKC\fR\fR .ad @@ -191,17 +173,14 @@ bytes from input to output. .sp .ne 2 -.mk .na \fB\fIunicode_version\fR\fR .ad .RS 20n -.rt The version of Unicode data that should be used during UTF-8 text preparation. The following values are supported: .sp .ne 2 -.mk .na \fB\fBU8_UNICODE_320\fR\fR .ad @@ -212,7 +191,6 @@ Use Unicode 3.2.0 data during comparison. .sp .ne 2 -.mk .na \fB\fBU8_UNICODE_500\fR\fR .ad @@ -223,7 +201,6 @@ Use Unicode 5.0.0 data during comparison. .sp .ne 2 -.mk .na \fB\fBU8_UNICODE_LATEST\fR\fR .ad @@ -236,67 +213,55 @@ Use the latest Unicode version data available which is Unicode 5.0.0 currently. .sp .ne 2 -.mk .na \fB\fIerrno\fR\fR .ad .RS 20n -.rt The error value when preparation is not completed or fails. The following values are supported: .sp .ne 2 -.mk .na \fB\fBE2BIG\fR\fR .ad .RS 10n -.rt Text preparation stopped due to lack of space in the output array. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt Specified option values are conflicting and cannot be supported. .RE .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt Text preparation stopped due to an input byte that does not belong to UTF-8. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Text preparation stopped due to an incomplete UTF-8 character at the end of the input array. .RE .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The specified Unicode version value is not a supported version. .RE @@ -406,13 +371,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/u8_validate.9f b/usr/src/man/man9f/u8_validate.9f index 2f0e311feb..cc8e56cd03 100644 --- a/usr/src/man/man9f/u8_validate.9f +++ b/usr/src/man/man9f/u8_validate.9f @@ -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 u8_validate 9F "18 Sep 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH U8_VALIDATE 9F "Sep 18, 2007" .SH NAME u8_validate \- validate UTF-8 characters and calculate the byte length .SH SYNOPSIS @@ -24,34 +24,28 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIu8str\fR\fR .ad .RS 9n -.rt The UTF-8 string to be validated. .RE .sp .ne 2 -.mk .na \fB\fIn\fR\fR .ad .RS 9n -.rt The maximum number of bytes in \fIu8str\fR that can be examined and validated. .RE .sp .ne 2 -.mk .na \fB\fIlist\fR\fR .ad .RS 9n -.rt A list of null-terminated character strings in UTF-8 that must be additionally checked against as invalid characters. The last string in \fIlist\fR must be null to indicate there is no further string. @@ -59,17 +53,14 @@ null to indicate there is no further string. .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 9n -.rt Possible validation options constructed by a bitwise-inclusive-OR of the following values: .sp .ne 2 -.mk .na \fB\fBU8_VALIDATE_ENTIRE\fR\fR .ad @@ -86,7 +77,6 @@ result. .sp .ne 2 -.mk .na \fB\fBU8_VALIDATE_CHECK_ADDITIONAL\fR\fR .ad @@ -102,7 +92,6 @@ strings supplied with \fIlist\fR and returns EBADF in \fIerrno\fR if .sp .ne 2 -.mk .na \fB\fBU8_VALIDATE_UCS2_RANGE\fR\fR .ad @@ -119,57 +108,47 @@ U+0000 to U+FFFF. .sp .ne 2 -.mk .na \fB\fIerrno\fR\fR .ad .RS 9n -.rt An error occurred during validation. The following values are supported: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt Validation failed because list-specified characters were found in the string pointed to by \fIu8str\fR. .RE .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt Validation failed because an illegal byte was found in the string pointed to by \fIu8str\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Validation failed because an incomplete byte was found in the string pointed to by \fIu8str\fR. .RE .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt Validation failed because character bytes were encountered that are outside the range of the Unicode coding space. .RE @@ -300,13 +279,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/uconv_u16tou32.9f b/usr/src/man/man9f/uconv_u16tou32.9f index 37e968102e..2a5ff771a8 100644 --- a/usr/src/man/man9f/uconv_u16tou32.9f +++ b/usr/src/man/man9f/uconv_u16tou32.9f @@ -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 uconv_u16tou32 9F "18 Sep 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH UCONV_U16TOU32 9F "Sep 18, 2007" .SH NAME uconv_u16tou32, uconv_u16tou8, uconv_u32tou16, uconv_u32tou8, uconv_u8tou16, uconv_u8tou32 \- Unicode encoding conversion functions @@ -55,23 +55,19 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIutf16str\fR\fR .ad .RS 12n -.rt A pointer to a \fBUTF-16\fR character string. .RE .sp .ne 2 -.mk .na \fB\fIutf16len\fR\fR .ad .RS 12n -.rt As an input parameter, the number of 16-bit unsigned integers in \fIutf16str\fR as \fBUTF-16\fR characters to be converted or saved. .sp @@ -81,23 +77,19 @@ As an output parameter, the number of 16-bit unsigned integers in .sp .ne 2 -.mk .na \fB\fIutf32str\fR\fR .ad .RS 12n -.rt A pointer to a \fBUTF-32\fR character string. .RE .sp .ne 2 -.mk .na \fB\fIutf32len\fR\fR .ad .RS 12n -.rt As an input parameter, the number of 32-bit unsigned integers in \fIutf32str\fR as \fBUTF-32\fR characters to be converted or saved. .sp @@ -107,23 +99,19 @@ As an output parameter, the number of 32-bit unsigned integers in .sp .ne 2 -.mk .na \fB\fIutf8str\fR\fR .ad .RS 12n -.rt A pointer to a \fBUTF-8\fR character string. .RE .sp .ne 2 -.mk .na \fB\fIutf8len\fR\fR .ad .RS 12n -.rt As an input parameter, the number of bytes in \fIutf8str\fR as \fBUTF-8\fR characters to be converted or saved. .sp @@ -133,17 +121,14 @@ during conversion. .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 12n -.rt The possible conversion options that are constructed by a bitwise-inclusive-OR of the following values: .sp .ne 2 -.mk .na \fB\fBUCONV_IN_BIG_ENDIAN\fR\fR .ad @@ -154,7 +139,6 @@ The input parameter is in big endian byte ordering. .sp .ne 2 -.mk .na \fB\fBUCONV_OUT_BIG_ENDIAN\fR\fR .ad @@ -165,7 +149,6 @@ The output parameter should be in big endian byte ordering. .sp .ne 2 -.mk .na \fB\fBUCONV_IN_SYSTEM_ENDIAN\fR\fR .ad @@ -176,7 +159,6 @@ The input parameter is in the default byte ordering of the current system. .sp .ne 2 -.mk .na \fB\fBUCONV_OUT_SYSTEM_ENDIAN\fR\fR .ad @@ -188,7 +170,6 @@ system. .sp .ne 2 -.mk .na \fB\fBUCONV_IN_LITTLE_ENDIAN\fR\fR .ad @@ -199,7 +180,6 @@ The input parameter is in little endian byte ordering. .sp .ne 2 -.mk .na \fB\fBUCONV_OUT_LITTLE_ENDIAN\fR\fR .ad @@ -210,7 +190,6 @@ The output parameter should be in little endian byte ordering. .sp .ne 2 -.mk .na \fB\fBUCONV_IGNORE_NULL\fR\fR .ad @@ -221,7 +200,6 @@ The null or \fBU+0000\fR character should not stop the conversion. .sp .ne 2 -.mk .na \fB\fBUCONV_IN_ACCEPT_BOM\fR\fR .ad @@ -233,7 +211,6 @@ character of the input parameter, interpret it as the \fBBOM\fR character. .sp .ne 2 -.mk .na \fB\fBUCONV_OUT_EMIT_BOM\fR\fR .ad @@ -340,48 +317,40 @@ Upon successful conversion, the functions return \fB0\fR. Upon failure, the functions return one of the following \fBerrno\fR values: .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt The conversion detected an illegal or out of bound character value in the input parameter. .RE .sp .ne 2 -.mk .na \fB\fBE2BIG\fR\fR .ad .RS 10n -.rt The conversion cannot finish because the size specified in the output parameter is too small. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The conversion stops due to an incomplete character at the end of the input string. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt Conflicting byte-ordering option \fIflag\fR values are detected. .RE @@ -406,7 +375,7 @@ int ret; \&. \&. u16len = u8len = MAXNAMELEN; -ret = uconv_u16tou8(u16s, &u16len, u8s, &u8len, +ret = uconv_u16tou8(u16s, &u16len, u8s, &u8len, UCONV_IN_LITTLE_ENDIAN); if (ret != 0) { /* Conversion error occurred. */ @@ -442,7 +411,7 @@ size_t u32len, u16len; \&. \&. u32len = u16len = 100; -ret = uconv_u32tou16(u32s, &u32len, u16s, &u16len, +ret = uconv_u32tou16(u32s, &u32len, u16s, &u16len, UCONV_IN_BIG_ENDIAN | UCONV_OUT_LITTLE_ENDIAN); if (ret == 0) { return (0); @@ -451,7 +420,7 @@ if (ret == 0) { uint16_t u16s2[201]; u16len = 200; - ret = uconv_u32tou16(u32s, &u32len, u16s2, &u16len, + ret = uconv_u32tou16(u32s, &u32len, u16s2, &u16len, UCONV_IN_BIG_ENDIAN | UCONV_OUT_LITTLE_ENDIAN); if (ret == 0) return (0); @@ -488,7 +457,7 @@ int ret; \&. \&. u8len = u16len = MAXNAMELEN; -ret = uconv_u8tou16(u8s, &u8len, u16s, &u16len, +ret = uconv_u8tou16(u8s, &u8len, u16s, &u16len, UCONV_IN_LITTLE_ENDIAN | UCONV_EMIT_BOM); if (ret != 0) { /* Conversion error occurred. */ @@ -508,13 +477,12 @@ 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 .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/uiomove.9f b/usr/src/man/man9f/uiomove.9f index 1bbbdd3dd0..ca3d6a3599 100644 --- a/usr/src/man/man9f/uiomove.9f +++ b/usr/src/man/man9f/uiomove.9f @@ -4,7 +4,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 uiomove 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH UIOMOVE 9F "Jan 16, 2006" .SH NAME uiomove \- copy kernel data using uio structure .SH SYNOPSIS @@ -15,7 +15,7 @@ uiomove \- copy kernel data using uio structure -\fBint\fR \fBuiomove\fR(\fBcaddr_t\fR \fIaddress\fR, \fBsize_t\fR \fInbytes\fR, \fBenum uio_rw\fR \fIrwflag\fR, +\fBint\fR \fBuiomove\fR(\fBcaddr_t\fR \fIaddress\fR, \fBsize_t\fR \fInbytes\fR, \fBenum uio_rw\fR \fIrwflag\fR, \fBuio_t *\fR\fIuio_p\fR); .fi @@ -26,46 +26,38 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIaddress\fR\fR .ad .RS 11n -.rt Source/destination kernel address of the copy. .RE .sp .ne 2 -.mk .na \fB\fInbytes\fR\fR .ad .RS 11n -.rt Number of bytes to copy. .RE .sp .ne 2 -.mk .na \fB\fIrwflag\fR\fR .ad .RS 11n -.rt Flag indicating read or write operation. Possible values are \fBUIO_READ\fR and \fBUIO_WRITE\fR. .RE .sp .ne 2 -.mk .na \fB\fIuio_p\fR\fR .ad .RS 11n -.rt Pointer to the \fBuio\fR structure for the copy. .RE diff --git a/usr/src/man/man9f/unbufcall.9f b/usr/src/man/man9f/unbufcall.9f index 77a5cccc75..5965836c5c 100644 --- a/usr/src/man/man9f/unbufcall.9f +++ b/usr/src/man/man9f/unbufcall.9f @@ -4,7 +4,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 unbufcall 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH UNBUFCALL 9F "Jan 16, 2006" .SH NAME unbufcall \- cancel a pending bufcall request .SH SYNOPSIS @@ -24,12 +24,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIid\fR\fR .ad .RS 6n -.rt Identifier returned from \fBbufcall\fR(9F) or \fBesbbcall\fR(9F). .RE diff --git a/usr/src/man/man9f/unlinkb.9f b/usr/src/man/man9f/unlinkb.9f index 376dc3cdaa..5c2092401c 100644 --- a/usr/src/man/man9f/unlinkb.9f +++ b/usr/src/man/man9f/unlinkb.9f @@ -4,7 +4,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 unlinkb 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH UNLINKB 9F "Jan 16, 2006" .SH NAME unlinkb \- remove a message block from the head of a message .SH SYNOPSIS @@ -24,12 +24,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fImp\fR\fR .ad .RS 6n -.rt Pointer to the message. .RE diff --git a/usr/src/man/man9f/untimeout.9f b/usr/src/man/man9f/untimeout.9f index 5562086776..b6b867cf95 100644 --- a/usr/src/man/man9f/untimeout.9f +++ b/usr/src/man/man9f/untimeout.9f @@ -4,7 +4,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 untimeout 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH UNTIMEOUT 9F "Jan 16, 2006" .SH NAME untimeout \- cancel previous timeout function call .SH SYNOPSIS @@ -25,12 +25,10 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIid\fR\fR .ad .RS 6n -.rt Opaque timeout \fBID\fR from a previous \fBtimeout\fR(9F) call. .RE @@ -93,7 +91,7 @@ xxintr(caddr_t arg) if (xsp->timeout_id != 0) { (void) untimeout(xsp->timeout_id); xsp->timeout_id = 0; - } + } return(DDI_INTR_CLAIMED); } static void diff --git a/usr/src/man/man9f/ureadc.9f b/usr/src/man/man9f/ureadc.9f index cd94efac38..9e6c4aeb12 100644 --- a/usr/src/man/man9f/ureadc.9f +++ b/usr/src/man/man9f/ureadc.9f @@ -4,7 +4,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 ureadc 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH UREADC 9F "Jan 16, 2006" .SH NAME ureadc \- add character to a uio structure .SH SYNOPSIS @@ -25,23 +25,19 @@ Architecture independent level 1 (DDI/DKI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIc\fR\fR .ad .RS 9n -.rt The character added to the \fBuio\fR(9S) structure. .RE .sp .ne 2 -.mk .na \fB\fIuio_p\fR\fR .ad .RS 9n -.rt Pointer to the \fBuio\fR(9S) structure. .RE diff --git a/usr/src/man/man9f/usb_alloc_request.9f b/usr/src/man/man9f/usb_alloc_request.9f index 26d0ca1d46..f8a68298f6 100644 --- a/usr/src/man/man9f/usb_alloc_request.9f +++ b/usr/src/man/man9f/usb_alloc_request.9f @@ -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 usb_alloc_request 9F "25 July 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_ALLOC_REQUEST 9F "Jul 25, 2004" .SH NAME usb_alloc_request, usb_alloc_ctrl_req, usb_free_ctrl_req, usb_alloc_bulk_req, usb_free_bulk_req, usb_alloc_intr_req, usb_free_intr_req, usb_alloc_isoc_req, @@ -13,7 +13,7 @@ usb_free_isoc_req \- Allocate and free USB transfer requests .nf #include <sys/usb/usba.h> -\fBusb_ctrl_req_t *\fR\fBusb_alloc_ctrl_req\fR(\fBdev_info_t *\fR\fIdip\fR, \fBsize_t\fR \fIlen\fR, +\fBusb_ctrl_req_t *\fR\fBusb_alloc_ctrl_req\fR(\fBdev_info_t *\fR\fIdip\fR, \fBsize_t\fR \fIlen\fR, \fBusb_flags_t\fR \fIflags\fR); .fi @@ -24,7 +24,7 @@ usb_free_isoc_req \- Allocate and free USB transfer requests .LP .nf -\fBusb_bulk_req_t *\fR\fBusb_alloc_bulk_req\fR(\fBdev_info_t\fR \fIdip\fR, \fBsize_t\fR \fIlen\fR, +\fBusb_bulk_req_t *\fR\fBusb_alloc_bulk_req\fR(\fBdev_info_t\fR \fIdip\fR, \fBsize_t\fR \fIlen\fR, \fBusb_flags_t\fR \fIflags\fR); .fi @@ -35,7 +35,7 @@ usb_free_isoc_req \- Allocate and free USB transfer requests .LP .nf -\fBusb_intr_req_t *\fR\fBusb_alloc_intr_req\fR(\fBdev_info_t *\fR\fIdip\fR, \fBsize_t\fR \fIlen\fR, +\fBusb_intr_req_t *\fR\fBusb_alloc_intr_req\fR(\fBdev_info_t *\fR\fIdip\fR, \fBsize_t\fR \fIlen\fR, \fBusb_flags_t\fR \fIflags\fR); .fi @@ -46,7 +46,7 @@ usb_free_isoc_req \- Allocate and free USB transfer requests .LP .nf -\fBusb_isoc_req_t *\fR\fBusb_alloc_isoc_req\fR(\fBdev_info_t *\fR\fIdip\fR, +\fBusb_isoc_req_t *\fR\fBusb_alloc_isoc_req\fR(\fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIisoc_pkts_count\fR, \fBsize_t\fR \fIlen\fR, \fBusb_flags_t\fR \fIflags\fR); .fi @@ -66,34 +66,28 @@ For \fBusb_alloc_ctrl_req()\fR, \fBusb_alloc_bulk_req()\fR and \fBusb_alloc_intr_req()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 9n -.rt Pointer to the device's dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 9n -.rt Length of \fIdata\fR for this request. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 9n -.rt Only USB_FLAGS_SLEEP is recognized. Wait for resources if not immediately available. .RE @@ -103,46 +97,38 @@ available. For \fBusb_alloc_isoc_req()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 19n -.rt Pointer to the device's dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIisoc_pkts_count\fR\fR .ad .RS 19n -.rt Number of isochronous packet descriptors to associate with this request. Must be greater than zero. .RE .sp .ne 2 -.mk .na \fB\fIlen\fR\fR .ad .RS 19n -.rt Length of \fIdata\fR for this isochronous request. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 19n -.rt Only USB_FLAGS_SLEEP is recognized. Wait for resources if not immediately available. .RE @@ -153,12 +139,10 @@ For \fBusb_free_ctrl_req()\fR, \fBusb_free_bulk_req()\fR, \fBusb_free_intr_req()\fR and \fBusb_free_isoc_req()\fR: .sp .ne 2 -.mk .na \fB\fIrequest\fR\fR .ad .RS 11n -.rt Pointer to the request structure to be freed. Can be \fBNULL\fR. .RE @@ -217,13 +201,13 @@ The free routines may be called from kernel, user, and interrupt context. .sp .in +2 .nf - /* This allocates and initializes an asynchronous control - * request which will pass no data. Asynchronous requests + /* This allocates and initializes an asynchronous control + * request which will pass no data. Asynchronous requests * are used when they cannot block the calling thread. */ usb_ctrl_req_t *ctrl_req; - + if ((ctrl_req = usb_alloc_ctrl_req(dip, 0, 0)) == NULL) { return (FAILURE); } @@ -239,7 +223,7 @@ The free routines may be called from kernel, user, and interrupt context. ctrl_req->ctrl_exc_callback = exception_callback; ... ... - + .fi .in -2 @@ -251,15 +235,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_client_attach.9f b/usr/src/man/man9f/usb_client_attach.9f index 39b68a54f2..d7c79ab32d 100644 --- a/usr/src/man/man9f/usb_client_attach.9f +++ b/usr/src/man/man9f/usb_client_attach.9f @@ -4,7 +4,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 usb_client_attach 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_CLIENT_ATTACH 9F "Jan 5, 2004" .SH NAME usb_client_attach, usb_client_detach \- USBA framework registration of client USB drivers @@ -17,13 +17,13 @@ USB drivers -\fBint\fR \fBusb_client_attach\fR(\fBdev_info_t *\fR\fIdip\fR, +\fBint\fR \fBusb_client_attach\fR(\fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIversion\fR, \fBusb_flags_t\fR \fIflags\fR); .fi .LP .nf -\fBvoid\fR \fBusb_client_detach\fR(\fBdev_info_t *\fR\fIdip\fR, +\fBvoid\fR \fBusb_client_detach\fR(\fBdev_info_t *\fR\fIdip\fR, \fBusb_client_dev_data_t *\fR\fIdev_data\fR); .fi @@ -37,34 +37,28 @@ Solaris DDI specific (Solaris DDI) For \fBusb_client_attach()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 11n -.rt Pointer to the device's dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIversion\fR\fR .ad .RS 11n -.rt Must be set to USBDRV_VERSION. (See below.) .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 11n -.rt Not used. .RE @@ -73,23 +67,19 @@ Not used. For \fBusb_client_detach()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 12n -.rt Pointer to the device's dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIdev_data\fR\fR .ad .RS 12n -.rt Pointer to a usb_client_dev_data_t to free. Can be NULL. .RE @@ -135,56 +125,46 @@ different releases have different USBA_[MAJOR|MINOR]_VER numbers. For \fBusb_client_attach()\fR: .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 23n -.rt Registration is successful. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 23n -.rt \fIdip\fR is \fBNULL\fR. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 23n -.rt Called from interrupt context. Not called from an attach routine context. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_VERSION\fR .ad .RS 23n -.rt Version passed in version is invalid. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 23n -.rt Other internal error. .RE @@ -193,23 +173,19 @@ Other internal error. For \fBusb_client_detach()\fR: .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 23n -.rt \fIdip\fR is \fBNULL\fR. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 23n -.rt Not called from an attach routine context. .RE @@ -229,7 +205,7 @@ or \fBdetach\fR(9E). if (usb_client_attach(dip, USBDRV_VERSION, 0) != USB_SUCCESS) { cmn_err (CE_WARN, "%s%d: Couldn't register USB device", ddi_driver_name(dip), ddi_get_instance(dip)); - + return (USB_FAILURE); } @@ -240,7 +216,7 @@ or \fBdetach\fR(9E). return (USB_FAILURE); } - + .fi .in -2 @@ -252,15 +228,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_clr_feature.9f b/usr/src/man/man9f/usb_clr_feature.9f index 1686ba4f93..24f666093a 100644 --- a/usr/src/man/man9f/usb_clr_feature.9f +++ b/usr/src/man/man9f/usb_clr_feature.9f @@ -4,7 +4,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 usb_clr_feature 9F "Feb 9 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_CLR_FEATURE 9F "Feb 9, 2004" .SH NAME usb_clr_feature \- Clear feature of USB device, interface or endpoint .SH SYNOPSIS @@ -14,11 +14,11 @@ usb_clr_feature \- Clear feature of USB device, interface or endpoint -\fBint\fR \fBusb_clr_feature\fR(\fBdev_info_t *\fR\fIdip\fR, +\fBint\fR \fBusb_clr_feature\fR(\fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIrequest_type\fR, \fBuint_t\fR \fIfeature\fR, - \fBuint_t\fR \fIwhich\fR, \fBusb_flags_t\fR \fIflags\fR, + \fBuint_t\fR \fIwhich\fR, \fBusb_flags_t\fR \fIflags\fR, \fBvoid (\fR\fI*callback)\fR (usb_pipe_handle_t \fIpipe_handle\fR, - \fBusb_opaque_t\fR \fIcallback_arg\fR, \fBint\fR \fIrval\fR, \fBusb_cb_flags_t\fR \fIflags)\fR, + \fBusb_opaque_t\fR \fIcallback_arg\fR, \fBint\fR \fIrval\fR, \fBusb_cb_flags_t\fR \fIflags)\fR, \fBusb_opaque_t\fR \fIcallback_arg\fR); .fi @@ -29,34 +29,28 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 16n -.rt Pointer to the device's dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 16n -.rt Pipe handle to device, device interface or endpoint. .RE .sp .ne 2 -.mk .na \fB\fIrequest_type\fR\fR .ad .RS 16n -.rt bmRequestType to be used. One of the following: .sp USB_DEV_REQ_RCPT_DEV - Clear feature on device. @@ -68,12 +62,10 @@ USB_DEV_REQ_RCPT_EP - Clear feature on endpoint. .sp .ne 2 -.mk .na \fB\fIfeature\fR\fR .ad .RS 16n -.rt Feature to be cleared. Can be any device-defined device-, interface-, or endpoint-specific feature, including the following which are defined in the \fIUSB 2.0\fR specification: @@ -87,12 +79,10 @@ USB_DEV_TEST_MODE - Clear TEST_MODE on a device. .sp .ne 2 -.mk .na \fBwhich\fR .ad .RS 9n -.rt Device, interface or endpoint on which to clear the feature. One of: .br .in +2 @@ -110,35 +100,29 @@ Endpoint number, for endpoints. .sp .ne 2 -.mk .na \fBflags\fR .ad .RS 16n -.rt USB_FLAGS_SLEEP is the only flag recognized. Wait for completion and do not call callback. .RE .sp .ne 2 -.mk .na \fBcallback\fR .ad .RS 16n -.rt Callback handler to notify of asynchronous completion. .RE .sp .ne 2 -.mk .na \fBcallback_arg\fR .ad .RS 16n -.rt Second argument passed to callback handler. .RE @@ -156,56 +140,46 @@ set. .SH RETURN VALUES .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 23n -.rt Feature was successfully cleared. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 23n -.rt \fIdip\fR argument is NULL. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_PIPE\fR .ad .RS 23n -.rt \fIpipe_handle\fR argument is NULL .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 23n -.rt Called from interrupt context with USB_FLAGS_SLEEP flag set. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 23n -.rt Clearing of feature was unsuccessful. .RE @@ -231,7 +205,7 @@ if (usb_clr_feature(dip, pipe_handle, USB_DEV_REQ_RCPT_EP, ddi_driver_name(dip), ddi_get_instance(dip), data_endpoint_num); } - + .fi .in -2 @@ -243,15 +217,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_create_pm_components.9f b/usr/src/man/man9f/usb_create_pm_components.9f index 5e902e7f19..9346fb4a55 100644 --- a/usr/src/man/man9f/usb_create_pm_components.9f +++ b/usr/src/man/man9f/usb_create_pm_components.9f @@ -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 usb_create_pm_components 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_CREATE_PM_COMPONENTS 9F "Jan 5, 2004" .SH NAME usb_create_pm_components \- Create power management components for USB devices .SH SYNOPSIS @@ -23,68 +23,56 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 13n -.rt Pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIpwrstates\fR\fR .ad .RS 13n -.rt Address into which a mask which lists power states capable by device is returned. This is a bitmask containing zero or more of the following values: .RE .sp .ne 2 -.mk .na \fBUSB_DEV_PWRMASK_D0\fR .ad .RS 22n -.rt Corresponds to USB_DEV_OS_PWR_3 or full power. .RE .sp .ne 2 -.mk .na \fBUSB_DEV_PWRMASK_D1\fR .ad .RS 22n -.rt Corresponds to USB_DEV_OS_PWR_2. .RE .sp .ne 2 -.mk .na \fBUSB_DEV_PWRMASK_D2\fR .ad .RS 22n -.rt Corresponds to USB_DEV_OS_PWR_1. .RE .sp .ne 2 -.mk .na \fBUSB_DEV_PWRMASK_D3\fR .ad .RS 22n -.rt Corresponds to USB_DEV_OS_PWR_0 or no power. .RE @@ -105,23 +93,19 @@ powered-down. .SH RETURN VALUES .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 15n -.rt Power management facilities in device are recognized by system. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 15n -.rt An error occurred. .RE @@ -139,7 +123,7 @@ May be called from user or kernel context. if (usb_create_pm_components(dip, pwrstates) == USB_SUCCESS) { usb_handle_remote_wakeup(dip,USB_REMOTE_WAKEUP_ENABLE); } - + .fi .in -2 @@ -151,15 +135,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_get_addr.9f b/usr/src/man/man9f/usb_get_addr.9f index 4c54eac38d..94fccab7f4 100644 --- a/usr/src/man/man9f/usb_get_addr.9f +++ b/usr/src/man/man9f/usb_get_addr.9f @@ -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 usb_get_addr 9F "Feb 9 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_GET_ADDR 9F "Feb 9, 2004" .SH NAME usb_get_addr \- Retrieve device USB address .SH SYNOPSIS @@ -21,12 +21,10 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt Pointer to the device's dev_info structure. .RE @@ -66,15 +64,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_get_alt_if.9f b/usr/src/man/man9f/usb_get_alt_if.9f index 45818d4562..837fdf0fc3 100644 --- a/usr/src/man/man9f/usb_get_alt_if.9f +++ b/usr/src/man/man9f/usb_get_alt_if.9f @@ -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 usb_get_alt_if 9F "29 Dec 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_GET_ALT_IF 9F "Dec 29, 2006" .SH NAME usb_get_alt_if, usb_set_alt_if, usb_get_if_number, usb_owns_device \- Get and set alternate interface values @@ -20,10 +20,10 @@ set alternate interface values .LP .nf -\fBint\fR \fBusb_set_alt_if\fR(\fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIinterface_number\fR, - \fBuint_t\fR \fIalternate_number\fR, \fBusb_flags_t\fR \fIflags\fR, +\fBint\fR \fBusb_set_alt_if\fR(\fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIinterface_number\fR, + \fBuint_t\fR \fIalternate_number\fR, \fBusb_flags_t\fR \fIflags\fR, \fBvoid (*\fR\fIcallback\fR)(usb_pipe_handle_t \fIpipe_handle\fR, - \fBusb_opaque_t\fR \fIcallback_arg\fR, \fBint\fR \fIrval\fR, \fBusb_cb_flags_t\fR \fIflags\fR), + \fBusb_opaque_t\fR \fIcallback_arg\fR, \fBint\fR \fIrval\fR, \fBusb_cb_flags_t\fR \fIflags\fR), \fBusb_opaque_t\fR \fIcallback_arg\fR); .fi @@ -51,45 +51,37 @@ Solaris DDI specific (Solaris DDI) For \fBusb_get_alt_if()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 20n -.rt Pointer to device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIinterface_number\fR\fR .ad .RS 20n -.rt Interface of the desired alternate. .RE .sp .ne 2 -.mk .na \fB\fIalternate_number\fR\fR .ad .RS 20n -.rt Address where current alternate setting is returned. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 20n -.rt No flags are recognized. Reserved for future expansion. .RE @@ -98,68 +90,56 @@ No flags are recognized. Reserved for future expansion. For \fBusb_set_alt_if()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 20n -.rt Pointer to device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIinterface_number\fR\fR .ad .RS 20n -.rt Interface of the desired alternate. .RE .sp .ne 2 -.mk .na \fB\fIalternate_number\fR\fR .ad .RS 20n -.rt Alternate interface number to be set. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 20n -.rt Only USB_FLAGS_SLEEP is recognized. Wait for completion and do not call callback. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 20n -.rt Callback handler to notify of asynchronous completion. .RE .sp .ne 2 -.mk .na \fB\fIcallback_arg\fR\fR .ad .RS 20n -.rt Second argument passed to callback handler. .RE @@ -168,12 +148,10 @@ Second argument passed to callback handler. For \fBusb_get_if_number()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt Pointer to device's \fBdev_info\fR structure. .RE @@ -182,12 +160,10 @@ Pointer to device's \fBdev_info\fR structure. For \fBusb_owns_device()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt Pointer to device's \fBdev_info\fR structure. .RE @@ -233,7 +209,6 @@ callback handler when completed. arguments: .sp .ne 2 -.mk .na \fBusb_pipe_handle_t pipe_handle\fR .ad @@ -244,7 +219,6 @@ Handle of the default control pipe used to perform the request. .sp .ne 2 -.mk .na \fBusb_opaque_t callback_arg\fR .ad @@ -255,7 +229,6 @@ Callback_arg specified to \fBusb_set_alt_if()\fR. .sp .ne 2 -.mk .na \fBint rval\fR .ad @@ -266,7 +239,6 @@ Request status. .sp .ne 2 -.mk .na \fBusb_cb_flags_t callback_flags:\fR .ad @@ -297,45 +269,37 @@ particular interface. For \fBusb_get_alt_if()\fR: .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 23n -.rt Interface's alternate setting was successfully obtained. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 23n -.rt Pointer to alternate_number and/or dip are NULL. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 23n -.rt Called from interrupt context. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 23n -.rt The interface number is invalid. .sp An access error occurred. @@ -346,67 +310,55 @@ An access error occurred. For \fBusb_set_alt_if()\fR: .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 23n -.rt Alternate interface was successfully set. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 23n -.rt dip is NULL. USB_FLAGS_SLEEP is clear and callback is NULL. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_PERM\fR .ad .RS 23n -.rt dip does not own the interface to be set. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 23n -.rt Called from interrupt context with USB_FLAGS_SLEEP specified. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_PIPE\fR .ad .RS 23n -.rt Pipe handle is NULL, invalid, or refers to a pipe that is closing or closed. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 23n -.rt The interface number and/or alternate setting are invalid. .sp Pipes were open. @@ -434,23 +386,19 @@ interface number: otherwise. For \fBusb_owns_device()\fR: .sp .ne 2 -.mk .na \fBB_TRUE\fR .ad .RS 11n -.rt Driver of the dip argument owns the entire device. .RE .sp .ne 2 -.mk .na \fBB_FALSE\fR .ad .RS 11n -.rt Driver of the dip argument owns only the current interface. .RE @@ -494,15 +442,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_get_cfg.9f b/usr/src/man/man9f/usb_get_cfg.9f index 66b1a73b55..2686a0e2b6 100644 --- a/usr/src/man/man9f/usb_get_cfg.9f +++ b/usr/src/man/man9f/usb_get_cfg.9f @@ -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 usb_get_cfg 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_GET_CFG 9F "Jan 5, 2004" .SH NAME usb_get_cfg, usb_set_cfg \- Get and set current USB device configuration .SH SYNOPSIS @@ -19,8 +19,8 @@ usb_get_cfg, usb_set_cfg \- Get and set current USB device configuration .LP .nf \fBint\fR \fBusb_set_cfg\fR(\fBdev_info_t *\fR\fIdip\fR, \fBuint_t\fR \fIcfg_index\fR, \fBusb_flags_t\fR \fIflags\fR, - \fBvoid (*\fR\fIcallback\fR)(usb_pipe_handle_t \fIpipe_handle\fR, \fBusb_opaque_t\fR - \fIcallback_arg\fR, \fBint\fR \fIrval\fR, \fBusb_cb_flags_t\fR \fIflags)\fR, \fBusb_opaque_t\fR + \fBvoid (*\fR\fIcallback\fR)(usb_pipe_handle_t \fIpipe_handle\fR, \fBusb_opaque_t\fR + \fIcallback_arg\fR, \fBint\fR \fIrval\fR, \fBusb_cb_flags_t\fR \fIflags)\fR, \fBusb_opaque_t\fR \fIcallback_arg\fR); .fi @@ -34,34 +34,28 @@ Solaris DDI specific (Solaris DDI) For \fBusb_get_cfg()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 10n -.rt Pointer to device's dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIcfgval\fR\fR .ad .RS 10n -.rt Pointer to returned configuration value. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 10n -.rt Not used. Always waits for completion. .RE @@ -70,58 +64,48 @@ Not used. Always waits for completion. For \fBusb_set_cfg()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 16n -.rt Pointer to device's dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIcfg_index\fR\fR .ad .RS 16n -.rt Desired device configuration index. Set to USB_DEV_DEFAULT_CONFIG_INDEX to restore default configuration. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 16n -.rt Only USB_FLAGS_SLEEP is recognized. Wait for completion and do not call callback. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 16n -.rt Callback handler to notify of asynchronous completion. .RE .sp .ne 2 -.mk .na \fB\fIcallback_arg\fR\fR .ad .RS 16n -.rt Second argument passed to callback handler. .RE @@ -155,34 +139,28 @@ and calls the callback on completion if USB_FLAGS_SLEEP is not set. For \fBusb_get_cfg()\fR: .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 20n -.rt New configuration is retrieved. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 20n -.rt \fIcfgval\fR or \fIdip\fR is NULL. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 20n -.rt Configuration cannot be retrieved. .RE @@ -191,23 +169,19 @@ Configuration cannot be retrieved. For \fBusb_set_cfg()\fR: .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 23n -.rt New configuration is set. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 23n -.rt dip is NULL. .sp USB_FLAGS_SLEEP is clear and callback is NULL. @@ -215,56 +189,46 @@ USB_FLAGS_SLEEP is clear and callback is NULL. .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 23n -.rt Called from interrupt context with USB_FLAGS_SLEEP specified. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_PERM\fR .ad .RS 23n -.rt Caller does not own entire device or device is a parent to child devices. .RE .sp .ne 2 -.mk .na \fBUSB_BUSY\fR .ad .RS 23n -.rt One or more pipes other than the default control pipe are open on the device. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_PIPE\fR .ad .RS 23n -.rt Pipe handle is NULL or invalid, or pipe is closing or closed. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 23n -.rt An illegal configuration is specified. .sp One or more pipes other than the default control pipe are open on the device. @@ -289,21 +253,21 @@ information on callbacks. .sp .in +2 .nf - Setting the configuration to the one at index 1 (in the - array of usb_cfg_data_t configuration nodes as returned - by usb_get_dev_data()), and verifying what the configuration + Setting the configuration to the one at index 1 (in the + array of usb_cfg_data_t configuration nodes as returned + by usb_get_dev_data()), and verifying what the configuration is at that index. (See usb_get_dev_data(9F)). uint_t cfg_index = 1; /* - * Assume all pipes other than the default control pipe - * are closed and make sure all requests to the default + * Assume all pipes other than the default control pipe + * are closed and make sure all requests to the default * control pipe have completed. / */ - if (usb_set_cfg(dip, cfg_index, USB_FLAGS_SLEEP, NULL, 0) + if (usb_set_cfg(dip, cfg_index, USB_FLAGS_SLEEP, NULL, 0) != USB_SUCCESS) { cmn_err (CE_WARN, "%s%d: Error setting USB device to configuration #%d", @@ -318,7 +282,7 @@ information on callbacks. ... ... } - + .fi .in -2 @@ -330,15 +294,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_get_current_frame_number.9f b/usr/src/man/man9f/usb_get_current_frame_number.9f index ab04d56ece..a0ac6a4916 100644 --- a/usr/src/man/man9f/usb_get_current_frame_number.9f +++ b/usr/src/man/man9f/usb_get_current_frame_number.9f @@ -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 usb_get_current_frame_number 9F "25 July 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_GET_CURRENT_FRAME_NUMBER 9F "Jul 25, 2004" .SH NAME usb_get_current_frame_number \- Return current logical usb frame number .SH SYNOPSIS @@ -23,12 +23,10 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt Pointer to the device's \fBdev_info\fR structure. .RE @@ -88,15 +86,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_get_dev_data.9f b/usr/src/man/man9f/usb_get_dev_data.9f index 91d3108435..636ab9c73d 100644 --- a/usr/src/man/man9f/usb_get_dev_data.9f +++ b/usr/src/man/man9f/usb_get_dev_data.9f @@ -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 usb_get_dev_data 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_GET_DEV_DATA 9F "Jan 5, 2004" .SH NAME usb_get_dev_data, usb_free_dev_data, usb_free_descr_tree, usb_print_descr_tree \- Retrieve device configuration information @@ -43,46 +43,38 @@ Solaris DDI specific (Solaris DDI) For \fBusb_get_dev_data()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 15n -.rt Pointer to device's dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIdev_data\fR\fR .ad .RS 15n -.rt Address in which pointer to info is returned. .RE .sp .ne 2 -.mk .na \fB\fIparse_level\fR\fR .ad .RS 15n -.rt Portion of device represented in the tree of parsed descriptors. See below for possible usb_reg_parse_lvl_t values and explanations. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 15n -.rt Not used. .RE @@ -91,23 +83,19 @@ Not used. For \fBusb_free_dev_data()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 12n -.rt Pointer to device's dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIdev_data\fR\fR .ad .RS 12n -.rt Pointer to usb_client_dev_data_t to be freed. .RE @@ -116,23 +104,19 @@ Pointer to usb_client_dev_data_t to be freed. For \fBusb_free_descr_tree()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 12n -.rt Pointer to device's dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIdev_data\fR\fR .ad .RS 12n -.rt Pointer to usb_client_dev_data_t containing the descriptor tree to free. .RE @@ -141,23 +125,19 @@ Pointer to usb_client_dev_data_t containing the descriptor tree to free. For \fBusb_print_descr_tree()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 12n -.rt Pointer to device's dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIdev_data\fR\fR .ad .RS 12n -.rt Pointer to usb_client_dev_data_t containing the descriptor tree to display on-screen. .RE @@ -181,24 +161,20 @@ actually represented in the returned tree (dev_parse_level field of the returned usb_client_dev_data_t). It has the following possible values: .sp .ne 2 -.mk .na \fBUSB_PARSE_LVL_NONE\fR .ad .RS 22n -.rt Build no tree. dev_n_cfg returns 0, dev_cfg and dev_curr_cfg are returned NULL, and the dev_curr_xxx fields are invalid. .RE .sp .ne 2 -.mk .na \fBUSB_PARSE_LVL_IF\fR .ad .RS 22n -.rt If configuration number and interface properties are set (as when different interfaces are viewed by the OS as different device instances), parse configured interface only. If an OS device instance is set up to represent an @@ -207,24 +183,20 @@ entire physical device, USB_PARSE_LVL_IF works like USB_PARSE_LVL_ALL. .sp .ne 2 -.mk .na \fBUSB_PARSE_LVL_CFG\fR .ad .RS 22n -.rt Parse entire configuration of configured interface only. Behaves similarly to USB_PARSE_LVL_IF, except that entire configuration is returned. .RE .sp .ne 2 -.mk .na \fBUSB_PARSE_LVL_ALL\fR .ad .RS 22n -.rt Parse entire device (all configurations), even when driver is bound to a single interface of a single configuration. .RE @@ -255,56 +227,46 @@ provides you with an on-screen look at what a device has to offer. For \fBusb_get_dev_data()\fR: .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 23n -.rt Registration is successful. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 23n -.rt \fIdip\fR or \fIdev_data\fR is \fBNULL\fR. \fIparse_level\fR is invalid. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 23n -.rt Called from interrupt context. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_VERSION\fR .ad .RS 23n -.rt \fBusb_client_attach\fR(9F) was not called first. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 23n -.rt Bad descriptor info or other internal error. .RE @@ -320,45 +282,37 @@ and/or \fIdev_data\fR are NULL. For \fBusb_print_descr_tree()\fR: .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 23n -.rt Descriptor tree dump is successful. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 23n -.rt \fIdev_data\fR or \fIdip\fR are NULL. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 23n -.rt Called from interrupt context. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 23n -.rt Other error. .RE @@ -375,8 +329,8 @@ called from user, kernel or interrupt context. .sp .in +2 .nf -In this example, assume a device has the configuration shown -below, and the endpoint of config 2, iface 1, alt 1 +In this example, assume a device has the configuration shown +below, and the endpoint of config 2, iface 1, alt 1 which supports intr IN transfers needs to be found. Config 2, iface 1 is the "default" config/iface for the current OS device node. @@ -420,7 +374,7 @@ current OS device node. } ep_tree_node = usb_lookup_ep_data(dip, dev_data, interface, - alternate, first_ep_number, USB_EP_ATTR_INTR, USB_EP_DIR_IN); + alternate, first_ep_number, USB_EP_ATTR_INTR, USB_EP_DIR_IN); if (ep_tree_node != NULL) { ep_descr = ep_tree_node->ep_descr; } else { @@ -432,7 +386,7 @@ current OS device node. return (USB_FAILURE); } - + .fi .in -2 @@ -444,15 +398,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_get_max_pkts_per_isoc_request.9f b/usr/src/man/man9f/usb_get_max_pkts_per_isoc_request.9f index c88217f6a2..108cb44838 100644 --- a/usr/src/man/man9f/usb_get_max_pkts_per_isoc_request.9f +++ b/usr/src/man/man9f/usb_get_max_pkts_per_isoc_request.9f @@ -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 usb_get_max_pkts_per_isoc_request 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_GET_MAX_PKTS_PER_ISOC_REQUEST 9F "Jan 5, 2004" .SH NAME usb_get_max_pkts_per_isoc_request \- Get maximum number of packets allowed per isochronous request @@ -24,12 +24,10 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt Pointer to the device's \fBdev_info\fR structure. .RE @@ -66,13 +64,13 @@ May be called from user, kernel or interrupt context. .in +2 .nf /* - * Set up to receive periodic isochronous data, requesting + * Set up to receive periodic isochronous data, requesting * the maximum amount for each transfer. */ int pkt; /* Get max packet size from endpoint descriptor. */ -uint_t ep_max_pkt_size = ep_descr.wMaxPacketSize; +uint_t ep_max_pkt_size = ep_descr.wMaxPacketSize; uint_t isoc_pkts_count = usb_get_max_pkts_per_isoc_request(dip); /* @@ -112,15 +110,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_get_status.9f b/usr/src/man/man9f/usb_get_status.9f index 0d5d18231d..fbb87453be 100644 --- a/usr/src/man/man9f/usb_get_status.9f +++ b/usr/src/man/man9f/usb_get_status.9f @@ -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 usb_get_status 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_GET_STATUS 9F "Jan 5, 2004" .SH NAME usb_get_status \- Get status of a USB device/endpoint/interface .SH SYNOPSIS @@ -14,7 +14,7 @@ usb_get_status \- Get status of a USB device/endpoint/interface \fBint\fR \fBusb_get_status\fR(\fBdev_info_t *\fR\fIdip\fR, \fBusb_pipe_handle_t\fR \fIpipe_handle\fR, - \fBuint_t\fR \fIrequest_type\fR, \fBuint_t\fR \fIwhich\fR, \fBuint16_t *\fR\fIstatus\fR, + \fBuint_t\fR \fIrequest_type\fR, \fBuint_t\fR \fIwhich\fR, \fBuint16_t *\fR\fIstatus\fR, \fBusb_flags_t\fR \fIflags\fR); .fi @@ -25,34 +25,28 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 16n -.rt Pointer to device's dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 16n -.rt Default control pipe handle on which request is made. .RE .sp .ne 2 -.mk .na \fB\fIrequest_type\fR\fR .ad .RS 16n -.rt bmRequestType. Either: .sp USB_DEV_REQ_RCPT_DEV \(em Get device status. @@ -64,35 +58,29 @@ USB_DEV_REQ_RCPT_EP \(em Get endpoint status. .sp .ne 2 -.mk .na \fB\fIwhich\fR\fR .ad .RS 16n -.rt Device, interface or endpoint from which to get status. Either number of interface or endpoint, or 0 if device status requested. .RE .sp .ne 2 -.mk .na \fB\fIstatus\fR\fR .ad .RS 16n -.rt Address into which the status is written. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 16n -.rt None are recognized. .RE @@ -121,45 +109,37 @@ requested and USB_IF_STATUS (zero) is returned. .SH RETURN VALUES .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 20n -.rt Status returned successfully in the status argument. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 20n -.rt Status pointer and/or dip argument is NULL. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_PIPE\fR .ad .RS 20n -.rt Pipe handle is NULL. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 20n -.rt Status not returned successfully. .RE @@ -193,15 +173,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_get_string_descr.9f b/usr/src/man/man9f/usb_get_string_descr.9f index 7ac059c1ef..2efa17d692 100644 --- a/usr/src/man/man9f/usb_get_string_descr.9f +++ b/usr/src/man/man9f/usb_get_string_descr.9f @@ -4,7 +4,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 usb_get_string_descr 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_GET_STRING_DESCR 9F "Jan 5, 2004" .SH NAME usb_get_string_descr \- Get string descriptor from device .SH SYNOPSIS @@ -14,7 +14,7 @@ usb_get_string_descr \- Get string descriptor from device -\fBint\fR \fBusb_get_string_descr\fR(\fBdev_info_t *\fR\fIdip\fR, +\fBint\fR \fBusb_get_string_descr\fR(\fBdev_info_t *\fR\fIdip\fR, \fBuint16_t\fR \fIlangid\fR, \fBuint8_t\fR \fIindex\fR, \fBchar *\fR\fIbuf\fR, \fBsize_t\fR \fIbuflen\fR); .fi @@ -26,56 +26,46 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 10n -.rt Pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIlangid\fR\fR .ad .RS 10n -.rt Language ID. Currently only USB_LANG_ID (English ascii) is valid. .RE .sp .ne 2 -.mk .na \fB\fIindex\fR\fR .ad .RS 10n -.rt String index indicating descriptor to retrieve. .RE .sp .ne 2 -.mk .na \fB\fIbuf\fR\fR .ad .RS 10n -.rt Address into which the string descriptor is placed. .RE .sp .ne 2 -.mk .na \fB\fIbuflen\fR\fR .ad .RS 10n -.rt Size of buf in bytes. .RE @@ -100,35 +90,29 @@ All returned descriptors are null-terminated. .SH RETURN VALUES .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 20n -.rt String descriptor is returned in \fIbuf\fR. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 20n -.rt \fIdip\fR or \fIbuf\fR are \fBNULL\fR, or \fIindex\fR or \fIbuflen\fR is \fB0\fR. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 20n -.rt Descriptor cannot be retrieved. .RE @@ -160,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_handle_remote_wakeup.9f b/usr/src/man/man9f/usb_handle_remote_wakeup.9f index d9c50feda8..916ab45f77 100644 --- a/usr/src/man/man9f/usb_handle_remote_wakeup.9f +++ b/usr/src/man/man9f/usb_handle_remote_wakeup.9f @@ -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 usb_handle_remote_wakeup 9F "5 Feb 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_HANDLE_REMOTE_WAKEUP 9F "Feb 5, 2004" .SH NAME usb_handle_remote_wakeup \- Enable or disable remote wakeup on USB devices .SH SYNOPSIS @@ -23,23 +23,19 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt Pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIcmd\fR\fR .ad .RS 7n -.rt Command. Either USB_REMOTE_WAKEUP_ENABLE or USB_REMOTE_WAKEUP_DISABLE. .RE @@ -51,23 +47,19 @@ on a USB device. This call can block. .SH RETURN VALUES .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 15n -.rt Remote wakeup is successfully enabled or disabled. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 15n -.rt Remote wakeup is not supported by the device. An internal error occurred. .RE @@ -85,7 +77,7 @@ May be called from user or kernel context. if (usb_create_pm_components(dip, pwrstates) == USB_SUCCESS) { usb_handle_remote_wakeup(dip, USB_REMOTE_WAKEUP_ENABLE); } - + .fi .in -2 @@ -97,15 +89,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_lookup_ep_data.9f b/usr/src/man/man9f/usb_lookup_ep_data.9f index f2e390f0aa..4962dcb4b7 100644 --- a/usr/src/man/man9f/usb_lookup_ep_data.9f +++ b/usr/src/man/man9f/usb_lookup_ep_data.9f @@ -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 usb_lookup_ep_data 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_LOOKUP_EP_DATA 9F "Jan 5, 2004" .SH NAME usb_lookup_ep_data \- Lookup endpoint information .SH SYNOPSIS @@ -13,8 +13,8 @@ usb_lookup_ep_data \- Lookup endpoint information -\fBusb_ep_data_t *\fR\fBusb_lookup_ep_data\fR(\fBdev_info_t *\fR\fIdip\fR, - \fBusb_client_dev_data_t *\fR\fIdev_datap\fR, \fBuint_t\fR \fIinterface\fR, +\fBusb_ep_data_t *\fR\fBusb_lookup_ep_data\fR(\fBdev_info_t *\fR\fIdip\fR, + \fBusb_client_dev_data_t *\fR\fIdev_datap\fR, \fBuint_t\fR \fIinterface\fR, \fBuint_t\fR \fIalternate\fR, \fBuint_t\fR \fIskip\fR, \fBuint_t\fR \fItype\fR, \fBuint_t\fR \fIdirection\fR); .fi @@ -25,68 +25,56 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 13n -.rt Pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIdev_datap\fR\fR .ad .RS 13n -.rt Pointer to a \fBusb_client_dev_data_t\fR structure containing tree. .RE .sp .ne 2 -.mk .na \fB\fIinterface\fR\fR .ad .RS 13n -.rt Number of interface in which endpoint resides. .RE .sp .ne 2 -.mk .na \fB\fIalternate\fR\fR .ad .RS 13n -.rt Number of interface alternate setting in which endpoint resides. .RE .sp .ne 2 -.mk .na \fB\fIskip\fR\fR .ad .RS 13n -.rt Number of endpoints which match the requested type and direction to skip before finding one to retrieve. .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 13n -.rt Type of endpoint. This is one of: USB_EP_ATTR_CONTROL, USB_EP_ATTR_ISOCH, USB_EP_ATTR_BULK, or USB_EP_ATTR_INTR. Please see \fBusb_pipe_open\fR(9F) for more information. @@ -94,12 +82,10 @@ more information. .sp .ne 2 -.mk .na \fB\fIdirection\fR\fR .ad .RS 13n -.rt Direction of endpoint, either USB_EP_DIR_OUT or USB_EP_DIR_IN. This argument is ignored for bi-directional control endpoints. .RE @@ -137,7 +123,7 @@ alt 3: .nf uint8_t interval = 0; usb_ep_data_t *ep_node = usb_lookup_ep_data( - dip, dev_datap, 0, 3, 1, USB_EP_ATTR_INTR, USB_EP_DIR_IN); + dip, dev_datap, 0, 3, 1, USB_EP_ATTR_INTR, USB_EP_DIR_IN); if (ep_node != NULL) { interval = ep_node->ep_descr.bInterval; } @@ -153,7 +139,7 @@ Retrieve the maximum packet size for the first control pipe at interface 0, alt .nf uint16_t maxPacketSize = 0; usb_ep_data_t *ep_node = usb_lookup_ep_data( - dip, dev_datap, 0, 4, 0, USB_EP_ATTR_CONTROL, 0); + dip, dev_datap, 0, 4, 0, USB_EP_ATTR_CONTROL, 0); if (ep_node != NULL) { maxPacketSize = ep_node->ep_descr.wMaxPacketSize; } @@ -168,15 +154,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_parse_data.9f b/usr/src/man/man9f/usb_parse_data.9f index 68a0aa0ecd..cf7f043bf6 100644 --- a/usr/src/man/man9f/usb_parse_data.9f +++ b/usr/src/man/man9f/usb_parse_data.9f @@ -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 usb_parse_data 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_PARSE_DATA 9F "Jan 5, 2004" .SH NAME usb_parse_data \- Tokenize and align the bytes of raw variable-format data .SH SYNOPSIS @@ -13,7 +13,7 @@ usb_parse_data \- Tokenize and align the bytes of raw variable-format data -\fBsize_t\fR \fBusb_parse_data\fR(\fBchar *\fR\fIformat\fR, \fBuchar_t *\fR\fIdata\fR, +\fBsize_t\fR \fBusb_parse_data\fR(\fBchar *\fR\fIformat\fR, \fBuchar_t *\fR\fIdata\fR, \fBsize_t\fR \fIdatalen\fR, \fBvoid *\fR\fIstructure\fR, \fBsize_t\fR \fIstructlen\fR); .fi @@ -24,12 +24,10 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIformat\fR\fR .ad .RS 13n -.rt Null terminated string describing the format of the data structure for general-purpose byte swapping. The letters "c," "s," "l," and "L" represent 1, 2, 4 and 8 byte quantities, respectively. A descriptor that consists of a short @@ -39,45 +37,37 @@ as a multiplier of that letter. A format equivalent to "scc" is "s2c." .sp .ne 2 -.mk .na \fB\fIdata\fR\fR .ad .RS 13n -.rt Raw descriptor data to parse. .RE .sp .ne 2 -.mk .na \fB\fIdatalen\fR\fR .ad .RS 13n -.rt Length, in bytes, of the raw descriptor data buffer. .RE .sp .ne 2 -.mk .na \fB\fIstructure\fR\fR .ad .RS 13n -.rt Destination data buffer where parsed data is returned. .RE .sp .ne 2 -.mk .na \fB\fIstructlen\fR\fR .ad .RS 13n -.rt Length, in bytes, of the destination data buffer. Parsed result length will not exceed this value. .RE @@ -120,10 +110,10 @@ May be called from user, kernel or interrupt context. .nf /* * Parse raw descriptor data in buf, putting result into ret_descr. - * ret_buf_len holds the size of ret_descr buf; routine returns + * ret_buf_len holds the size of ret_descr buf; routine returns * number of resulting bytes. * - * Descriptor being parsed has 2 chars, followed by one short, + * Descriptor being parsed has 2 chars, followed by one short, * 3 chars and one more short. */ size_t size_of_returned_descr; @@ -135,7 +125,7 @@ May be called from user, kernel or interrupt context. /* Data truncated. */ } - or: + or: size_of_returned_descr = usb_parse_data("2cs3cs", buf, sizeof(buf), (void *)ret_descr, (sizeof)xxx_descr_t)); @@ -153,15 +143,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_pipe_bulk_xfer.9f b/usr/src/man/man9f/usb_pipe_bulk_xfer.9f index c69513fdd0..5789d2ce13 100644 --- a/usr/src/man/man9f/usb_pipe_bulk_xfer.9f +++ b/usr/src/man/man9f/usb_pipe_bulk_xfer.9f @@ -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 usb_pipe_bulk_xfer 9F "3 Aug 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_PIPE_BULK_XFER 9F "Aug 3, 2006" .SH NAME usb_pipe_bulk_xfer \- USB bulk transfer function .SH SYNOPSIS @@ -13,7 +13,7 @@ usb_pipe_bulk_xfer \- USB bulk transfer function -\fBint\fR \fBusb_pipe_bulk_xfer\fR(\fBusb_pipe_handle_t\fR \fIpipe_handle\fR, +\fBint\fR \fBusb_pipe_bulk_xfer\fR(\fBusb_pipe_handle_t\fR \fIpipe_handle\fR, \fBusb_bulk_req_t *\fR\fIrequest\fR, \fBusb_flags_t\fR \fIflags\fR); .fi @@ -24,34 +24,28 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 15n -.rt Bulk pipe handle on which request is made. .RE .sp .ne 2 -.mk .na \fB\fIrequest\fR\fR .ad .RS 15n -.rt Pointer to bulk transfer request. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 15n -.rt USB_FLAGS_SLEEP is the only flag recognized. Wait for request to complete. .RE @@ -74,45 +68,37 @@ passing a non-negative value for the \fIlen\fR argument. .SH RETURN VALUES .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 25n -.rt Transfer was successful. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 25n -.rt Request is \fBNULL\fR. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 25n -.rt Called from interrupt context with the USB_FLAGS_SLEEP flag set. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_REQUEST\fR .ad .RS 25n -.rt The request has been freed or otherwise invalidated. .sp A set of conflicting attributes were specified. See \fBusb_bulk_request\fR(9S). @@ -131,12 +117,10 @@ Data space is not provided to a non-zero length bulk request: .sp .ne 2 -.mk .na \fBUSB_INVALID_PIPE\fR .ad .RS 25n -.rt Pipe handle is NULL or invalid. .sp Pipe is closing or closed. @@ -144,45 +128,37 @@ Pipe is closing or closed. .sp .ne 2 -.mk .na \fBUSB_PIPE_ERROR\fR .ad .RS 25n -.rt Pipe handle refers to a pipe which is in the USB_PIPE_STATE_ERROR state. .RE .sp .ne 2 -.mk .na \fBUSB_NO_RESOURCES\fR .ad .RS 25n -.rt Memory, descriptors or other resources are unavailable. .RE .sp .ne 2 -.mk .na \fBUSB_HC_HARDWARE_ERROR\fR .ad .RS 25n -.rt Host controller is in error state. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 25n -.rt An asynchronous transfer failed or an internal error occurred. .sp A bulk request requested too much data: @@ -228,7 +204,7 @@ called from interrupt context only when the USB_FLAGS_SLEEP flag is clear. cmn_err (CE_WARN, "%s%d: Error writing bulk data.", ddi_driver_name(dip), ddi_get_instance(dip)); } - + .fi .in -2 @@ -240,15 +216,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_pipe_close.9f b/usr/src/man/man9f/usb_pipe_close.9f index 61ea8678c9..93376ed530 100644 --- a/usr/src/man/man9f/usb_pipe_close.9f +++ b/usr/src/man/man9f/usb_pipe_close.9f @@ -4,7 +4,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 usb_pipe_close 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_PIPE_CLOSE 9F "Jan 5, 2004" .SH NAME usb_pipe_close \- Close and cleanup a USB device pipe .SH SYNOPSIS @@ -15,9 +15,9 @@ usb_pipe_close \- Close and cleanup a USB device pipe \fBvoid\fR \fBusb_pipe_close\fR(\fBdev_info_t *\fR\fIdip\fR, \fBusb_pipe_handle_t\fR \fIpipe_handle\fR, - \fBusb_flags_t\fR \fIflags\fR, + \fBusb_flags_t\fR \fIflags\fR, \fBvoid\fR (\fI*callback\fR)(usb_pipe_handle_t \fIpipe_handle\fR, - \fBusb_opaque_t\fR \fIarg\fR, \fBint\fR \fIrval\fR, + \fBusb_opaque_t\fR \fIarg\fR, \fBint\fR \fIrval\fR, \fBusb_cb_flags_t\fR \fIflags)\fR, \fBusb_opaque_t\fR \fIcallback_arg\fR); .fi @@ -28,58 +28,48 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 16n -.rt Pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 16n -.rt Handle of pipe to close. Cannot be a handle to the default control pipe. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 16n -.rt USB_FLAGS_SLEEP is the only flag recognized. Set it to wait for resources, for pipe to become free, and for all pending request callbacks to complete. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 16n -.rt This function is called on completion if the USB_FLAGS_SLEEP flag is not specified. Mandatory if the USB_FLAGS_SLEEP flag has not been specified. .RE .sp .ne 2 -.mk .na \fB\fIcallback_arg\fR\fR .ad .RS 16n -.rt Second argument to callback function. .RE @@ -111,7 +101,6 @@ The \fIcallback\fR parameter is the callback handler and takes the following arguments: .sp .ne 2 -.mk .na \fBusb_pipe_handle_t pipe_handle\fR .ad @@ -122,7 +111,6 @@ Handle of the pipe to close. .sp .ne 2 -.mk .na \fBusb_opaque_t callback_arg\fR .ad @@ -133,7 +121,6 @@ Callback_arg specified to \fBusb_pipe_close()\fR. .sp .ne 2 -.mk .na \fBint rval\fR .ad @@ -144,7 +131,6 @@ Return value of close operation .sp .ne 2 -.mk .na \fBusb_cb_flags_t callback_flags\fR .ad @@ -153,23 +139,19 @@ Return value of close operation Status of queueing operation. Can be: .sp .ne 2 -.mk .na \fBUSB_CB_NO_INFO\fR .ad .RS 27n -.rt Callback was uneventful. .RE .sp .ne 2 -.mk .na \fBUSB_CB_ASYNC_REQ_FAILED\fR .ad .RS 27n -.rt Error starting asynchronous request. .RE @@ -182,56 +164,46 @@ Status is returned to the caller via the callback handler's rval argument. Possible callback hander rval argument values are: .sp .ne 2 -.mk .na \fBUSB_INVALID_PIPE\fR .ad .RS 23n -.rt Pipe handle specifies a pipe which is closed or closing. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 23n -.rt \fIdip\fR or \fIpipe_handle\fR arguments are NULL. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 23n -.rt Called from interrupt context. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_PERM\fR .ad .RS 23n -.rt Pipe handle specifies the default control pipe. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 23n -.rt Asynchronous resources are unavailable. In this case, USB_CB_ASYNC_REQ_FAILED is passed in as the \fIcallback_flags\fR arg to the callback hander. .RE @@ -272,7 +244,7 @@ void close_callback(usb_pipe_handle_t, usb_opaque_t, usb_cb_flags_t); /* Asynchronous close of pipe. */ usb_pipe_close(dip, pipe, 0, close_callback, callback_arg); - + .fi .in -2 @@ -284,15 +256,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_pipe_ctrl_xfer.9f b/usr/src/man/man9f/usb_pipe_ctrl_xfer.9f index 3ab7832ae0..44fed1b424 100644 --- a/usr/src/man/man9f/usb_pipe_ctrl_xfer.9f +++ b/usr/src/man/man9f/usb_pipe_ctrl_xfer.9f @@ -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 usb_pipe_ctrl_xfer 9F "15 Sep 2009" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_PIPE_CTRL_XFER 9F "Sep 15, 2009" .SH NAME usb_pipe_ctrl_xfer, usb_pipe_ctrl_xfer_wait \- USB control pipe transfer functions @@ -12,15 +12,15 @@ functions .nf #include <sys/usb/usba.h> -\fBint\fR \fBusb_pipe_ctrl_xfer\fR(\fBusb_pipe_handle_t\fR \fIpipe_handle\fR, +\fBint\fR \fBusb_pipe_ctrl_xfer\fR(\fBusb_pipe_handle_t\fR \fIpipe_handle\fR, \fBusb_ctrl_req_t *\fR\fIrequest\fR, \fBusb_flags_t\fR \fIflags\fR); - + .fi .LP .nf -\fBint\fR \fBusb_pipe_ctrl_xfer_wait\fR(\fBusb_pipe_handle_t\fR \fIpipe_handle\fR, - \fBusb_ctrl_setup_t *\fR\fIsetup\fR, \fBmblk_t **\fR\fIdata\fR, +\fBint\fR \fBusb_pipe_ctrl_xfer_wait\fR(\fBusb_pipe_handle_t\fR \fIpipe_handle\fR, + \fBusb_ctrl_setup_t *\fR\fIsetup\fR, \fBmblk_t **\fR\fIdata\fR, \fBusb_cr_t *\fR \fIcompletion_reason\fR, \fBusb_cb_flags_t *cb_\fR\fIflags\fR, \fBusb_flags_t\fR \fIflags\fR); .fi @@ -35,34 +35,28 @@ Solaris DDI specific (Solaris DDI) For \fBusb_pipe_ctrl_xfer()\fR: .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 15n -.rt Control pipe handle on which request is made. .RE .sp .ne 2 -.mk .na \fB\fIrequest\fR\fR .ad .RS 15n -.rt Pointer to control transfer request. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 15n -.rt USB_FLAGS_SLEEP is the only flag recognized. Wait for all pending request callbacks to complete. .RE @@ -72,70 +66,58 @@ callbacks to complete. For \fBusb_pipe_ctrl_xfer_wait()\fR: .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 21n -.rt Control pipe handle on which request is made. .RE .sp .ne 2 -.mk .na \fB\fIsetup\fR\fR .ad .RS 21n -.rt Pointer to setup parameters. (See below.) .RE .sp .ne 2 -.mk .na \fB\fIdata\fR\fR .ad .RS 21n -.rt Pointer to mblk containing data bytes to transfer with command. Ignored if NULL. .RE .sp .ne 2 -.mk .na \fB\fIcompletion_reason\fR\fR .ad .RS 21n -.rt Returns overall completion status. Ignored if NULL. Please see \fBusb_callback_flags\fR(9S) for more information. .RE .sp .ne 2 -.mk .na \fB\fIcallback_flags\fR\fR .ad .RS 21n -.rt Returns flags set either during autoclearing or some other callback, which indicate recovery handling done in callback. Ignored if NULL. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 21n -.rt No flags are recognized. Reserved for future expansion. .RE @@ -209,45 +191,37 @@ allocate an mblk. For \fBusb_pipe_ctrl_xfer()\fR: .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 25n -.rt Transfer was successful. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 25n -.rt Request is \fBNULL\fR. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 25n -.rt Called from interrupt context with the USB_FLAGS_SLEEP flag set. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_REQUEST\fR .ad .RS 25n -.rt The request has been freed or otherwise invalidated. .sp A set of conflicting attributes were specified. See @@ -260,12 +234,10 @@ Data space not provided to a control request while ctrl_wLength is nonzero. .sp .ne 2 -.mk .na \fBUSB_INVALID_PIPE\fR .ad .RS 25n -.rt Pipe handle is NULL or invalid. .sp Pipe is closing or closed. @@ -273,34 +245,28 @@ Pipe is closing or closed. .sp .ne 2 -.mk .na \fBUSB_NO_RESOURCES\fR .ad .RS 25n -.rt Memory, descriptors or other resources unavailable. .RE .sp .ne 2 -.mk .na \fBUSB_HC_HARDWARE_ERROR\fR .ad .RS 25n -.rt Host controller is in error state. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 25n -.rt An asynchronous transfer failed or an internal error occurred. .sp The pipe is in an unsuitable state (error, busy, not ready). @@ -317,34 +283,28 @@ information. For \fBusb_pipe_ctrl_xfer_wait()\fR: .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 23n -.rt Request was successful. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 23n -.rt Called from interrupt context. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 23n -.rt \fIdip\fR is NULL. .RE @@ -471,7 +431,7 @@ context. /* Retrieve data in endian neutral way. */ status = (*(data->b_rptr + 1) << 8) | *(data->b_rptr); - + .fi .in -2 @@ -483,15 +443,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_pipe_drain_reqs.9f b/usr/src/man/man9f/usb_pipe_drain_reqs.9f index 8e68e94f9b..a987e49a5c 100644 --- a/usr/src/man/man9f/usb_pipe_drain_reqs.9f +++ b/usr/src/man/man9f/usb_pipe_drain_reqs.9f @@ -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 usb_pipe_drain_reqs 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_PIPE_DRAIN_REQS 9F "Jan 5, 2004" .SH NAME usb_pipe_drain_reqs \- Allow completion of pending pipe requests .SH SYNOPSIS @@ -13,10 +13,10 @@ usb_pipe_drain_reqs \- Allow completion of pending pipe requests -\fBint\fR \fBusb_pipe_drain_reqs\fR(\fBdev_info_t *\fR\fIdip\fR, \fBusb_pipe_handle_t\fR \fIpipe_handle\fR, - \fBuint_t\fR \fItimeout\fR, \fBusb_flags_t\fR \fIusb_flags\fR, - \fBvoid (*\fR\fIcallback\fR)(usb_pipe_handle_t \fIpipe_handle\fR, - \fBusb_opaque_t\fR \fIcallback_arg\fR, \fBint\fR \fIrval\fR, \fBusb_cb_flags_t\fR \fIflags)\fR, +\fBint\fR \fBusb_pipe_drain_reqs\fR(\fBdev_info_t *\fR\fIdip\fR, \fBusb_pipe_handle_t\fR \fIpipe_handle\fR, + \fBuint_t\fR \fItimeout\fR, \fBusb_flags_t\fR \fIusb_flags\fR, + \fBvoid (*\fR\fIcallback\fR)(usb_pipe_handle_t \fIpipe_handle\fR, + \fBusb_opaque_t\fR \fIcallback_arg\fR, \fBint\fR \fIrval\fR, \fBusb_cb_flags_t\fR \fIflags)\fR, \fBusb_opaque_t\fR \fIcallback_arg\fR); .fi @@ -27,69 +27,57 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 16n -.rt Pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 16n -.rt Handle of the pipe containing pending requests. .RE .sp .ne 2 -.mk .na \fB\fItimeout\fR\fR .ad .RS 16n -.rt Maximum wait time for requests to drain. Must be a non-negative value in seconds. Zero specifies no timeout. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 16n -.rt USB_FLAGS_SLEEP is the only flag recognized. Wait for completion and do not call callback. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 16n -.rt Callback handler to notify of asynchronous completion. .RE .sp .ne 2 -.mk .na \fB\fIcallback_arg\fR\fR .ad .RS 16n -.rt Second argument passed to callback function. .RE @@ -121,7 +109,6 @@ The \fIcallback\fR parameter accepts the asynchronous callback handler, which takes the following arguments: .sp .ne 2 -.mk .na \fBusb_pipe_handle_t default_pipe_handle\fR .ad @@ -132,7 +119,6 @@ Handle of the pipe to drain. .sp .ne 2 -.mk .na \fBusb_opaque_t callback_arg\fR .ad @@ -143,7 +129,6 @@ callback_arg specified to \fBusb_pipe_drain_reqs()\fR. .sp .ne 2 -.mk .na \fBint rval\fR .ad @@ -154,7 +139,6 @@ Request status. .sp .ne 2 -.mk .na \fBusb_cb_flags_t callback_flags\fR .ad @@ -163,23 +147,19 @@ Request status. Status of the queueing operation. Can be: .sp .ne 2 -.mk .na \fBUSB_CB_NO_INFO\fR .ad .RS 27n -.rt Callback was uneventful. .RE .sp .ne 2 -.mk .na \fBUSB_CB_ASYNC_REQ_FAILED\fR .ad .RS 27n -.rt Error starting asynchronous request. .RE @@ -188,46 +168,38 @@ Error starting asynchronous request. .SH RETURN VALUES .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 23n -.rt Request is successful. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 23n -.rt \fIdip\fR argument is \fBNULL\fR. USB_FLAGS_SLEEP is clear and callback is \fBNULL\fR. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 23n -.rt Called from callback context with the USB_FLAGS_SLEEP flag set. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_PIPE\fR .ad .RS 23n -.rt Pipe is not open, is closing or is closed. .RE @@ -258,17 +230,17 @@ information on callbacks. dip, pipe_handle, 0, USB_FLAGS_SLEEP, NULL, 0); /* - * Dismantle streams and tear down this instance, + * Dismantle streams and tear down this instance, * now that all requests have been sent. */ qprocsoff(q); - ... - ... + ... + ... ddi_remove_minor_node(dip, NULL); - ... - ... + ... + ... } - + .fi .in -2 @@ -292,15 +264,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_pipe_get_max_bulk_transfer_size.9f b/usr/src/man/man9f/usb_pipe_get_max_bulk_transfer_size.9f index cb0e5652ff..4612777264 100644 --- a/usr/src/man/man9f/usb_pipe_get_max_bulk_transfer_size.9f +++ b/usr/src/man/man9f/usb_pipe_get_max_bulk_transfer_size.9f @@ -4,7 +4,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 usb_pipe_get_max_bulk_transfer_size 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_PIPE_GET_MAX_BULK_TRANSFER_SIZE 9F "Jan 5, 2004" .SH NAME usb_pipe_get_max_bulk_transfer_size \- Get maximum bulk transfer size .SH SYNOPSIS @@ -24,23 +24,19 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 8n -.rt Pointer to the device's dev_info structure. .RE .sp .ne 2 -.mk .na \fB\fIsize\fR\fR .ad .RS 8n -.rt Returns the bulk transfer size. .RE @@ -54,34 +50,28 @@ requests to manageable sizes. .SH RETURN VALUES .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 20n -.rt Size is returned in size argument. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 20n -.rt \fIdip\fR and/or \fIsize\fR argument is \fBNULL\fR. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 20n -.rt Size could not be returned. Zero is returned in \fIsize\fR arg. .RE @@ -109,7 +99,7 @@ May be called from user, kernel or interrupt context. ... } - + .fi .in -2 @@ -121,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_pipe_get_state.9f b/usr/src/man/man9f/usb_pipe_get_state.9f index fd03ff6eec..16724f3047 100644 --- a/usr/src/man/man9f/usb_pipe_get_state.9f +++ b/usr/src/man/man9f/usb_pipe_get_state.9f @@ -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 usb_pipe_get_state 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_PIPE_GET_STATE 9F "Jan 5, 2004" .SH NAME usb_pipe_get_state \- Return USB pipe state .SH SYNOPSIS @@ -13,7 +13,7 @@ usb_pipe_get_state \- Return USB pipe state -\fBint\fR \fBusb_pipe_get_state\fR(\fBusb_pipe_handle_t\fR \fIpipe_handle\fR, +\fBint\fR \fBusb_pipe_get_state\fR(\fBusb_pipe_handle_t\fR \fIpipe_handle\fR, \fBusb_pipe_state_t *\fR\fIpipe_state\fR, \fBusb_flags_t\fR \fIusb_flags\fR); .fi @@ -24,34 +24,28 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 15n -.rt Handle of the pipe to retrieve the state. .RE .sp .ne 2 -.mk .na \fB\fIpipe_state\fR\fR .ad .RS 15n -.rt Pointer to where pipe state is returned. .RE .sp .ne 2 -.mk .na \fB\fIusb_flags\fR\fR .ad .RS 15n -.rt No flags are recognized. Reserved for future expansion. .RE @@ -66,46 +60,38 @@ referred to by \fIpipe_handle\fR into the location pointed to by Possible pipe states are: .sp .ne 2 -.mk .na \fBUSB_PIPE_STATE_CLOSED\fR .ad .RS 26n -.rt Pipe is closed. .RE .sp .ne 2 -.mk .na \fBUSB_PIPE_STATE_ACTIVE\fR .ad .RS 26n -.rt Pipe is active and can send/receive data. Polling is active for isochronous and interrupt pipes. .RE .sp .ne 2 -.mk .na \fBUSB_PIPE_STATE_IDLE\fR .ad .RS 26n -.rt Polling is stopped for isochronous and interrupt-IN pipes. .RE .sp .ne 2 -.mk .na \fBUSB_PIPE_STATE_ERROR\fR .ad .RS 26n -.rt An error occurred. Client must call \fBusb_pipe_reset()\fR. Note that this status is not seen by a client driver if USB_ATTRS_AUTOCLEARING is set in the request attributes. @@ -113,12 +99,10 @@ request attributes. .sp .ne 2 -.mk .na \fBUSB_PIPE_STATE_CLOSING\fR .ad .RS 26n -.rt Pipe is being closed. Requests are being drained from the pipe and other cleanup is in progress. .RE @@ -126,34 +110,28 @@ cleanup is in progress. .SH RETURN VALUES .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 20n -.rt Pipe state returned in second argument. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 20n -.rt Pipe_state argument is \fBNULL\fR. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_PIPE\fR .ad .RS 20n -.rt Pipe_handle argument is \fBNULL\fR. .RE @@ -175,7 +153,7 @@ May be called from user, kernel or interrupt context. ddi_driver_name(dip), ddi_get_instance(dip)); do_recovery(); } - + .fi .in -2 @@ -187,15 +165,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_pipe_intr_xfer.9f b/usr/src/man/man9f/usb_pipe_intr_xfer.9f index 83da265347..dda96724b5 100644 --- a/usr/src/man/man9f/usb_pipe_intr_xfer.9f +++ b/usr/src/man/man9f/usb_pipe_intr_xfer.9f @@ -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 usb_pipe_intr_xfer 9F "3 Aug 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_PIPE_INTR_XFER 9F "Aug 3, 2006" .SH NAME usb_pipe_intr_xfer, usb_pipe_stop_intr_polling \- USB interrupt transfer and polling functions @@ -33,34 +33,28 @@ Solaris DDI specific (Solaris DDI) For \fBusb_pipe_intr_xfer()\fR: .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 15n -.rt Interrupt pipe handle on which request is made. .RE .sp .ne 2 -.mk .na \fB\fIrequest\fR\fR .ad .RS 15n -.rt Pointer to interrupt transfer request. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 15n -.rt USB_FLAGS_SLEEP is the only flag recognized. Wait for needed resources if unavailable. For requests specifying the USB_ATTRS_ONE_XFER attribute, wait for the request to complete. @@ -71,23 +65,19 @@ the request to complete. For \fBusb_pipe_stop_intr_polling()\fR: .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 15n -.rt Interrupt pipe handle on which to stop polling for data. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 15n -.rt USB_FLAGS_SLEEP is the only flag recognized. Wait for polling to stop. .RE @@ -211,45 +201,37 @@ the \fIlen\fR argument. For \fBusb_pipe_intr_xfer()\fR .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 25n -.rt Transfer was successful. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 25n -.rt Request is \fBNULL\fR. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 25n -.rt Called from interrupt context with the USB_FLAGS_SLEEP flag set. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_REQUEST\fR .ad .RS 25n -.rt The request has been freed or otherwise invalidated. .sp A set of conflicting attributes was specified. See \fBusb_intr_request\fR(9S). @@ -270,12 +252,10 @@ An OUT interrupt request was specified with a NULL data argument. .sp .ne 2 -.mk .na \fBUSB_INVALID_PIPE\fR .ad .RS 25n -.rt Pipe handle is NULL or invalid. .sp Pipe is closing or closed. @@ -283,45 +263,37 @@ Pipe is closing or closed. .sp .ne 2 -.mk .na \fBUSB_PIPE_ERROR\fR .ad .RS 25n -.rt Pipe handle refers to a pipe which is in the USB_PIPE_STATE_ERROR state. .RE .sp .ne 2 -.mk .na \fBUSB_NO_RESOURCES\fR .ad .RS 25n -.rt Memory, descriptors or other resources unavailable. .RE .sp .ne 2 -.mk .na \fBUSB_HC_HARDWARE_ERROR\fR .ad .RS 25n -.rt Host controller is in error state. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 25n -.rt An asynchronous transfer failed or an internal error occurred. .sp An intr polling request is made while polling is already in progress. @@ -412,7 +384,7 @@ USB_FLAGS_SLEEP flag is clear. cmn_err (CE_WARN, "%s%d: Error writing intr data.", ddi_driver_name(dip), ddi_get_instance(dip)); } - + .fi .in -2 @@ -424,15 +396,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityEvolving +Interface stability Evolving .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_pipe_isoc_xfer.9f b/usr/src/man/man9f/usb_pipe_isoc_xfer.9f index ada850bf94..8404111c62 100644 --- a/usr/src/man/man9f/usb_pipe_isoc_xfer.9f +++ b/usr/src/man/man9f/usb_pipe_isoc_xfer.9f @@ -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 usb_pipe_isoc_xfer 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_PIPE_ISOC_XFER 9F "Jan 5, 2004" .SH NAME usb_pipe_isoc_xfer, usb_pipe_stop_isoc_polling \- USB isochronous transfer and polling functions @@ -35,34 +35,28 @@ Solaris DDI specific (Solaris DDI) For \fBusb_pipe_isoc_xfer()\fR: .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 15n -.rt Isochronous pipe handle on which request is made. .RE .sp .ne 2 -.mk .na \fB\fIrequest\fR\fR .ad .RS 15n -.rt Pointer to isochronous transfer request. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 15n -.rt USB_FLAGS_SLEEP is the only flag recognized. Wait for needed resources if unavailable. .RE @@ -72,23 +66,19 @@ unavailable. For \fBusb_pipe_stop_isoc_polling()\fR: .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 15n -.rt Isochronous pipe handle on which to stop polling for input. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 15n -.rt USB_FLAGS_SLEEP is the only flag recognized. Wait for polling to stop. .RE @@ -241,45 +231,37 @@ USB_CR_STOPPED_POLLING. For \fBusb_pipe_isoc_xfer()\fR: .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 27n -.rt Transfer was successful. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 27n -.rt Request is \fBNULL\fR. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 27n -.rt Called from interrupt context with the USB_FLAGS_SLEEP flag set. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_REQUEST\fR .ad .RS 27n -.rt The request has been freed or otherwise invalidated. .sp A set of conflicting attributes were specified. See @@ -297,12 +279,10 @@ nonzero isoc_frame_no. .sp .ne 2 -.mk .na \fBUSB_NO_FRAME_NUMBER\fR .ad .RS 27n -.rt An isochronous request was not specified with one and only one of USB_ATTRS_ISOC_START_FRAME or USB_ATTRS_ISOC_XFER_ASAP specified. .sp @@ -312,12 +292,10 @@ zero isoc_frame_no. .sp .ne 2 -.mk .na \fBUSB_INVALID_START_FRAME\fR .ad .RS 27n -.rt An isochronous request was specified with an invalid starting frame number (less than current frame number, or zero) and USB_ATTRS_ISOC_START_FRAME specified. @@ -325,12 +303,10 @@ specified. .sp .ne 2 -.mk .na \fBUSB_INVALID_PIPE\fR .ad .RS 27n -.rt Pipe handle is NULL or invalid. .sp Pipe is closing or closed. @@ -338,45 +314,37 @@ Pipe handle is NULL or invalid. .sp .ne 2 -.mk .na \fBUSB_PIPE_ERROR\fR .ad .RS 27n -.rt Pipe handle refers to a pipe which is in the USB_PIPE_STATE_ERROR state. .RE .sp .ne 2 -.mk .na \fBUSB_NO_RESOURCES\fR .ad .RS 27n -.rt Memory, descriptors or other resources unavailable. .RE .sp .ne 2 -.mk .na \fBUSB_HC_HARDWARE_ERROR\fR .ad .RS 27n -.rt Host controller is in error state. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 27n -.rt An asynchronous transfer failed or an internal error occurred. .sp .in +2 @@ -457,7 +425,7 @@ USB_FLAGS_SLEEP flag is clear. usb_pipe_stop_isoc_polling(pipe, USB_FLAGS_SLEEP); pm_idle_component(dip, 0); - + .fi .in -2 @@ -469,15 +437,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityEvolving +Interface stability Evolving .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_pipe_open.9f b/usr/src/man/man9f/usb_pipe_open.9f index 13e067f60c..1fdb517ace 100644 --- a/usr/src/man/man9f/usb_pipe_open.9f +++ b/usr/src/man/man9f/usb_pipe_open.9f @@ -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 usb_pipe_open 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_PIPE_OPEN 9F "Jan 5, 2004" .SH NAME usb_pipe_open \- Open a USB pipe to a device .SH SYNOPSIS @@ -25,57 +25,47 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 15n -.rt Pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIendpoint\fR\fR .ad .RS 15n -.rt Pointer to endpoint descriptor. .RE .sp .ne 2 -.mk .na \fB\fIpipe_policy\fR\fR .ad .RS 15n -.rt Pointer to \fIpipe_policy\fR. \fIpipe_policy\fR provides hints on pipe usage. .RE .sp .ne 2 -.mk .na \fB\fIflags\fR\fR .ad .RS 15n -.rt USB_FLAGS_SLEEP is only flag that is recognized. Wait for memory resources if not immediately available. .RE .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 15n -.rt Address to where new pipe handle is returned. (The handle is opaque.) .RE @@ -92,12 +82,10 @@ corresponding type of pipe. Each of the four types of pipes uses its physical connection resource differently. They are: .sp .ne 2 -.mk .na \fBControl pipe\fR .ad .RS 20n -.rt Used for bursty, non-periodic, reliable, host-initiated request/response communication, such as for command/status operations. These are guaranteed to get approximately 10% of frame time and will get more if needed and if @@ -106,12 +94,10 @@ available, but there is no guarantee on transfer promptness. Bidirectional. .sp .ne 2 -.mk .na \fBBulk pipe\fR .ad .RS 20n -.rt Used for large, reliable, non-time-critical data transfers. These get the bus on a bandwidth-available basis. Unidirectional. Sample uses include printer data. @@ -119,24 +105,20 @@ data. .sp .ne 2 -.mk .na \fBInterrupt pipe\fR .ad .RS 20n -.rt Used for sending or receiving small amounts of reliable data infrequently but with bounded service periods, as for interrupt handling. Unidirectional. .RE .sp .ne 2 -.mk .na \fBIsochronous pipe\fR .ad .RS 20n -.rt Used for large, unreliable, time-critical data transfers. Boasts a guaranteed constant data rate as long as there is data, but there are no retries of failed transfers. Interrupt and isochronous data are together guaranteed 90% of frame @@ -236,102 +218,84 @@ pipe. On failure, it is set to NULL. .SH RETURN VALUES .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 25n -.rt Open succeeded. .RE .sp .ne 2 -.mk .na \fBUSB_NO_RESOURCES\fR .ad .RS 25n -.rt Insufficient resources were available. .RE .sp .ne 2 -.mk .na \fBUSB_NO_BANDWIDTH\fR .ad .RS 25n -.rt Insufficient bandwidth available. (isochronous and interrupt pipes). .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 25n -.rt Called from interrupt handler with USB_FLAGS_SLEEP set. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 25n -.rt dip and/or pipe_handle is NULL. Pipe_policy is NULL. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_PERM\fR .ad .RS 25n -.rt Endpoint is NULL, signifying the default control pipe. A client driver cannot open the default control pipe. .RE .sp .ne 2 -.mk .na \fBUSB_NOT_SUPPORTED\fR .ad .RS 25n -.rt Isochronous or interrupt endpoint with maximum packet size of zero is not supported. .RE .sp .ne 2 -.mk .na \fBUSB_HC_HARDWARE_ERROR\fR .ad .RS 25n -.rt Host controller is in an error state. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 25n -.rt Pipe is already open. Host controller not in an operational state. Polling interval (\fBep_descr bInterval\fR field) is out of range (intr or isoc pipes). .RE @@ -366,7 +330,7 @@ called from interrupt context if the \fIUSB_FLAGS_SLEEP\fR option is not set. /* Get first interrupt-IN endpoint. */ ep_data = usb_lookup_ep_data(dip, reg_data, interface, alternate, - first_ep_number, USB_EP_ATTR_INTR, USB_EP_DIR_IN); + first_ep_number, USB_EP_ATTR_INTR, USB_EP_DIR_IN); if (ep_data == NULL) { ... } @@ -387,15 +351,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_pipe_reset.9f b/usr/src/man/man9f/usb_pipe_reset.9f index 0e747648b8..7b465c72cb 100644 --- a/usr/src/man/man9f/usb_pipe_reset.9f +++ b/usr/src/man/man9f/usb_pipe_reset.9f @@ -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 usb_pipe_reset 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_PIPE_RESET 9F "Jan 5, 2004" .SH NAME usb_pipe_reset \- Abort queued requests from a USB pipe and reset the pipe .SH SYNOPSIS @@ -25,57 +25,47 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 16n -.rt Pointer to the device's \fBdev_info\fR structure. .RE .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 16n -.rt Handle of the pipe to reset. Cannot be the handle to the default control pipe. .RE .sp .ne 2 -.mk .na \fB\fIusb_flags\fR\fR .ad .RS 16n -.rt USB_FLAGS_SLEEP is the only flag recognized. Wait for completion. .RE .sp .ne 2 -.mk .na \fB\fIcallback\fR\fR .ad .RS 16n -.rt Function called on completion if the USB_FLAGS_SLEEP flag is not specified. If NULL, no notification of completion is provided. .RE .sp .ne 2 -.mk .na \fB\fIcallback_arg\fR\fR .ad .RS 16n -.rt Second argument to callback function. .RE @@ -128,7 +118,6 @@ specified callback is called upon completion. \fIcallback\fR is the callback handler. It takes the following arguments: .sp .ne 2 -.mk .na \fBusb_pipe_handle_t cb_pipe_handle\fR .ad @@ -139,7 +128,6 @@ Handle of the pipe to reset. .sp .ne 2 -.mk .na \fBusb_opaque_t callback_arg\fR .ad @@ -150,7 +138,6 @@ Callback_arg specified to \fBusb_pipe_reset()\fR. .sp .ne 2 -.mk .na \fBint rval\fR .ad @@ -161,7 +148,6 @@ Return value of the reset call. .sp .ne 2 -.mk .na \fBusb_cb_flags_t callback_flags\fR .ad @@ -181,68 +167,56 @@ Status is returned to the caller via the callback handler's rval argument. Possible callback hander rval argument values are: .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 23n -.rt Pipe successfully reset. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_PIPE\fR .ad .RS 23n -.rt \fIpipe_handle\fR specifies a pipe which is closed or closing. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_ARGS\fR .ad .RS 23n -.rt \fIdip\fR or \fIpipe_handle\fR arguments are \fBNULL\fR. USB_FLAGS_SLEEP is clear and callback is NULL. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_CONTEXT\fR .ad .RS 23n -.rt Called from interrupt context with the USB_FLAGS_SLEEP flag set. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_PERM\fR .ad .RS 23n -.rt \fIpipe_handle\fR specifies the default control pipe. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 23n -.rt Asynchronous resources are unavailable. In this case, USB_CB_ASYNC_REQ_FAILED is passed in as the \fIcallback_flags\fR arg to the callback hander. .RE @@ -284,14 +258,14 @@ void post_reset_handler( usb_pipe_handle_t, usb_opaque_t, int, usb_cb_flags_t); /* - * Do an asynchronous reset on bulk_pipe. + * Do an asynchronous reset on bulk_pipe. * Execute post_reset_handler when done. */ usb_pipe_reset(dip, bulk_pipe, 0, post_reset_handler, arg); /* Do a synchronous reset on bulk_pipe. */ usb_pipe_reset(dip, bulk_pipe, USB_FLAGS_SLEEP, NULL, NULL); - + .fi .in -2 @@ -303,15 +277,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_pipe_set_private.9f b/usr/src/man/man9f/usb_pipe_set_private.9f index ff16d0bc78..71f1b21bad 100644 --- a/usr/src/man/man9f/usb_pipe_set_private.9f +++ b/usr/src/man/man9f/usb_pipe_set_private.9f @@ -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 usb_pipe_set_private 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_PIPE_SET_PRIVATE 9F "Jan 5, 2004" .SH NAME usb_pipe_set_private, usb_pipe_get_private \- USB user-defined pipe data-field facility @@ -30,23 +30,19 @@ Solaris DDI specific (Solaris DDI) For \fBusb_pipe_set_private()\fR: .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 15n -.rt Pipe handle into which user-defined data is placed. .RE .sp .ne 2 -.mk .na \fB\fIdata\fR\fR .ad .RS 15n -.rt Data to store in the pipe handle. .RE @@ -55,12 +51,10 @@ Data to store in the pipe handle. For \fBusb_pipe_get_private()\fR: .sp .ne 2 -.mk .na \fB\fIpipe_handle\fR\fR .ad .RS 15n -.rt Pipe handle from which user-defined data is retrieved. .RE @@ -83,23 +77,19 @@ stored via \fBusb_set_driver_private()\fR, from the pipe referred to by For \fBusb_pipe_set_private()\fR: .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 20n -.rt Private data has been successfully stored in pipe handle. .RE .sp .ne 2 -.mk .na \fBUSB_INVALID_PIPE\fR .ad .RS 20n -.rt \fIpipe_handle\fR argument is \fBNULL\fR or invalid. .sp Pipe is closing or closed. @@ -107,12 +97,10 @@ Pipe is closing or closed. .sp .ne 2 -.mk .na \fBUSB_INVALID_PERM\fR .ad .RS 20n -.rt The \fIpipe_handle\fR argument refers to the default control pipe. .RE @@ -144,7 +132,7 @@ May be called from user, kernel or interrupt context. ---- xxx_data_t *xxx_data_ptr = (xxx_data_t *)usb_pipe_get_private(pipe); - + .fi .in -2 @@ -156,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_register_hotplug_cbs.9f b/usr/src/man/man9f/usb_register_hotplug_cbs.9f index 458200e62c..57642a40b8 100644 --- a/usr/src/man/man9f/usb_register_hotplug_cbs.9f +++ b/usr/src/man/man9f/usb_register_hotplug_cbs.9f @@ -4,7 +4,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 usb_register_hotplug_cbs 9F "17 Aug 2004" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_REGISTER_HOTPLUG_CBS 9F "Aug 17, 2004" .SH NAME usb_register_hotplug_cbs, usb_unregister_hotplug_cbs \- Register/unregister for notification of device hotplug events @@ -15,7 +15,7 @@ notification of device hotplug events -\fB\fR\fBint\fR \fBusb_register_hotplug_cbs\fR(\fBdev_info_t *\fR\fIdip\fR, +\fB\fR\fBint\fR \fBusb_register_hotplug_cbs\fR(\fBdev_info_t *\fR\fIdip\fR, \fBint\fR \fI(*disconnection_event_handler)\fR(dev_info_t *\fIdip\fR, \fBint\fR \fI(*reconnection_event_handler)\fR(dev_info_t *\fIdip\fR); .fi @@ -35,7 +35,6 @@ Solaris DDI specific (Solaris DDI) For \fBusb_register_hotplug_cbs()\fR .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad @@ -46,7 +45,6 @@ Pointer to the device's \fBdev_info\fR structure. .sp .ne 2 -.mk .na \fB\fIdisconnection_event_handler\fR\fR .ad @@ -59,7 +57,6 @@ USB_SUCCESS. .sp .ne 2 -.mk .na \fB\fIreconnection_event_handler\fR\fR .ad @@ -75,12 +72,10 @@ USB_SUCCESS. For \fBusb_unregister_hotplug_cbs()\fR: .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad .RS 7n -.rt Pointer to the device's \fBdev_info\fR structure. .RE @@ -100,23 +95,19 @@ hotplugged or removed. For \fBusb_register_hotplug_cbs()\fR: .sp .ne 2 -.mk .na \fBUSB_SUCCESS\fR .ad .RS 15n -.rt Callbacks were successfully registered. .RE .sp .ne 2 -.mk .na \fBUSB_FAILURE\fR .ad .RS 15n -.rt One or more arguments were NULL. .sp Callbacks could not be successfully registered. @@ -147,7 +138,7 @@ The registered callback handlers execute in kernel context. .sp .in +2 .nf - + int remove_device(dev_info_t *) { ... @@ -168,7 +159,7 @@ The registered callback handlers execute in kernel context. "%s%d: Could not register hotplug handlers.", ddi_driver_name(dip), ddi_get_instance(dip)); } - + .fi .in -2 @@ -180,15 +171,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface stabilityCommitted +Interface stability Committed .TE .SH SEE ALSO diff --git a/usr/src/man/man9f/usb_reset_device.9f b/usr/src/man/man9f/usb_reset_device.9f index 747cee6878..ff34e8f135 100644 --- a/usr/src/man/man9f/usb_reset_device.9f +++ b/usr/src/man/man9f/usb_reset_device.9f @@ -3,17 +3,17 @@ .\" 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 usb_reset_device 9F "21 August 2007" "SunOS 5.11" "Kernel Functions for Drivers" +.TH USB_RESET_DEVICE 9F "Aug 21, 2007" .SH NAME usb_reset_device \- reset a USB device according to the reset_level. .SH SYNOPSIS .LP .nf -#include <sys/usb/usba.h +#include <sys/usb/usba.h -\fBint\fR \fBusb_reset_device\fR (\fBdev_info_t *\fR\fIdip\fR, +\fBint\fR \fBusb_reset_device\fR (\fBdev_info_t *\fR\fIdip\fR, \fBusb_dev_reset_lvl_t\fR \fIreset_level\fR); .fi @@ -24,7 +24,6 @@ Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIdip\fR\fR .ad @@ -35,7 +34,6 @@ Pointer to the devices's \fBdev_info\fR structure. .sp .ne 2 -.mk .na \fB\fIreset_level\fR\fR .ad @@ -70,7 +68,6 @@ Some \fBUSB\fR devices need the driver to upload firmware into the device's The valid values for the \fIreset_level\fR are: .sp .ne 2 -.mk .na \fB\fBUSB_RESET_LVL_DEFAULT\fR\fR .ad @@ -85,7 +82,6 @@ the descriptors. .sp .ne 2 -.mk .na \fB\fBUSB_RESET_LVL_REATTACH\fR\fR .ad @@ -113,12 +109,10 @@ depending on where the failure occurred. The return values for the \fBusb_reset_device()\fR function are: .sp .ne 2 -.mk .na \fB\fBUSB_SUCCESS\fR\fR .ad .RS 23n -.rt If \fBUSB_RESET_LVL_DEFAULT\fR is specified, the device was reset successfully. If \fBUSB_RESET_LVL_REATTACH\fR is specified, reattaching was started successfully or a previous reset is still in progress. @@ -126,12 +120,10 @@ successfully or a previous reset is still in progress. .sp .ne 2 -.mk .na \fB\fBUSB_FAILURE\fR\fR .ad .RS 23n -.rt The state of the device's parent hub is invalid (disconnected or suspended). This is called when the driver being detached. If \fBUSB_RESET_LVL_DEFAULT\fR is specified, the device failed to be reset. If \fBUSB_RESET_LVL_REATTACH\fR is @@ -140,46 +132,38 @@ specified, reattaching failed to start. .sp .ne 2 -.mk .na \fB\fBUSB_INVALID_ARGS\fR\fR .ad .RS 23n -.rt Invalid arguments. .RE .sp .ne 2 -.mk .na \fB\fBUSB_INVALID_PERM\fR\fR .ad .RS 23n -.rt The driver of the dip does not own the entire device. .RE .sp .ne 2 -.mk .na \fB\fBUSB_BUSY\fR\fR .ad .RS 23n -.rt If \fBUSB_RESET_LVL_DEFAULT\fR is specified, one or more pipes other than the default control pipe are open on the device. .RE .sp .ne 2 -.mk .na \fB\fBUSB_INVALID_CONTEXT\fR\fR .ad .RS 23n -.rt If \fBUSB_RESET_LVL_DEFAULT\fR is specified, called from interrupt context .RE @@ -197,7 +181,7 @@ state: xxx_configure() { xxx_set_parameter1(); - + if (xxx_set_parameter2() == USB_FAILURE) { /* Close all the opened pipes except the default pipe */ @@ -209,11 +193,11 @@ xxx_configure() /* Re-configure the device */ xxx_set_parameter1(); xxx_set_parameter2(); - + /* Open the closed pipes if needed */ ... } else { - /* Failed to reset the device, check the return value for + /* Failed to reset the device, check the return value for further process */ ... } @@ -243,7 +227,7 @@ static int xxx_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) /* The re-enumeration has been started up, just return */ return (DDI_SUCCESS); } else { - /* Failed to start the re-enumeration, check the return value + /* Failed to start the re-enumeration, check the return value for further process*/ ... return (DDI_FAILURE); @@ -265,15 +249,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 _ -ArchitecturePCI-based systems +Architecture PCI-based systems _ -Interface StabilityCommitted +Interface Stability Committed .TE .SH SEE ALSO @@ -296,7 +279,6 @@ WARNING: \fIdev_path\fR hubd\fIinstance_num\fR \fIdriver_name\fR Error message . .sp .ne 2 -.mk .na \fB\fIdriver_name\fR \fIinstance_num\fR is under bus power management, cannot be reset. Please disconnect and reconnect this device.\fR @@ -310,7 +292,6 @@ reconnect it to system. .sp .ne 2 -.mk .na \fBTime out when resetting the device \fIdriver_name\fR \fIinstance_num\fR. Please disconnect and reconnect it to system.\fR @@ -324,7 +305,6 @@ while and reconnect it to system. .sp .ne 2 -.mk .na \fB\fIdriver_name\fR \fIinstance_num\fR cannot be reset due to other applications are using it, please first close these applications, then diff --git a/usr/src/man/man9f/uwritec.9f b/usr/src/man/man9f/uwritec.9f index b266114da1..6afb2792e6 100644 --- a/usr/src/man/man9f/uwritec.9f +++ b/usr/src/man/man9f/uwritec.9f @@ -4,7 +4,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 uwritec 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH UWRITEC 9F "Jan 16, 2006" .SH NAME uwritec \- remove a character from a uio structure .SH SYNOPSIS @@ -24,12 +24,10 @@ Architecture independent level 1 (DDI/DKI) .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIuio_p\fR\fR .ad .RS 9n -.rt Pointer to the \fBuio\fR(9S) structure .RE diff --git a/usr/src/man/man9f/va_arg.9f b/usr/src/man/man9f/va_arg.9f index 8acd91a2cd..08865eed13 100644 --- a/usr/src/man/man9f/va_arg.9f +++ b/usr/src/man/man9f/va_arg.9f @@ -4,7 +4,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 va_arg 9F "22 Mar 2006" "SunOS 5.11" "Kernel Functions for Drivers" +.TH VA_ARG 9F "Mar 22, 2006" .SH NAME va_arg, va_start, va_copy, va_end \- handle variable argument list .SH SYNOPSIS @@ -40,81 +40,67 @@ Solaris DDI specific (Solaris DDI). .SS "\fBva_start()\fR" .sp .ne 2 -.mk .na \fB\fIpvar\fR\fR .ad .RS 8n -.rt Pointer to variable argument list. .RE .sp .ne 2 -.mk .na \fB\fIname\fR\fR .ad .RS 8n -.rt Identifier of rightmost parameter in the function definition. .RE .SS "\fBva_arg()\fR" .sp .ne 2 -.mk .na \fB\fIpvar\fR\fR .ad .RS 8n -.rt Pointer to variable argument list. .RE .sp .ne 2 -.mk .na \fB\fItype\fR\fR .ad .RS 8n -.rt Type name of the next argument to be returned. .RE .SS "\fBva_copy()\fR" .sp .ne 2 -.mk .na \fB\fIdest\fR\fR .ad .RS 8n -.rt Destination variable argument list. .RE .sp .ne 2 -.mk .na \fB\fIsrc\fR\fR .ad .RS 8n -.rt Source variable argument list. .RE .SS "\fBva_end()\fR" .sp .ne 2 -.mk .na \fB\fIpvar\fR\fR .ad .RS 8n -.rt Pointer to variable argument list. .RE diff --git a/usr/src/man/man9f/vsprintf.9f b/usr/src/man/man9f/vsprintf.9f index fc13fe0873..3de05d89a5 100644 --- a/usr/src/man/man9f/vsprintf.9f +++ b/usr/src/man/man9f/vsprintf.9f @@ -4,7 +4,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 vsprintf 9F "6 May 1996" "SunOS 5.11" "Kernel Functions for Drivers" +.TH VSPRINTF 9F "May 6, 1996" .SH NAME vsprintf \- format characters in memory .SH SYNOPSIS @@ -26,34 +26,28 @@ Solaris DDI specific (Solaris DDI). .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIbuf\fR \fR .ad .RS 8n -.rt Pointer to a character string. .RE .sp .ne 2 -.mk .na \fB\fIfmt\fR \fR .ad .RS 8n -.rt Pointer to a character string. .RE .sp .ne 2 -.mk .na \fB\fIap\fR \fR .ad .RS 8n -.rt Pointer to a variable argument list. .RE @@ -95,12 +89,10 @@ any other conversion character is ignored. A character indicating the type of conversion to be applied: .sp .ne 2 -.mk .na \fB\fBd\fR,\fBD\fR,\fBo\fR,\fBO\fR,\fBx\fR,\fBX\fR,\fBu\fR\fR .ad .RS 17n -.rt The integer argument is converted to signed decimal (\fBd\fR, \fBD\fR), unsigned octal (\fBo\fR, \fBO\fR), unsigned hexadecimal (\fBx\fR, \fBX\fR) or unsigned decimal (\fBu\fR), respectively, and copied. The letters \fBabcdef\fR @@ -110,23 +102,19 @@ conversion. .sp .ne 2 -.mk .na \fB\fBc\fR\fR .ad .RS 17n -.rt The character value of the argument is copied. .RE .sp .ne 2 -.mk .na \fB\fBb\fR\fR .ad .RS 17n -.rt This conversion uses two additional arguments. The first is an integer, and is converted according to the base specified in the second argument. The second argument is a character string in the form @@ -139,12 +127,10 @@ the next bit number or terminating null, supply the name of the bit. .sp .ne 2 -.mk .na \fB\fR .ad .RS 17n -.rt A bit number is a binary-valued character in the range \fB1-32\fR. For each bit set in the first argument, and named in the second argument, the bit names are copied, separated by commas, and bracketed by \fB<\fR and \fB>\fR. Thus, the @@ -154,23 +140,19 @@ following function call would generate \fBreg=3<BitTwo,BitOne>\en\fR in .sp .ne 2 -.mk .na \fB\fR .ad .RS 17n -.rt \fBvsprintf(buf, "reg=%b\en", 3, "\e10\e2BitTwo\e1BitOne")\fR .RE .sp .ne 2 -.mk .na \fB\fBs\fR\fR .ad .RS 17n -.rt The argument is taken to be a string (character pointer), and characters from the string are copied until a null character is encountered. If the character pointer is \fINULL\fR on \fBSPARC\fR, the string \fB<nullstring>\fR is used in @@ -179,12 +161,10 @@ its place; on x86, it is undefined. .sp .ne 2 -.mk .na \fB\fB%\fR\fR .ad .RS 17n -.rt Copy a \fB%\fR; no argument is converted. .RE |