Fix an errant search and replace that broke SCSI start unit commands.

This should fix automatic spinups as well as 'camcontrol start'.
This commit is contained in:
Kenneth D. Merry 2001-04-30 16:07:38 +00:00
parent 5cd86e36bd
commit 6c3a3e1013
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76153

View File

@ -2685,7 +2685,7 @@ scsi_start_stop(struct ccb_scsiio *csio, u_int32_t retries,
bzero(scsi_cmd, sizeof(*scsi_cmd));
scsi_cmd->opcode = START_STOP_UNIT;
if (start != 0) {
scsi_cmd->how |= SS_START;
scsi_cmd->how |= SSS_START;
/* it takes a lot of power to start a drive */
extra_flags |= CAM_HIGH_POWER;
}