Figure8.4 i/o operation, 5 how to write a device driver with scripts, How to write a device driver with scripts – Avago Technologies LSI53C1010 User Manual
Page 192: I/o operation
8-6
Writing Device Drivers with SCRIPTS
device ID specified. When the I/O is complete, the hardware interface
receives an interrupt and notifies the operating system interface. The
operating system interface reads the completion status and uses it to
update the scheduler information. For more information on the scheduler,
refer to
Chapter 10, “Multithreaded I/O.”
Figure 8.4
I/O Operation
8.5 How to Write a Device Driver with SCRIPTS
To develop an executable SCSI SCRIPTS program, you must first define
the SCSI functions required. To do this, you identify which functions will
be executed in SCRIPTS code and which ones must be contained in
other parts of the driver code. After determining this, you design the
specific algorithms for the functions that will be executed in the SCSI
SCRIPTS portion of the SCSI driver. A SCSI SCRIPTS program contains
Host Memory
DOS I/O Request
Command Block
Data Buffers
SCSI SCRIPTS
Buffers
User Application
Operating System
SCRIPTS
SCSI Device
I/O Request
I/O Request
Control
SCRIPTS Address;
Information
Control Information
SCSI Control
Data
Device
Driver
Processor
Operating System
Interface
Hardware
Interface