]> git.baikalelectronics.ru Git - kernel.git/commit
aha1542: Fix bus reset
authorOndrej Zary <linux@rainbow-software.org>
Fri, 6 Feb 2015 22:11:56 +0000 (23:11 +0100)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 10 Apr 2015 01:09:30 +0000 (18:09 -0700)
commitd4307ff6e1b0a0f302334a0694aa4100f1d215ef
tree81c38b42cf95ec6940ce9eb54e7c365160f9a2ca
parent77301d8782517399971a37ccc83c7ad68cd16a33
aha1542: Fix bus reset

Bus reset always fails because aha1542_reset waits for the controller to assert
the INIT bit (Mailbox Initialization Required) which it never does. This bit is
asserted only after host reset.

Remove the requirement for INIT bit (we really need only the IDLE bit).

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/aha1542.c