diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2005-07-12 10:45:17 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-09-06 17:21:53 -0500 |
commit | 4451e472627881e3e2240b224f127c99be500f91 (patch) | |
tree | 71dfcf330e5dc1faec9c7a54b235d700fc9df68d /drivers/scsi/scsi_devinfo.c | |
parent | e47373ec1c9aab9ee134f4e2b8249957e9f4c7ef (diff) |
[SCSI] sd: pause in sd_spinup_disk for slow USB devices
This patch adds a delay tailored for USB flash devices that are slow to
initialize their firmware. The symptom is a repeated Unit Attention with
ASC=0x28 (Not Ready to Ready transition). The patch will wait for up to 5
seconds for such devices to become ready. Normal devices won't send the
repeated Unit Attention sense key and hence won't trigger the patch.
This fixes a problem with James Roberts-Thomson's USB device, and I've
seen several reports of other devices exhibiting the same symptoms --
presumably they will be helped as well.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_devinfo.c')
0 files changed, 0 insertions, 0 deletions