|
|
Host bus adapters (HBAs) handle the controller-specific aspects of handling an SDI device that is implemented as a target driver. For example, to read a given block of data on a slice of a hard disk, the target driver determines which actual physical sector on the disk will be read, and the HBA driver programs the disk controller registers, issues the read request, and responds to the interrupts that are generated by the read request. The results of the read operation, whether successful or not, are passed back to the target driver, which then signals the completion of the operation.
This article applies to SVR5 SDI drivers. A similar architecture is used for SCO OpenServer 5 OSDI drivers, but the term HA (Host Adapter) is used rather than HBA.
The following entry point routines are required for SDI HBA drivers. Some functionality may not be required for some HBA devices, but the SDI requires that the entry point exists to avoid the special handling that would otherwise be required.
The following pass-through entry points are also required:
For guidelines about writing HBA drivers, see ``Guidelines for SDI HBA storage drivers''.