SCO SVR5 1 and 2 Host Bus Adapter (HBA) drivers, must provide a standard DSP, but must also be packaged as HBA floppies. A demand-loadable image of the HBA driver is included on a separate floppy disk, along with the DSP, and made available to the user during system installation.
The HBA floppy contains a set of standard files and DSPs for all vendor-provided HBA drivers, and is used during two distinct phases of the installation process. The first phase demand-loads all the preconfigured loadable images of HBA drivers that are present on the HBA floppy. The loadable image modules are necessary not only for installing the operating system on a hard disk device connected to the HBA, but also for accessing the installation media. The second phase of the installation process optionally installs the DSPs for HBA drivers that were successfully loaded in the first phase.
The graphical (GUI-based) shell script bldscript available with the HDK helps driver developers to generate HBA floppies. To use this, your are expected to provide a complete DSP that includes the following components:
You can refer to the appropriate manual pages for details on the contents of each of these components. Please see also the sample DPT driver source in the HDK for an example. In most cases, a functional HBA diskette can be constructed by replacing the reference to DPT with the new driver in the packaging components (that is, copyright, pkginfo, postinstall, preremove, and prototype).
In addition to the DSP and loadable image, ihvhba.bldscript copies an additional set of files to the floppy:
The ihvhba.bldscript utility is located in the HDK in the /usr/src/hdk/hba/ihvhba directory.