]> git.baikalelectronics.ru Git - kernel.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)
commitf17840717730191548182ea4bc80b1f4a477d59b
treec5bd0d382c73c02f3416aac584e3d3a011cd1261
parenta5ca28fdf61ac64f5b4e54fe18ce2d7e00791172
[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