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

📄 scsilib.html

📁 vxworks相关论文
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays all of the <b>BLK_DEV</b> structures created on a specifiedphysical device.  This routine is called by <b><i><a href="./scsiLib.html#scsiShow">scsiShow</a></i>(&nbsp;)</b> but may also beinvoked directly, usually from the shell.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./scsiLib.html#top">scsiLib</a></b>, <b><i><a href="./scsiLib.html#scsiShow">scsiShow</a></i>(&nbsp;)</b><hr><a name="scsiBusReset"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>scsiBusReset</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>scsiBusReset</i>(&nbsp;)</strong> - pulse the reset signal on the SCSI bus</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS scsiBusReset    (    SCSI_CTRL * pScsiCtrl /* ptr to SCSI controller info */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine calls a controller-specific routine to reset a specifiedcontroller's SCSI bus.  If no controller is specified (<i>pScsiCtrl</i> is 0),the value in the global variable <b>pSysScsiCtrl</b> is used.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if there is no controller or controller-specificroutine.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./scsiLib.html#top">scsiLib</a></b><hr><a name="scsiIoctl"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>scsiIoctl</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>scsiIoctl</i>(&nbsp;)</strong> - perform a device-specific I/O control function</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS scsiIoctl    (    SCSI_PHYS_DEV * pScsiPhysDev,/* ptr to SCSI block device info */ int function, /* function code */ int arg /* argument to pass called function */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine performs a specified <b>ioctl</b> function using a specified SCSI block device.<p></blockquote><h4>RETURNS</h4><blockquote><p>The status of the request, or ERROR if the request is unsupported.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./scsiLib.html#top">scsiLib</a></b><hr><a name="scsiFormatUnit"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>scsiFormatUnit</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>scsiFormatUnit</i>(&nbsp;)</strong> - issue a <b>FORMAT_UNIT</b> command to a SCSI device</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS scsiFormatUnit    (    SCSI_PHYS_DEV * pScsiPhysDev,  /* ptr to SCSI physical device */    BOOL            cmpDefectList, /* whether defect list is complete */    int             defListFormat, /* defect list format */    int             vendorUnique,  /* vendor unique byte */    int             interleave,    /* interleave factor */    char *          buffer,        /* ptr to input data buffer */    int             bufLength      /* length of buffer in bytes */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine issues a <b>FORMAT_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="./scsiLib.html#top">scsiLib</a></b><hr><a name="scsiModeSelect"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>scsiModeSelect</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>scsiModeSelect</i>(&nbsp;)</strong> - issue a <b>MODE_SELECT</b> command to a SCSI device</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS scsiModeSelect    (    SCSI_PHYS_DEV * pScsiPhysDev, /* ptr to SCSI physical device */    int             pageFormat,   /* value of the page format bit (0-1) */    int             saveParams,   /* value of the save parameters bit (0-1) */    char *          buffer,       /* ptr to output data buffer */    int             bufLength     /* length of buffer in bytes */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine issues a <b>MODE_SELECT</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="./scsiLib.html#top">scsiLib</a></b><hr><a name="scsiModeSense"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>scsiModeSense</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>scsiModeSense</i>(&nbsp;)</strong> - issue a <b>MODE_SENSE</b> command to a SCSI device</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS scsiModeSense    (    SCSI_PHYS_DEV * pScsiPhysDev, /* ptr to SCSI physical device */    int             pageControl,  /* value of the page control field (0-3) */    int             pageCode,     /* value of the page code field (0-0x3f) */    char *          buffer,       /* ptr to input data buffer */    int             bufLength     /* length of buffer in bytes */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine issues a <b>MODE_SENSE</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="./scsiLib.html#top">scsiLib</a></b><hr><a name="scsiReadCapacity"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>scsiReadCapacity</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>scsiReadCapacity</i>(&nbsp;)</strong> - issue a <b>READ_CAPACITY</b> command to a SCSI device</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS scsiReadCapacity    (    SCSI_PHYS_DEV * pScsiPhysDev, /* ptr to SCSI physical device */    int *           pLastLBA,     /* where to return last logical block */    int *           pBlkLength    /* where to return block length */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine issues a <b>READ_CAPACITY</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="./scsiLib.html#top">scsiLib</a></b><hr><a name="scsiRdSecs"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>scsiRdSecs</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>scsiRdSecs</i>(&nbsp;)</strong> - read sector(s) from a SCSI block device</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS scsiRdSecs    (    SCSI_BLK_DEV * pScsiBlkDev, /* ptr to SCSI block device info */    int            sector,      /* sector number to be read */    int            numSecs,     /* total sectors to be read */    char *         buffer       /* ptr to input data buffer */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine reads the specified physical sector(s) from a specifiedphysical device.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the sector(s) cannot be read.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./scsiLib.html#top">scsiLib</a></b><hr><a name="scsiWrtSecs"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>scsiWrtSecs</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>scsiWrtSecs</i>(&nbsp;)</strong> - write sector(s) to a SCSI block device</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS scsiWrtSecs    (    SCSI_BLK_DEV * pScsiBlkDev, /* ptr to SCSI block device info */    int            sector,      /* sector number to be written */    int            numSecs,     /* total sectors to be written */    char *         buffer       /* ptr to input data buffer */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine writes the specified physical sector(s) to a specified physicaldevice.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the sector(s) cannot be written.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./scsiLib.html#top">scsiLib</a></b><hr><a name="scsiTestUnitRdy"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>scsiTestUnitRdy</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>scsiTestUnitRdy</i>(&nbsp;)</strong> - issue a <b>TEST_UNIT_READY</b> command to a SCSI device</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS scsiTestUnitRdy    (    SCSI_PHYS_DEV * pScsiPhysDev /* ptr to SCSI physical device */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine issues a <b>TEST_UNIT_READY</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="./scsiLib.html#top">scsiLib</a></b><hr><a name="scsiInquiry"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>scsiInquiry</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>scsiInquiry</i>(&nbsp;)</strong> - issue an INQUIRY command to a SCSI device</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS scsiInquiry    (    SCSI_PHYS_DEV * pScsiPhysDev, /* ptr to SCSI physical device */    char *          buffer,       /* ptr to input data buffer */    int             bufLength     /* length of buffer in bytes */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine issues an INQUIRY 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="./scsiLib.html#top">scsiLib</a></b><hr><a name="scsiReqSense"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>scsiReqSense</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>scsiReqSense</i>(&nbsp;)</strong> - issue a <b>REQUEST_SENSE</b> command to a SCSI device and read results</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS scsiReqSense    (    SCSI_PHYS_DEV * pScsiPhysDev, /* ptr to SCSI physical device */    char *          buffer,       /* ptr to input data buffer */    int             bufLength     /* length of buffer in bytes */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine issues a <b>REQUEST_SENSE</b> command to a specified SCSI device andreads the results.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the command fails.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./scsiLib.html#top">scsiLib</a></b></body></html>

⌨️ 快捷键说明

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