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

📄 readme.txt

📁 基于FAS466的SCSI控制器的启动器模式的C源代码。
💻 TXT
字号:

/*										*/
/*				NOTICE						*/
/*										*/
/*		COPYRIGHT 2000-2001 QLOGIC CORPORATION				*/
/*			ALL RIGHTS RESERVED					*/
/*										*/
/* This computer program is confidental and contains trade secret of		*/
/* QLOGIC Corporation. The receipt or possession of this program does		*/
/* not convey any rights to reproduce or disclose its contents, or to		*/
/* manufacture, use, or sell anything that it may describe, in whole or		*/
/* in part, without the specific written consent of QLOGIC Corporation.		*/
/* Any reproduction of this program without the express written consent		*/
/* of QLOGIC Corporation is a violation of the copyright laws and may		*/
/* subject you to civil liability and criminal prosecution.			*/
/*										*/
/* Q-Logic Corporation hereby authorizes the user to use and incorporate	*/  
/* this sample code into its products for use with Q-Logic products.  The	*/
/* user can modify the sample code and use the modified code with Q-Logic	*/
/* products.  The user may use the code without fee, charge or royalty.		*/  
/* The sample code is provided to the user and the user accepts the		*/ 
/* sample code as is with no warranties of any any kind and user uses the	*/ 
/* sample code at his or her own risk.  The use of the sample code		*/
/* is evidence of its agreement to these terms.					*/
/*										*/
/****************************************************************************/

======================================================================
FAS466  SAMPLE CODE SET  
REVISION B.1
7/15/2002
======================================================================

This sample codeset is a preliminary version that will eventually be
used for the evaluation card when it is available.  This code has only
been compiled and linked with no errors and has yet to be tested with
actual hardware.  It is intended to be only used as a reference for
configuring the FAS466  to perform SCSI activities.


---------------------
SCSI COMMAND SUPPORT
---------------------

TEST UNIT READY
WRITE(6)
READ(6)

--------------------------------------------
CODESET FILES SUMMARY
--------------------------------------------

This is a list of files that make up the latest codeset.  A brief 
synopsis of each file's function follows this section.

Header Files
-------------
fas466defs.h
fas466globalvars.h
fas466regs.h

Source Files
-------------

 Initiator_Mode_tur;		// issue test unit ready command
 Initiator_Mode_req_sen;  	// issue request sense command 
 Initiator_Mode_req_cap;  	// issue request capacity command
 Initiator_Mode_sen;		// Mode Sense and Reselection example
 Initiator_Mode_wr_rd;		// write and read data
 Initiator_Mode_wr;		// write data
 Initiator_Mode_rd;		// read data
 Initiator_Negotiate_sw;	// Negotiation
 Cmd_Complete466;		// wait for command complete status

--------------------------------------------
CODESET FILES DESCRIPTION
--------------------------------------------

HEADER FILES

fas466defs.h
==============
This header file contains miscellaneous definitions, such as SCSI 
Commands, Status Codes, and SCSI Messages.  It contains other 
definitions as well.


fas466globalvars.h
====================
This header files contains all global variables.

fas466regs.h
====================
This header file contains the register addresses of all FAS566 
registers and the external DMA controller.


fas466_size.c
===========
This source file defines the size (byte, word, wide word) of all FAS566
registers in preparation for access from the processor.

interface.c
===========
This source file faciliates access to the chip registers by defining
functions to read and ite to registers, as well as bit setting and
clearing.

				
Initiator_Mode_wr_rd.c
==================
This source file contains code to issue a SCSI WRITE(6) and READ(6) command.  It
sets up the SC,  and DMA to recieve/send data from the SCSI to the external DMA Controller.

Initiator_Negotiate_sw.c
==================
This source file contains code to negotiation all transfer rates.
 


------------------------------------------------------------------------
REVISION HISTORY
------------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Revision B.1 
7/15/02
THAO TRAN

INITIAL RELEASE
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

⌨️ 快捷键说明

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