pata_qdi: Fix initialisation
commitcc7c15ec167767b440c1de4dbd2200467b7a493b
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 2 Mar 2007 14:56:35 +0000 (2 14:56 +0000)
committerJeff Garzik <jeff@garzik.org>
Fri, 2 Mar 2007 23:18:38 +0000 (2 18:18 -0500)
tree19fcd6f5a77d3c1f87ed8faf215fb4af50827d6c
parentfb9f8905a8865679f1fb757380b4169571def0ca
pata_qdi: Fix initialisation

The QDI init code contains some bugs which mean it only works if you have
a test setup that causes both a successful and failed probe. Fix this

Found by Philip Guo

(Who found it working on code analysis tools not running VLB IDE
controllers)

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_qdi.c