]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] aic94xx: handle REQ_DEVICE_RESET
authorDarrick J. Wong <djwong@us.ibm.com>
Wed, 8 Nov 2006 01:28:55 +0000 (17:28 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 22 Nov 2006 17:05:59 +0000 (11:05 -0600)
commitdea22214790d1306f3a3444db13d2c726037b189
treec5bd0d382c73c02f3416aac584e3d3a011cd1261
parent504fb37a0801d843bc1907c1a1f9c719c3509863
[PATCH] aic94xx: handle REQ_DEVICE_RESET

This patch implements a REQ_DEVICE_RESET handler for the aic94xx
driver.  Like the earlier REQ_TASK_ABORT patch, this patch defers the
device reset to the Scsi_Host's workqueue, which has the added benefit
of ensuring that the device reset does not happen at the same time
that the abort tmfs are being processed.  After the phy reset, the
busted drive should go away and be re-detected later, which is indeed
what I've seen on both a x260 and a x206m.

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