ipr/sas_ata: use mode mask macros from <linux/ata.h>
Commit 14bdef982c
([libata] convert drivers to
use ata.h mode mask defines) didn't convert these two libata driver outside
drivers/ata/...
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
committed by
Jeff Garzik
parent
14080fa655
commit
0f2e0330a8
@@ -6221,9 +6221,9 @@ static struct ata_port_operations ipr_sata_ops = {
|
|||||||
static struct ata_port_info sata_port_info = {
|
static struct ata_port_info sata_port_info = {
|
||||||
.flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_SATA_RESET |
|
.flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_SATA_RESET |
|
||||||
ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA,
|
ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA,
|
||||||
.pio_mask = 0x10, /* pio4 */
|
.pio_mask = ATA_PIO4_ONLY,
|
||||||
.mwdma_mask = 0x07,
|
.mwdma_mask = ATA_MWDMA2,
|
||||||
.udma_mask = 0x7f, /* udma0-6 */
|
.udma_mask = ATA_UDMA6,
|
||||||
.port_ops = &ipr_sata_ops
|
.port_ops = &ipr_sata_ops
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -374,8 +374,8 @@ static struct ata_port_operations sas_sata_ops = {
|
|||||||
static struct ata_port_info sata_port_info = {
|
static struct ata_port_info sata_port_info = {
|
||||||
.flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_SATA_RESET |
|
.flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_SATA_RESET |
|
||||||
ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA | ATA_FLAG_NCQ,
|
ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA | ATA_FLAG_NCQ,
|
||||||
.pio_mask = 0x1f, /* PIO0-4 */
|
.pio_mask = ATA_PIO4,
|
||||||
.mwdma_mask = 0x07, /* MWDMA0-2 */
|
.mwdma_mask = ATA_MWDMA2,
|
||||||
.udma_mask = ATA_UDMA6,
|
.udma_mask = ATA_UDMA6,
|
||||||
.port_ops = &sas_sata_ops
|
.port_ops = &sas_sata_ops
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user