Fix to make sure user config accesses get re-enabled if the
PCI config write to start BIST fails.
Signed-off-by: Brian King <[EMAIL PROTECTED]>
---
linux-2.6-bjking1/drivers/scsi/ipr.c | 1 +
1 files changed, 1 insertion(+)
diff -puN drivers/scsi/ipr.c~ipr_unblock_fix drivers/scsi/ipr.c
--- linux-2.6/drivers/scsi/ipr.c~ipr_unblock_fix 2007-03-29
09:15:40.000000000 -0500
+++ linux-2.6-bjking1/drivers/scsi/ipr.c 2007-03-29 09:15:40.000000000
-0500
@@ -6390,6 +6390,7 @@ static int ipr_reset_start_bist(struct i
rc = pci_write_config_byte(ioa_cfg->pdev, PCI_BIST, PCI_BIST_START);
if (rc != PCIBIOS_SUCCESSFUL) {
+ pci_unblock_user_cfg_access(ipr_cmd->ioa_cfg->pdev);
ipr_cmd->ioasa.ioasc = cpu_to_be32(IPR_IOASC_PCI_ACCESS_ERROR);
rc = IPR_RC_JOB_CONTINUE;
} else {
_
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html