[SCSI] ipr: SATA reset - wait for host reset completion
authorBrian King <brking@us.ibm.com>
Tue, 21 Nov 2006 16:27:58 +0000 (10:27 -0600)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 22 Nov 2006 18:17:55 +0000 (12:17 -0600)
commit73d98ff0fa8d9074792b7273f57d9f92810104c6
tree48d63bd93823cb631d1d7c9ba1cbb16b9bb5c2e6
parent7feb6b3fbb48ceaceb7a66a9784106abef48e454
[SCSI] ipr: SATA reset - wait for host reset completion

If an ipr adapter hits a fatal microcode error requiring a reset
while a SATA device is going through EH, it can result in a command
getting issued to the ipr adapter while it is getting reset, which
can cause PCI bus errors. Wait for any outstanding adapter reset
to finish prior to issuing a SATA device reset.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ipr.c