diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-08-11 23:42:30 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-08-11 23:42:30 +0200 |
commit | aae3d53f64c9725c549e0f8fec9ede6107b08e99 (patch) | |
tree | e75e444dcfc4a54f3498520be32b18c32b1d03fc /drivers | |
parent | 6e2a6204481622fe71d7cb2a60be6dd9f9455163 (diff) |
ieee1394: sbp2: enable auto spin-up for Maxtor disks
At least Maxtor OneTouch III require a "start stop unit" command after
auto spin-down before the next access can proceed. This patch activates
the responsible code in scsi_mod for all Maxtor SBP-2 disks.
https://bugzilla.novell.com/show_bug.cgi?id=183011
Maybe that should be done for all SBP-2 disks, but better be cautious.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ieee1394/sbp2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c index d02be4ab011..2d9cc5a7d23 100644 --- a/drivers/ieee1394/sbp2.c +++ b/drivers/ieee1394/sbp2.c @@ -2505,6 +2505,9 @@ static int sbp2scsi_slave_configure(struct scsi_device *sdev) SBP2_INFO("enabling iPod workaround: decrement disk capacity"); sdev->fix_capacity = 1; } + if (scsi_id->ne->guid_vendor_id == 0x0010b9 && /* Maxtor's OUI */ + (sdev->type == TYPE_DISK || sdev->type == TYPE_RBC)) + sdev->allow_restart = 1; return 0; } |