[PATCH] atiixp: Old drivers/ide layer driver for the ATIIXP hang fix
authorAlan <alan@lxorguk.ukuu.org.uk>
Sat, 6 Jan 2007 00:36:27 +0000 (16:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:22 +0000 (23:55 -0800)
commit6c5f8cc33eb2e10b6ab788bbe259fc142a068627
treeed96223e8d35c12e7ab7b2edbd4b5648acfe8f13
parent406c9b605cbc45151c03ac9a3f95e9acf050808c
[PATCH] atiixp: Old drivers/ide layer driver for the ATIIXP hang fix

When the old IDE layer calls into methods in the driver during error
handling it is essentially random whether ide_lock is already held.  This
causes a deadlock in the atiixp driver which also uses ide_lock internally
for locking.

Switch to a private lock instead.

[akpm@osl.org: cleanup]
Signed-off-by: Alan Cox <alan@redhat.com>
Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/pci/atiixp.c