|
|
#include <sys/devreg.h>
forw/back
entry
intr
version
bus
int_vec
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.
root_id
in_use
struct scsi_ha_cfg xxcfg[1];If the driver is not present in mscsi, this declaration will define xxcfg to be a single element, zero-filled array.
route
weight
mode
processor_mask
iosaddr
ioeaddr
forw
, back
, entry
,
intr
, int_vec
, root_id
,
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.