[SCSI] qla2xxx: Workaround D3 power-management issues.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Fri, 13 Oct 2006 16:33:38 +0000 (09:33 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 25 Oct 2006 22:13:04 +0000 (15:13 -0700)
commit18c6c12759813c988bb05796d1b3352e98ae77de
tree4766e8b68a3ed124efc9c2c43b12a067eccf7bff
parentf1663ad5dbb801e03c4c99c24d698ad5dba9aaff
[SCSI] qla2xxx: Workaround D3 power-management issues.

Early ISP2432 parts have a known hardware issue when coming
out of a D3 hot state.  This issue can result in a hung PCIe
link.  Recent firmwares contain a workaround whereby the
stop-firmware mailbox command prevents the ISP from entering
the D3 hot state.

In order to ensure that the workaround succeeded the driver
must verify that the stop-firmware mailbox command completes
successfully.  In the event of a failure, the driver
attempts a shutdown-retry after resetting the ISP and
re-executing firmware.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_os.c