ieee1394: sbp2: enable auto spin-up for all SBP-2 devices
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 7 Aug 2006 18:48:00 +0000 (20:48 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 17 Sep 2006 17:53:01 +0000 (19:53 +0200)
commitc394f1eafef61c6666f5876afde6110a276c4c9f
tree687d5ee149996dd6bdd8da1a190d418569f51e0a
parent87730d045913f28e636cf53ad35950069a85c7f2
ieee1394: sbp2: enable auto spin-up for all SBP-2 devices

This is a follow-up to patch "ieee1394: sbp2: enable auto spin-up for
Maxtor disks".  When I 'ejected' an OXUF922 based HDD from a Mac OS X
box, it was spun down by the Mac and did not spin up by itself when
attached to a Linux box right after that.  The first SCSI command that
required the bridge to access the drive ended in
sda:<6>sd 18:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
    Additional sense: Logical unit not ready, initializing cmd. required

Therefore the flag which instructs scsi_mod to send START STOP UNIT with
START=1 ("make medium ready") after such a condition is now enabled
unconditionally for all FireWire storage devices.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/sbp2.c