If the adapter driver is controlling a PCI device, then this member is set to the PCI device and function number. In the latter case, the following macro should be used:
sha.int_vec = SHAREG_PCI_INTVEC(device, function);where device is the PCI device number (0-31), and function is the PCI function number (0-7). Note that for PCI devices, the interrupt line (IRQ) is read by the kernel from the Interrupt Line register (offset 3C hex) in the PCI Configuration Space of the device.
struct scsi_ha_cfg xxcfg;If the driver is not present in mscsi, this declaration will define xxcfg to be a single element, zero-filled array.
in_use. This form is retained in ODDI version 3 for SCO OpenServer 5 Release 5.0.0 and later for backward compatibility, but may not work with some PCI bus architectures and may be removed in future releases. New SCSI host adapter drivers should be written to use the shareg_ex structure.