diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2007-01-26 22:08:58 (GMT) |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-01-27 16:07:21 (GMT) |
commit | f27708fc7523a87e3e69cae5628015961f0d3061 (patch) | |
tree | 75b618896d5948667046a4a110fb6c08e376bf4a /drivers/scsi/libsas | |
parent | 111367f5c9a0af0f3a42c39dee7360ca217cba1d (diff) | |
download | linux-f27708fc7523a87e3e69cae5628015961f0d3061.tar.xz |
[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 eac1d2d..04eace9 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) scsi_deactivate_tcq(scsi_dev, 1); } + scsi_dev->allow_restart = 1; + return 0; } |