⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scsidirectlib.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/scsiDirectLib.html - generated by refgen from scsiDirectLib.c --> <title> scsiDirectLib </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>VxWorks Reference Manual :  Libraries</i></a></p></blockquote><h1>scsiDirectLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>scsiDirectLib</strong> - SCSI library for direct access devices (SCSI-2) </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./scsiDirectLib.html#scsiStartStopUnit">scsiStartStopUnit</a></i>(&nbsp;)</b>  -  issue a <b>START_STOP_UNIT</b> command to a SCSI device<br><b><i><a href="./scsiDirectLib.html#scsiReserve">scsiReserve</a></i>(&nbsp;)</b>  -  issue a RESERVE command to a SCSI device<br><b><i><a href="./scsiDirectLib.html#scsiRelease">scsiRelease</a></i>(&nbsp;)</b>  -  issue a RELEASE command to a SCSI device<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library contains commands common to all direct-access SCSI devices.These routines are separated from <b><a href="./scsi2Lib.html#top">scsi2Lib</a></b> in order to create an additionallayer for better support of all SCSI direct-access devices.<p>Commands in this library include:<p><table><tr valign=top><th align=left>Command                 </th><th align=left> Op Code</tr><tr><td colspan="2"><hr></tr><tr valign=top><td align=left>FORMAT UNIT             </td><td align=left> (0x04)</tr><tr valign=top><td align=left>READ (6)                </td><td align=left> (0x08)</tr><tr valign=top><td align=left>READ (10)               </td><td align=left> (0x28)</tr><tr valign=top><td align=left>READ CAPACITY           </td><td align=left> (0x25)</tr><tr valign=top><td align=left>RELEASE                 </td><td align=left> (0x17)</tr><tr valign=top><td align=left>RESERVE                 </td><td align=left> (0x16)</tr><tr valign=top><td align=left>MODE SELECT (6)         </td><td align=left> (0x15)</tr><tr valign=top><td align=left>MODE SELECT (10)        </td><td align=left> (0x55)</tr><tr valign=top><td align=left>MODE SENSE (6)          </td><td align=left> (0x1a)</tr><tr valign=top><td align=left>MODE SENSE (10)         </td><td align=left> (0x5a)</tr><tr valign=top><td align=left>START STOP UNIT         </td><td align=left> (0x1b)</tr><tr valign=top><td align=left>WRITE (6)               </td><td align=left> (0x0a)</tr><tr valign=top><td align=left>WRITE (10)              </td><td align=left> (0x2a)</tr><tr valign=top><td align=left></tr></tr></table></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>scsiLib.h</b>, <b>scsi2Lib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./scsiDirectLib.html#top">scsiDirectLib</a></b>, <b><a href="./dosFsLib.html#top">dosFsLib</a></b>, <b><a href="./rt11FsLib.html#top">rt11FsLib</a></b>, <b><a href="./rawFsLib.html#top">rawFsLib</a></b>, <b><a href="./scsi2Lib.html#top">scsi2Lib</a></b>,  <i>VxWorks Programmer's Guide: I/O System, Local File Systems</i><hr><a name="scsiStartStopUnit"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>scsiStartStopUnit</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>scsiStartStopUnit</i>(&nbsp;)</strong> - issue a <b>START_STOP_UNIT</b> command to a SCSI device</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS scsiStartStopUnit    (    SCSI_PHYS_DEV * pScsiPhysDev, /* ptr to SCSI physical device */    BOOL            start         /* TRUE == start, FALSE == stop */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine issues a <b>START_STOP_UNIT</b> command to a specified SCSI device.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the command fails.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./scsiDirectLib.html#top">scsiDirectLib</a></b><hr><a name="scsiReserve"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>scsiReserve</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>scsiReserve</i>(&nbsp;)</strong> - issue a RESERVE command to a SCSI device</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS scsiReserve    (    SCSI_PHYS_DEV * pScsiPhysDev /* ptr to SCSI physical device */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine issues a RESERVE command to a specified SCSI device.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the command fails.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./scsiDirectLib.html#top">scsiDirectLib</a></b><hr><a name="scsiRelease"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>scsiRelease</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>scsiRelease</i>(&nbsp;)</strong> - issue a RELEASE command to a SCSI device</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS scsiRelease    (    SCSI_PHYS_DEV * pScsiPhysDev /* ptr to SCSI physical device */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine issues a RELEASE command to a specified SCSI device.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the command fails.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./scsiDirectLib.html#top">scsiDirectLib</a></b></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -