[SCSI] stex: Add reset code for st_yel (v2)
authorEd Lin <ed.lin@promise.com>
Tue, 18 Aug 2009 19:15:14 +0000 (12:15 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 5 Sep 2009 13:50:41 +0000 (08:50 -0500)
commit69cb48750b02034350bc78d8053647d7464cdde0
tree3dbcf5114ed1d65b1110f5e86c268ce5f2509b9d
parent41e05a12c7aae16f0381103af3e5ca791e87ce59
[SCSI] stex: Add reset code for st_yel (v2)

Add reset related code for st_yel.
1. Set the SS_H2I_INT_RESET bit.
2. Wait for the SS_MU_OPERATIONAL flag. This is also part of
   normal handshake process so move it to handshake routine.
3. Continue handshake with the firmware.

Signed-off-by: Ed Lin <ed.lin@promise.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/stex.c