]> git.baikalelectronics.ru Git - kernel.git/commit
libata: implement ATA_FLAG_IGN_SIMPLEX and use it in sata_uli
authorTejun Heo <htejun@gmail.com>
Thu, 25 Jan 2007 10:40:05 +0000 (19:40 +0900)
committerJeff Garzik <jeff@garzik.org>
Thu, 25 Jan 2007 22:26:01 +0000 (17:26 -0500)
commit73a2c860cc1d47b919d45041c809649cc8f13626
treeb6a04a5ce8eee52a18fc690a9a1e1f7c1f93ded2
parent7bd56a72600256f04d2ab26387f0edc46510ebae
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