[libata] sata_sx4: fixup interrupt handling
commit19799bfc5da476ad72eecc5f0f9018c5d351cbd5
authorDavid Milburn <dmilburn@redhat.com>
Wed, 13 May 2009 23:02:21 +0000 (13 18:02 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 15 May 2009 18:08:10 +0000 (15 14:08 -0400)
tree44dfb7e03f353e74ca37da20630ddc5eb1529ea9
parent67651ee5710c45ea62fae68b768d65395ccf47c2
[libata] sata_sx4: fixup interrupt handling

Issuing ATA_CMD_SET_FEATURES (0xef) times out because
pdc20621_interrupt ignores command completion since
ATA_TFLAG_POLLING flag is set.

This has already been fixed for sata_promise:

commit 51b94d2a5a90d4800e74d7348bcde098a28f4fb3
Author: Tejun Heo <htejun@gmail.com>
Date:   Fri Jun 8 13:46:55 2007 -0700

    sata_promise: use TF interface for polling NODATA commands

Also, this patch includes Mikael's original patches:

http://marc.info/?l=linux-ide&m=121135828227724&w=2
http://marc.info/?l=linux-ide&m=121144512109826&w=2

Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: David Milburn <dmilburn@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_sx4.c