ANSI INCITS 232-1996 Information Technology - SCSI-2 Common Access Method Transport and SCSI Interface Module.pdf
《ANSI INCITS 232-1996 Information Technology - SCSI-2 Common Access Method Transport and SCSI Interface Module.pdf》由会员分享,可在线阅读,更多相关《ANSI INCITS 232-1996 Information Technology - SCSI-2 Common Access Method Transport and SCSI Interface Module.pdf(122页珍藏版)》请在麦多课文档分享上搜索。
1、ANSI INCITS 232-1996 (R2001)(formerly ANSI X3.232-1996 (R2001)Information Technology SCSI-2 Common AccessMethod Transport andSCSI Interface ModuleANSI X3.232-l 996 American National Standard for Information Technology - SCSI-2 Common Access Method Transport and SCSI Interface Module Secretariat Info
2、rmation Technology Industry Council Approved February 5, 1996 American National Standards Institute, Inc. AmericanNationalStandardApproval of an American National Standard requires review by ANSI that therequirements for due process, consensus, and other criteria for approval havebeen met by the sta
3、ndards developer.Consensus is established when, in the judgment of the ANSI Board of StandardsReview, substantial agreement has been reached by directly and materiallyaffected interests. Substantial agreement means much more than a simplemajority, but not necessarily unanimity. Consensus requires th
4、at all views andobjections be considered, and that a concerted effort be made toward theirresolution.The use of American National Standards is completely voluntary; their existencedoes not in any respect preclude anyone, whether he has approved the standardsor not, from manufacturing, marketing, pur
5、chasing, or using products, processes,or procedures not conforming to the standards.The American National Standards Institute does not develop standards and will inno circumstances give an interpretation of any American National Standard.Moreover, no person shall have the right or authority to issue
6、 an interpretation ofan American National Standard in the name of the American National StandardsInstitute. Requests for interpretations should be addressed to the secretariat orsponsor whose name appears on the title page of this standard.CAUTION NOTICE: This American National Standard may be revis
7、ed orwithdrawn at any time. The procedures of the American National StandardsInstitute require that action be taken periodically to reaffirm, revise, or withdrawthis standard. Purchasers of American National Standards may receive currentinformation on all standards by calling or writing the American
8、 National StandardsInstitute.CAUTION: The developers of this standard have requested that holders of patents that may be required for theimplementation of the standard disclose such patents to the publisher. However, neither the developers nor the publisherhave undertaken a patent search in order to
9、 identify which, if any, patents may apply to this standard. As of the date ofpublication of this standard and following calls for the identification of patents that may be required for the implementationof the standard, no such claims have been made. No further patent search is conducted by the dev
10、eloper or publisher inrespect to any standard it processes. No representation is made or implied that licenses are not required to avoidinfringement in the use of this standard.Published byAmerican National Standards Institute11 West 42nd Street, New York, New York 10036Copyright 1996 by Information
11、 Technology Industry Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform, in an electronic retrieval system or otherwise,without prior written permission of ITI, 1250 Eye Street NW,Washington, DC 20005.Printed in the United States of AmericaContents Page Forewor
12、d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*. VIII Scope . .l Normative references .l Definitions and conventions . .l 3.1 Definitions 1 3.2 Conventions . .2 Conformance .2 General description . .3 5.1 Environment . 3 5.2 Peripheral driver functions
14、.4 5.3 XPT functions .5 5.4 SIM functions . .5 Background .5 6.1 Software . 6.2 CAM (Common Access Method) . .5 6.3 OSD (Operating System Dependencies) . .6 6.4 Architectural considerations . .6 Principles of operation . 7 7.1 Accessing the XPT .7 7.2 Initialization 7 7.3 CCB completion . .8 7.3.1 C
15、ompletion of immediate CCB 8 7.3.2 Completion of queued CCB .9 7.4 SCSI request queues . .9 7.4.1 The logical unit and the peripheral driver . .9 7.4.2 SIM queuing .10 7.4.2.1 SIM queue priority . .10 7.4.2.2 Tag recognition . .10 7.4.2.3 Error conditions and queues within the subsystem . .10 7.5 SI
16、M handling of SCSI resets 11 7.6 Asynchronous event callback .12 7.7 Autosense .14 7.8 Loadable modules . 15 OSD (operating system dependent) operation:. .16 8.1 UNIVOS operating system . .16 8.1 .l Initialization .16 8.1.2 Accessing the XPT .17 8.1.2.1 From the peripheral driver . .17 8.1.2.2 From
17、the SIM . .17 8.1.3 Callback on completion . .18 8.1.4 Pointer definition in the UNIVOS environment .18 8.1.5 Request mapping information .18 8.1.6 XPT interface .18 i Page 8.1.6.1 Functions for peripheral driver support . .18 8.1.6.2 Functions for SIM module support .19 8.1.7 SIM interface . .19 8.
18、2 LANOS .19 8.2.1 lnitialization .20 8.2.2 SIM and peripheral driver unloading . .21 8.2.3 Accessing the XPT .21 8.2.4 Hardware registration .21 8.2.5 Miscellaneous . .22 8.3 DOS (disk operating system) .22 8.3.1 Initialization . .22 8.3.1 .l Multiple XPTs . .22 8.3.1.2 Device table handling . .23 8
19、.3.2 Accessing the XPT .23 8.3.2.1 Testing for the presence of the XPT/SIM . .23 8.3.2.2 Sending a CCB to the XPT .24 8.3.3 Callback on completion . .24 8.3.4 Asynchronous event callbacks .24 8.3.5 Pointer definition .25 9 CAM control blocks . .26 9.1 CCB header fields .27 9.1 .l Address of this CCB
20、 . .27 9.1.2 CAM control block length . .27 9.1 .3 XPT function code . .27 9.1.4 CAM status . .28 9.1 5 Connect ID . .31 9.1.6 CAM flags 3 1 9.2 Function codes . .31 9.2.1 NOP .31 9.2.2 Get device type . ,31 9.2.3 Path inquiry .32 9.2.4 Release SIM queue . 35 9.2.5 Scan SCSI bus . .36 9.2.6 Scan log
21、ical unit ,37 9.2.7 Set asynchronous callback .37 9.2.8 Set device type . .38 9.3 SCSI control functions .39 9.3.1 Abort SCSI command .39 9.3.2 Reset SCSI bus .40 9.3.3 Reset SCSI device .40 9.3.4 Terminate I/O process . .41 10 CAM control block to request I/O .42 10.1 Field descriptions for CAM con
22、trol blocks to request l/O.4 2 10.1 .l Autosense Residual Length . .42 10.1.2 Callback on completion .43 10.1.3 CAM flags . .43 10.1.3.1 Byte 1 bits .45 10.1.3.2 Byte 2 bits .46 10.1.3.3 Byte 3 bits .46 10.1.3.4 Byte 4 bits for phase-cognizant mode .46 10.1.3.5 Byte 4 bits for host target mode . .47
23、 ii Page 10.1.4 CDB 47 10.15 CDB length .47 10.1.6 Data transfer length . .47 10.1.7 Function code .47 10.1.8 Initiator ID . .47 10.1.9 Message buffer length (target-only). . .48 10.1 .lO Message buffer pointer (target-only) .48 10.1.11 Next CCB pointer .48 10.1.12 Number of scatter/gather entries .
24、48 10.1.13 Peripheral driver pointer .48 10.1.14 Private data .48 10.1.15 Request mapping information .48 10.1.16 Residual length . .48 10.1.17 SCSI status . .48 10.1.18 Sense info buffer length . .48 10.1.19 Sense info buffer pointer . .49 10.1.20 SG list/data buffer pointer .49 10.1.21 Tag ID .49
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ANSIINCITS2321996INFORMATIONTECHNOLOGYSCSI2COMMONACCESSMETHODTRANSPORTANDSCSIINTERFACEMODULEPDF

链接地址:http://www.mydoc123.com/p-435565.html