diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2007-01-26 17:08:58 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-01-27 11:07:21 -0500 |
commit | f27708fc7523a87e3e69cae5628015961f0d3061 (patch) | |
tree | 75b618896d5948667046a4a110fb6c08e376bf4a /drivers/scsi/libsas | |
parent | 111367f5c9a0af0f3a42c39dee7360ca217cba1d (diff) |
[SCSI] libsas: Enable automatic spin-up of SAS disks
Set allow_restart=1 for all SAS disks so that they are spun up when needed.
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/libsas')
-rw-r--r-- | drivers/scsi/libsas/sas_scsi_host.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c index eac1d2dde743..04eace9020ba 100644 --- a/drivers/scsi/libsas/sas_scsi_host.c +++ b/drivers/scsi/libsas/sas_scsi_host.c | |||
@@ -723,6 +723,8 @@ int sas_slave_configure(struct scsi_device *scsi_dev) | |||
723 | scsi_deactivate_tcq(scsi_dev, 1); | 723 | scsi_deactivate_tcq(scsi_dev, 1); |
724 | } | 724 | } |
725 | 725 | ||
726 | scsi_dev->allow_restart = 1; | ||
727 | |||
726 | return 0; | 728 | return 0; |
727 | } | 729 | } |
728 | 730 | ||