aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/ipr.c6
-rw-r--r--drivers/scsi/libsas/sas_ata.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index 9c5c8be72231..081d14a326fe 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -6221,9 +6221,9 @@ static struct ata_port_operations ipr_sata_ops = {
6221static struct ata_port_info sata_port_info = { 6221static struct ata_port_info sata_port_info = {
6222 .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_SATA_RESET | 6222 .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_SATA_RESET |
6223 ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA, 6223 ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA,
6224 .pio_mask = 0x10, /* pio4 */ 6224 .pio_mask = ATA_PIO4_ONLY,
6225 .mwdma_mask = 0x07, 6225 .mwdma_mask = ATA_MWDMA2,
6226 .udma_mask = 0x7f, /* udma0-6 */ 6226 .udma_mask = ATA_UDMA6,
6227 .port_ops = &ipr_sata_ops 6227 .port_ops = &ipr_sata_ops
6228}; 6228};
6229 6229
diff --git a/drivers/scsi/libsas/sas_ata.c b/drivers/scsi/libsas/sas_ata.c
index 8f56d5fbf6ec..fc6bdc51a047 100644
--- a/drivers/scsi/libsas/sas_ata.c
+++ b/drivers/scsi/libsas/sas_ata.c
@@ -374,8 +374,8 @@ static struct ata_port_operations sas_sata_ops = {
374static struct ata_port_info sata_port_info = { 374static struct ata_port_info sata_port_info = {
375 .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_SATA_RESET | 375 .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_SATA_RESET |
376 ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA | ATA_FLAG_NCQ, 376 ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA | ATA_FLAG_NCQ,
377 .pio_mask = 0x1f, /* PIO0-4 */ 377 .pio_mask = ATA_PIO4,
378 .mwdma_mask = 0x07, /* MWDMA0-2 */ 378 .mwdma_mask = ATA_MWDMA2,
379 .udma_mask = ATA_UDMA6, 379 .udma_mask = ATA_UDMA6,
380 .port_ops = &sas_sata_ops 380 .port_ops = &sas_sata_ops
381}; 381};