diff options
author | Tejun Heo <htejun@gmail.com> | 2007-01-25 19:40:05 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-01-25 17:26:01 -0500 |
commit | b2a8bbe67d73631c71492fd60b757fc50a87f182 (patch) | |
tree | b6a04a5ce8eee52a18fc690a9a1e1f7c1f93ded2 /drivers/ata/sata_uli.c | |
parent | 0291f95fdb5fcd91cc077aafabea2c5b109fa8a8 (diff) | |
download | linux-stable-b2a8bbe67d73631c71492fd60b757fc50a87f182.tar.gz linux-stable-b2a8bbe67d73631c71492fd60b757fc50a87f182.tar.bz2 linux-stable-b2a8bbe67d73631c71492fd60b757fc50a87f182.zip |
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>
Diffstat (limited to 'drivers/ata/sata_uli.c')
-rw-r--r-- | drivers/ata/sata_uli.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/sata_uli.c b/drivers/ata/sata_uli.c index 5c603ca3a50a..a43aec62d505 100644 --- a/drivers/ata/sata_uli.c +++ b/drivers/ata/sata_uli.c @@ -128,7 +128,8 @@ static const struct ata_port_operations uli_ops = { static struct ata_port_info uli_port_info = { .sht = &uli_sht, - .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY, + .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | + ATA_FLAG_IGN_SIMPLEX, .pio_mask = 0x1f, /* pio0-4 */ .udma_mask = 0x7f, /* udma0-6 */ .port_ops = &uli_ops, |