1
0
Fork 0

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: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
hifive-unleashed-5.1
Sergei Shtylyov 2011-01-25 19:27:35 +03:00 committed by Jeff Garzik
parent 4fca377f74
commit b83a4c3979
1 changed files with 1 additions and 1 deletions

View File

@ -1582,7 +1582,7 @@ static const struct ata_port_info sata_dwc_port_info[] = {
{
.flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY |
ATA_FLAG_MMIO | ATA_FLAG_NCQ,
.pio_mask = 0x1f, /* pio 0-4 */
.pio_mask = ATA_PIO4,
.udma_mask = ATA_UDMA6,
.port_ops = &sata_dwc_ops,
},