mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
[libata] MWDMA0 is unsupported on PIIX-like PATA controllers
MWDMA0 timings cannot be met with the PIIX based controller programming interface. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
c4d8a20022
commit
82563232c7
3 changed files with 3 additions and 3 deletions
|
@ -252,7 +252,7 @@ static int efar_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||||
static const struct ata_port_info info = {
|
static const struct ata_port_info info = {
|
||||||
.flags = ATA_FLAG_SLAVE_POSS,
|
.flags = ATA_FLAG_SLAVE_POSS,
|
||||||
.pio_mask = ATA_PIO4,
|
.pio_mask = ATA_PIO4,
|
||||||
.mwdma_mask = ATA_MWDMA2,
|
.mwdma_mask = ATA_MWDMA12_ONLY,
|
||||||
.udma_mask = ATA_UDMA4,
|
.udma_mask = ATA_UDMA4,
|
||||||
.port_ops = &efar_ops,
|
.port_ops = &efar_ops,
|
||||||
};
|
};
|
||||||
|
|
|
@ -239,7 +239,7 @@ static int oldpiix_init_one (struct pci_dev *pdev, const struct pci_device_id *e
|
||||||
static const struct ata_port_info info = {
|
static const struct ata_port_info info = {
|
||||||
.flags = ATA_FLAG_SLAVE_POSS,
|
.flags = ATA_FLAG_SLAVE_POSS,
|
||||||
.pio_mask = ATA_PIO4,
|
.pio_mask = ATA_PIO4,
|
||||||
.mwdma_mask = ATA_MWDMA2,
|
.mwdma_mask = ATA_MWDMA12_ONLY,
|
||||||
.port_ops = &oldpiix_pata_ops,
|
.port_ops = &oldpiix_pata_ops,
|
||||||
};
|
};
|
||||||
const struct ata_port_info *ppi[] = { &info, NULL };
|
const struct ata_port_info *ppi[] = { &info, NULL };
|
||||||
|
|
|
@ -284,7 +284,7 @@ static struct ata_port_info rdc_port_info = {
|
||||||
|
|
||||||
.flags = ATA_FLAG_SLAVE_POSS,
|
.flags = ATA_FLAG_SLAVE_POSS,
|
||||||
.pio_mask = ATA_PIO4,
|
.pio_mask = ATA_PIO4,
|
||||||
.mwdma_mask = ATA_MWDMA2,
|
.mwdma_mask = ATA_MWDMA12_ONLY,
|
||||||
.udma_mask = ATA_UDMA5,
|
.udma_mask = ATA_UDMA5,
|
||||||
.port_ops = &rdc_pata_ops,
|
.port_ops = &rdc_pata_ops,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue