[SCSI] aacraid: initialization timeout
authorMark Haverkamp <markh@osdl.org>
Tue, 20 Sep 2005 19:56:50 +0000 (12:56 -0700)
committerJames Bottomley <jejb@mulgrave.(none)>
Mon, 26 Sep 2005 22:46:59 +0000 (17:46 -0500)
commit9203344cb8ecc554a1d36eae6661235ed422cf59
tree190894be25e864910104be1918799eeb32168692
parent08efb7b6116927c8b6e0af5064448e3aa13300e6
[SCSI] aacraid: initialization timeout

Received from Mark Salyzyn from Adaptec.

In the rare instances where the adapter, or the motherboard, is
misbehaving; driver initialization or shutdown becomes problematic. By
introducing a 3 minute timeout on the first interrupt driven command
during initialization, or the issuance of the adapter shutdown command
during driver unload, we can resolve the lockup problems induced by
common (but rare) hardware misbehaviors.

The timeout during initialization, should it occur, is accompanied by a
message presented to the console and the logs indicating that the user
should inspect and resolve problems with interrupt routing.

Signed-off-by: Mark Haverkamp <markh@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aacraid/aachba.c
drivers/scsi/aacraid/comminit.c
drivers/scsi/aacraid/commsup.c