libata: implement ATA_FLAG_IGN_SIMPLEX and use it in sata_uli
commitb2a8bbe67d73631c71492fd60b757fc50a87f182
authorTejun Heo <htejun@gmail.com>
Thu, 25 Jan 2007 10:40:05 +0000 (25 19:40 +0900)
committerJeff Garzik <jeff@garzik.org>
Thu, 25 Jan 2007 22:26:01 +0000 (25 17:26 -0500)
treeb6a04a5ce8eee52a18fc690a9a1e1f7c1f93ded2
parent0291f95fdb5fcd91cc077aafabea2c5b109fa8a8
libata: implement ATA_FLAG_IGN_SIMPLEX and use it in sata_uli

Some uli controllers have stuck SIMPLEX bit which can't be cleared
with ata_pci_clear_simplex(), but the controller is capable of doing
DMAs on both channels simultaneously.  Implement ATA_FLAG_IGN_SIMPLEX
which makes libata ignore the simplex bit and use it in sata_uli.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-sff.c
drivers/ata/sata_uli.c
include/linux/libata.h