diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2007-01-26 23:08:58 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-01-27 17:07:21 +0100 |
commit | f27708fc7523a87e3e69cae5628015961f0d3061 (patch) | |
tree | 75b618896d5948667046a4a110fb6c08e376bf4a /drivers | |
parent | [SCSI] aic94xx: Register eh_device_reset_handler (diff) | |
download | linux-f27708fc7523a87e3e69cae5628015961f0d3061.tar.xz linux-f27708fc7523a87e3e69cae5628015961f0d3061.zip |
[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')
-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) scsi_deactivate_tcq(scsi_dev, 1); } + scsi_dev->allow_restart = 1; + return 0; } |