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

📄 usrscsi.html

📁 Vxworks API操作系统和驱动程序设计API。压缩的HTML文件
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/usrScsi.html - generated by refgen from /vobs/wpwr/target/src/config/usrScsi.c --> <title> usrScsi </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.htm"><i>VxWorks API Reference :  OS Libraries</i></a></p></blockquote><h1>usrScsi</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>usrScsi</strong> - SCSI initialization </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><a href="./usrScsi.html#usrScsiConfig">usrScsiConfig</a>(&nbsp;)</b>  -  configure SCSI peripherals<br><hr><a name="usrScsiConfig"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>usrScsiConfig(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>usrScsiConfig(&nbsp;)</strong> - configure SCSI peripherals</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS usrScsiConfig (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This code configures the SCSI disks and other peripherals on a SCSIcontroller chain.<p>The macro <b>SCSI_AUTO_CONFIG</b> will include code to scan all possible device/lunid's and to configure a scsiPhysDev structure for each device found.  Ofcourse this doesn't include final configuration for disk partitions,floppy configuration parameters, or tape system setup.  All of these actionsmust be performed by user code, either through <b><a href="./sysLib.html#sysScsiConfig">sysScsiConfig</a>(&nbsp;)</b>,the startup script, or by the application program.<p>The user may customize this code on a per BSP basis using the <b>SYS_SCSI_CONFIG</b>macro.  If defined, then this routine will call the routine <b><a href="./sysLib.html#sysScsiConfig">sysScsiConfig</a>(&nbsp;)</b>.That routine is to be provided by the BSP, either in <b>sysLib.c</b> or <b>sysScsi.c</b>.If <b>SYS_SCSI_CONFIG</b> is not defined, then <b><a href="./sysLib.html#sysScsiConfig">sysScsiConfig</a>(&nbsp;)</b> will not be calledas part of this routine.<p>An example <b><a href="./sysLib.html#sysScsiConfig">sysScsiConfig</a>(&nbsp;)</b> routine can be found in <b>target/src/config/usrScsi.c</b>.The example code contains sample configurations for a hard disk, a floppydisk and a tape unit.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK or ERROR.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./usrScsi.html#top">usrScsi</a></b>, <i>VxWorks Programmer's Guide: I/O System, Local File Systems</i></body></html>

⌨️ 快捷键说明

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