[SCSI] ipr: Better handle adapter boot time errors
commit473b1e8ed2e4f545de22e58c8c073471b18459e8
authorBrian King <brking@linux.vnet.ibm.com>
Wed, 2 May 2007 15:44:11 +0000 (2 10:44 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 6 May 2007 14:33:20 +0000 (6 09:33 -0500)
tree64a1d0b0f243ee3430a198411fda0fb178c16769
parenta6bcbc2f5ddd6de8a0e08ea3871585abcc82ecd6
[SCSI] ipr: Better handle adapter boot time errors

If an ipr adapter encounters an adapter error requiring an
adapter reset to recover from prior to driver load time, the
error will be ignored and recovery will not happen until the
initial timeout occurs waiting for the firmware to come ready,
which means a five minute timeout. Fix is to read the interrupt
register before clearing any of the interrupts at probe time.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ipr.c