ISO IEC 9316-2-2000 Information technology - Small computer system interface-2 (SCSI-2) - Part 2 Common Access Method (CAM) Transport and SCSI interface module《.pdf
《ISO IEC 9316-2-2000 Information technology - Small computer system interface-2 (SCSI-2) - Part 2 Common Access Method (CAM) Transport and SCSI interface module《.pdf》由会员分享,可在线阅读,更多相关《ISO IEC 9316-2-2000 Information technology - Small computer system interface-2 (SCSI-2) - Part 2 Common Access Method (CAM) Transport and SCSI interface module《.pdf(126页珍藏版)》请在麦多课文档分享上搜索。
1、INTERNATIONAL STANDARD ISO/IEC 93162 Firstedition 200006 Informationtechnology Smallcomputersysteminterface2(SCSI2) Part2: CommonAccessMethod(CAM) TransportandSCSIinterfacemodule Referencenumber ISO/IEC93162:2000(E)INTERNATIONAL STANDARD ISO/IEC 93162 Firstedition 200006 Informationtechnology Smallc
2、omputersysteminterface2(SCSI2) Part2: CommonAccessMethod(CAM) TransportandSCSIinterfacemodule PRICECODE ISO/IEC2000 Allrightsreserved.Unlessotherwisespecified,nopartofthispublicationmaybereproducedorutilizedinanyformorbyan y means,electronicormechanical,includingphotocopyingandmicrofilm,withoutpermi
3、ssioninwritingfromthepublisher. ISO/IECCopyrightOffice Casepostale56 CH1211Genve20 Switzerland XA Forprice,seecurrentcatalogue 2 9316-2 ISO/IEC:2000(E) CONTENTS Page FOREWORD 6 INTRODUCTION 7 Clause 1 Scope.9 2 Conformance9 3 Normative references .10 4 Definitions 10 5 Conventions .11 6 General desc
4、ription 12 6.1 General .12 6.2 Environment12 6.3 Peripheral driver functions.13 6.4 XPT functions14 6.5 SIM functions 14 7 Background 14 7.1 General .14 7.2 Software14 7.3 CAM (Common Access Method) 14 7.4 OSD (Operating System Dependencies)15 7.5 Architectural considerations 15 8 Principles of oper
5、ation16 8.1 Accessing the XPT 16 8.2 Initialization.17 8.3 CCB completion 17 8.3.1 Completion of immediate CCB.17 8.3.2 Completion of queued CCB .17 8.4 SCSI request queues 18 8.4.1 The logical unit and the peripheral driver.18 8.4.2 SIM queuing 18 8.5 SIM handling of SCSI resets20 8.6 Asynchronous
6、event callback 21 8.7 Autosense .23 8.8 Loadable modules .24 9 OSD (operating system dependent) operation 25 9.1 UNIVOS operating system.25 9.1.1 Initialization.25 9.1.2 Accessing the XPT 26 9.1.3 Callback on completion26 9.1.4 Pointer definition in the UNIVOS environment26 9.1.5 Request mapping inf
7、ormation 27 9.1.6 XPT interface 27 9.1.7 SIM interface.28 9.2 LANOS28 9.2.1 Initialization.28 9.2.2 SIM and peripheral driver unloading29 9.2.3 Accessing the XPT 30 9.2.4 Hardware registration30 9.2.5 Miscellaneous .309316-2 ISO/IEC:2000(E) 3 Clause Page 9.3 DOS (disk operating system).31 9.3.1 Init
8、ialization.31 9.3.2 Accessing the XPT 32 9.3.3 Callback on completion .33 9.3.4 Asynchronous event callbacks.33 9.3.5 Pointer definition .34 10 CAM control blocks.34 10.1 CCB header fields .36 10.1.1 Address of this CCB36 10.1.2 CAM control block length.36 10.1.3 XPT function code.36 10.1.4 CAM stat
9、us .36 10.1.5 Connect ID39 10.1.6 CAM flags .39 10.2 Function codes39 10.2.1 NOP39 10.2.2 Get device type .40 10.2.3 Path inquiry.41 10.2.4 Release SIM queue.43 10.2.5 Scan SCSI bus44 10.2.6 Scan logical unit45 10.2.7 Set asynchronous callback45 10.2.8 Set device type .46 10.3 SCSI control functions
10、.47 10.3.1 Abort SCSI command47 10.3.2 Reset SCSI bus.48 10.3.3 Reset SCSI device 49 10.3.4 Terminate I/O process.49 11 CAM control block to request I/O 51 11.1 Field descriptions for CAM control blocks to request I/O51 11.1.1 Autosense Residual Length.51 11.1.2 Callback on completion .51 11.1.3 CAM
11、 flags .51 11.1.4 CDB 55 11.1.5 CDB length55 11.1.6 Data transfer length.55 11.1.7 Function code .55 11.1.8 Initiator ID .55 11.1.9 Message buffer length (target-only).55 11.1.10 Message buffer pointer (target-only)55 11.1.11 Next CCB pointer 56 11.1.12 Number of scatter/gather entries .56 11.1.13 P
12、eripheral driver pointer56 11.1.14 Private data.56 11.1.15 Request mapping information56 11.1.16 Residual length .56 11.1.17 SCSI status.56 11.1.18 Sense info buffer length 56 4 9316-2 ISO/IEC:2000(E) Clause Page 11.1.19 Sense info buffer pointer .56 11.1.20 SG list/data buffer pointer .56 11.1.21 T
13、ag ID.56 11.1.22 Tagged queue action.57 11.1.23 Timeout value .57 11.1.24 VU field .57 11.2 Execute SCSI I/O 57 11.3 Command linking (optional).59 11.4 Target mode overview .61 11.5 Phase-Cognizant Mode .62 11.5.1 Enable LUN for phase cognizant mode62 11.5.2 I/O process creation for phase cognizant
14、mode .65 11.5.3 Continuation and completion of an I/O process for phase cognizant mode .66 11.5.4 Non-transparent event handling for phase cognizant mode67 11.5.5 EXECUTE TARGET I/O CCB.69 11.6 Host Target Mode71 11.6.1 Host Target Mode functionality not specified .71 11.6.2 Host Target Mode message
15、s.71 11.6.3 Use of the IMMEDIATE NOTIFY CCB72 11.6.4 IMMEDIATE NOTIFY CCB.79 11.6.5 NOTIFY ACKNOWLEDGE CCB.81 11.6.6 Enable target mode LUN for Host Target Mode .81 11.6.7 ENABLE LUN CCB for Host Target Mode84 11.6.8 ACCEPT TARGET I/O and CONTINUE TARGET I/O CCB operation .85 11.6.9 ACCEPT TARGET I/
16、O CCB.91 11.6.10 CONTINUE TARGET I/O CCB.92 11.6.11 Disable of a Host Target Mode LUN 94 11.6.12 Exception conditions .94 11.6.13 CDB reception on a non enabled LUN .96 11.6.14 Retrieving unused ACCEPT TARGET I/O CCBs from the SIM .96 12 HBA engines 96 13 Engine inquiry 97 13.1 Execute engine (optio
17、nal)98 Annex A (informative) Physical/logical translation in 80x86 environment100 Annex B (informative) Target peripheral driver example.105 Annex C (informative) UNIVOS OSD data structures107 Figure 1 CAM environment model 13 Figure 2 CAM layers 299316-2 ISO/IEC:2000(E) 5 Page Table 1 Asynchronous
18、event callback opcode data requirements.23 Table 2 CAM control block header .34 Table 3 Support of SCSI messages35 Table 4 XPT function codes .36 Table 5 CAM status .37 Table 6 NOP CCB40 Table 7 Get device type CCB.40 Table 8 PATH INQUIRY CCB Part 1 of 2.41 Table 9 Release SIM queue.44 Table 10 SCAN
19、 SCSI BUS CCB.44 Table 11 SCAN LOGICAL UNIT CCB.45 Table 12 SET ASYNCHRONOUS CALLBACK CCB46 Table 13 SET DEVICE TYPE CCB.46 Table 14 ABORT SCSI COMMAND CCB48 Table 15 RESET SCSI BUS CCB.48 Table 16 RESET SCSI DEVICE CCB .49 Table 17 TERMINATE I/O PROCESS CCB 50 Table 18 CAM flags Part 1 of 2 .52 Tab
20、le 19 Scatter Gather List 53 Table 20 EXECUTE SCSI I/O REQUEST CCB .58 Table 21 ENABLE LUN CCB for phase cognizant mode.63 Table 22 CCB List63 Table 23 EXECUTE TARGET I/O CCB.70 Table 24 IMMEDIATE NOTIFY CCB.80 Table 25 NOTIFY ACKNOWLEDGE CCB.81 Table 26 ENABLE LUN CCB for Host Target Mode 84 Table
21、27 ACCEPT TARGET I/O CCB.91 Table 28 CONTINUE TARGET I/O CCB.93 Table 29 ENGINE INQUIRY CCB.97 Table 30 EXECUTE ENGINE REQUEST CCB98 6 9316-2 ISO/IEC:2000(E) INFORMATION TECHNOLOGY SMALL COMPUTER SYSTEM INTERFACE2 (SCSI-2) Part 2: Common Access Method (CAM) Transport and SCSI interface module FOREWO
22、RD ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical co
23、mmittees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in th
24、e work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ISOIEC931622000INFORMATIONTECHNOLOGYSMALLCOMPUTERSYSTEMINTERFACE2SCSI2PART2COMMONACCESSMETHODCAMTRANSPORTANDSCSIINTERFACEMODULEPDF

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