char variable = {1,22};
The first number is 1, which overrides the default variable with the value 22.
Examples:
The following specifies whether the host bus adapter checks parity on incoming SCSI data:
ad160_parity[SCSI_NAD160]
If the second number is set to 0, parity checking is enabled. If it is set to 1, parity checking is disabled.
ad160_parity[SCSI_NAD160] = {First number, second number}
If, in this example, you want the host bus adapter not to check parity on incoming SCSI data; define parameters as:
ad160_parity[SCSI_NAD160] = {1,0};
Changing the Maximum Number of LUNs Supported
The default setting for maximum number of LUNs supported is Disable. To enable this setting, you may have to use vi to edit the space.c file located at: /etc/conf/pack.d/ad160. Modify the following line so that lun=1:
int ad160_scan_lun=0
Enabling Scatter/Gather and Tagged Queuing
The adl60 driver supports Scatter/Gather and Tagged Queuing; however, the Sdsk (SCSI disk module) driver controls whether these features are enabled or disabled. Look for the Sdsk driver controls in the space. c file located at:
/etc/conf/pack. d/Sdsk/space.c
75