The following is information for debugging, useful when a driver experiences bus-wide problems. One global data variable has been defined for the SCSA implementation: scsi_options. This variable is a SCSA configuration longword used for debug and control. The defined bits in the scsi_options longword can be found in the file <sys/scsi/conf/autoconf.h>. Table G-2 shows their meanings when set.
Table G-2 SCSA Options
Option |
Description |
---|---|
SCSI_OPTIONS_DR |
Enables global disconnect/reconnect. |
SCSI_OPTIONS_SYNC |
Enables global synchronous transfer capability. |
SCSI_OPTIONS_LINK |
Enables global link support. |
SCSI_OPTIONS_PARITY |
Enables global parity support. |
SCSI_OPTIONS_TAG |
Enables global tagged queuing support. |
SCSI_OPTIONS_FAST |
Enables global FAST SCSI support: 10MB/sec transfers, as opposed to 5 MB/sec. |
SCSI_OPTIONS_FAST20 |
Enables global FAST20 SCSI support: 20MB/sec transfers. |
SCSI_OPTIONS_FAST40 |
Enables global FAST40 SCSI support: 40MB/sec transfers. |
SCSI_OPTIONS_FAST80 |
Enables global FAST80 SCSI support: 80MB/sec transfers. |
SCSI_OPTIONS_WIDE |
Enables global WIDE SCSI. |
The setting of scsi_options affects all host adapter and target drivers present on the system (as opposed to scsi_ifsetcap(9F)). Refer to scsi_hba_attach(9F) in the Solaris 2.6 Reference Manual for information on controlling these options for a particular host adapter.
The default setting for scsi_options has these values set:
SCSI_OPTIONS_DR
SCSI_OPTIONS_SYNC
SCSI_OPTIONS_LINK
SCSI_OPTIONS_PARITY
SCSI_OPTIONS_TAG
SCSI_OPTIONS_FAST
SCSI_OPTIONS_FAST20
SCSI_OPTIONS_FAST40
SCSI_OPTIONS_FAST80
SCSI_OPTIONS_WIDE