Commit b83a4c39 authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Jeff Garzik

sata_dwc_460ex: use ATA_PIO4

Somehow the driver was committed with a bare number for the PIO mask, instead
of ATA_PIO4...
Signed-off-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 4fca377f
...@@ -1582,7 +1582,7 @@ static const struct ata_port_info sata_dwc_port_info[] = { ...@@ -1582,7 +1582,7 @@ static const struct ata_port_info sata_dwc_port_info[] = {
{ {
.flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY |
ATA_FLAG_MMIO | ATA_FLAG_NCQ, ATA_FLAG_MMIO | ATA_FLAG_NCQ,
.pio_mask = 0x1f, /* pio 0-4 */ .pio_mask = ATA_PIO4,
.udma_mask = ATA_UDMA6, .udma_mask = ATA_UDMA6,
.port_ops = &sata_dwc_ops, .port_ops = &sata_dwc_ops,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment