]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] libsas: Enable the EH strategy handler to reset a phy after a command
authorDarrick J. Wong <djwong@us.ibm.com>
Thu, 11 Jan 2007 22:15:17 +0000 (14:15 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 13 Jan 2007 22:17:27 +0000 (16:17 -0600)
commit3ebf6922b0833807e54c73f4794c74baf9945fc8
treef6a986a1fc80efe6f3c1a30073cfec34fd7edc7c
parent37958fb040cf6f88b354b9fa7e846014ffbd3b73
[SCSI] libsas: Enable the EH strategy handler to reset a phy after a command

When a SAS LLDD needs to request a device port reset, it needs to have all
commands aborted before it can reset the port.  Since commands are put on
the EH's list in the order that they were queued, the LLDD can set a "need
reset" flag in the last task to be aborted so that the EH can reset the
port after all commands are aborted.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libsas/sas_scsi_host.c
include/scsi/libsas.h