usrscsi.html
来自「Vxworks API操作系统和驱动程序设计API。压缩的HTML文件」· HTML 代码 · 共 63 行
HTML
63 行
<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>( )</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( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>usrScsiConfig( )</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>( )</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>( )</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>( )</b> will not be calledas part of this routine.<p>An example <b><a href="./sysLib.html#sysScsiConfig">sysScsiConfig</a>( )</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 + =
减小字号Ctrl + -
显示快捷键?