1.3 FUNCTIONAL DESCRIPTION After executing the startup routine, the firmware main loop is entered. The power-up procedure and the startup self test are described in sections 1.4 and 1.5 of this manual. The main routine polls the CMDRAMs for an executable When a valid command is found in one of the CMDRAMs mand will be decoded, all parameters are fetched and mand is executed. command. the com- the com- On completing command execution, the status and command depen- dent parameters are returned in the CMDRAM. Optionally an interrupt will be generated. The ISCSI-l can work in different modes which are: - Single command mode, - Command chaining mode and - SCSI target mode.
The 'SINGLE COMMAND MODE' works exactly as described above. For more information, please refer to chapters 2 and 3 of this manual. The 'COMMAND CHAINING MODE' is a powerful feature to build command macros and to relieve the host from disk I/O jobs. It is entered with a special command from the Single Command Mode and requests subsequent sequential CMDRAMs in the command chaining buffer. Each CMDRAM in the chain buffer is handled and executed as in the Single Command Mode. For a detailed description of the Command Chaining Mode, please refer to sec- tion 2.3.
The 'SCSI TARGET MODE' can be enabled by an initialization command, and means that the ISCSI-l controller is selectable from the SCSlbus as TARGET (i.e. SCSlbus slave). This mode is very useful for system interconnection. Please, refer to chap- ter 3 of this manual for a detailed description of the Target Mode. To increase the performance of the ISCSI-l on read/write ope- rations, data buffering and hashing is implemented in the following manner: - Hashing is enabled on default for all SCSI devices on any READ - operation. It can be disabled/enabled for each target seperately.
- For the floppy disk drives, hashing is disabled on default but can be enabled for each disk seperately by using the SUNPARM (set units parameters) command. - For all WRITE - operations, hashing is disabled and can be enabled only GLOBAL for all units. - On system shut down the FLUSH modified buffers command should be used to make sure that all data is stored to disks! 1-3