diff options
author | ken <ken@FreeBSD.org> | 2001-04-30 16:07:38 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 2001-04-30 16:07:38 +0000 |
commit | 69c361a17278459f241f756cf4f2f830c2ef10d0 (patch) | |
tree | 7c4c850ee24ae4a0858357323aac40a20efb5d6a /sys | |
parent | 0302c5b2904c58b3136c9de417bbeb6e4723d165 (diff) | |
download | FreeBSD-src-69c361a17278459f241f756cf4f2f830c2ef10d0.zip FreeBSD-src-69c361a17278459f241f756cf4f2f830c2ef10d0.tar.gz |
Fix an errant search and replace that broke SCSI start unit commands.
This should fix automatic spinups as well as 'camcontrol start'.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/cam/scsi/scsi_all.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c index cb0f9d6..b765953 100644 --- a/sys/cam/scsi/scsi_all.c +++ b/sys/cam/scsi/scsi_all.c @@ -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; } |