┌───────────────┬───────────────┬───────────────┬───────────────┐ │Offset │# Bytes │Description │R/W* │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │00h (00) │01h (01) │Command Code = │W │ │ │ │0 │ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │01h (01) │01h (01) │Status │R │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │02h (02) │01h (01) │Host Adapter │W │ │ │ │Number │ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │03h (03) │01h (01) │SCSI Request │W │ │ │ │Flags │ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │04h (04) │04h (04) │Reserved for │- │ │ │ │Expansion = 0 │ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │08h (08) │01h (01) │Number of Host │R │ │ │ │Adapters │ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │09h (09) │01h (01) │Target ID of │R │ │ │ │Host Adapter │ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │0Ah (10) │10h (16) │SCSI Manager ID│R │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │1Ah (26) │10h (16) │Host Adapter ID│R │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │2Ah (42) │10h (16) │Host Adapter │R │ │ │ │Unique │ │ │ │ │Parameters │ │ └───────────────┴───────────────┴───────────────┴───────────────┘
*The R/W column indicates whether the field is sent to ASPI (W), returned from ASPI (R), or reserved (-).
The status byte always returns with a non-zero status. A SCSI Request Completed Without Error (01h) status indicates that the remaining fields are valid. An Invalid Host Adapter Number (81h) status indicates that the specified host adapter is not installed.
This function gets information on the installed host adapter hardware, including number of host adapters installed. It can be issued once with host adapter zero specified, to get the number of host adapters. If further information is desired, it can be issued for each individual host adapter.
The SCSI Request Flags field is currently undefined for this command and should be zeroed.
The SCSI Manager ID field contains a 16-byte ASCII string describing the SCSI manager.
The Host Adapter ID field contains a 16-byte ASCII string describing the SCSI host adapter.
The definition of the Host Adapter Unique Parameters field is left to implementation notes, specific to a particular host adapter.