[SCSI] mac_esp: fix for quadras with two esp chips
authorFinn Thain <fthain@telegraphics.com.au>
Mon, 17 Nov 2008 20:37:45 +0000 (21:37 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 17:24:19 +0000 (11:24 -0600)
commitda244654c66e78e03668863974ec74c981934c38
treeb0aadb4b90381c175afa2a3504b949f235f00097
parent09e13e91670b69736b5da0a869a076a55a326394
[SCSI] mac_esp: fix for quadras with two esp chips

On the Quadra 900 and 950 there are two ESP chips sharing one IRQ. Because
the shared IRQ is edge-triggered, we must make sure that an IRQ transition
from one chip doesn't go unnoticed when the shared IRQ is already active
due to the other. This patch prevents interrupts getting lost so that both
SCSI busses may be used simultaneously.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/mac_esp.c