[SCSI] mptfc: abort of board reset leaves port dead requiring reboot
authorMichael Reed <mdr@sgi.com>
Wed, 24 May 2006 20:07:57 +0000 (15:07 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 10 Jun 2006 21:01:52 +0000 (16:01 -0500)
commitd6be06c84da9626b10443c664ee55bda96fb3514
tree603c279d787722b9a64208ae7255c34a74af7405
parent419835e285c3e39cd62c8c8426da0aebea9cd89f
[SCSI] mptfc: abort of board reset leaves port dead requiring reboot

The driver uses msleep_interruptible() in the code path responsible
for resetting the card's ports via the lsiutil command.  If a
<ctrl-c> is received during the reset it can leave a port in such
a state that the only way to regain its use is to reboot the system.
Changing from msleep_interruptible() to msleep() corrects the problem.

Signed-off-by: Michael Reed <mdr@sgi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/message/fusion/mptbase.c
drivers/message/fusion/mptfc.c
drivers/message/fusion/mptscsih.c