aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_mv.c
diff options
context:
space:
mode:
authorMark Lord <liml@rtr.ca>2009-04-06 15:22:21 -0400
committerJeff Garzik <jgarzik@redhat.com>2009-04-06 20:13:39 -0400
commitc361acbc59c434315f8649ab06e5b7d5b297d1b7 (patch)
tree67b6a96c088b4e3a2041775def01e5cbe93ad155 /drivers/ata/sata_mv.c
parent933cb8e5fcdebd4b666165e3f039f814d62b0e52 (diff)
sata_mv: replace 0x1f with ATA_PIO4 (v2)
Cosmetic change: replace .pio_mask=0x1f with .pio_mask=ATA_PIO4 everywhere. Originally from Erik Inge Bolsø, now reworked for latest sata_mv. Signed-off-by: Erik Inge Bolsø <knan-lkml@anduin.net> Signed-off-by: Mark Lord <mlord@pobox.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/sata_mv.c')
-rw-r--r--drivers/ata/sata_mv.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c
index 8245c82505cc..a49643d16f33 100644
--- a/drivers/ata/sata_mv.c
+++ b/drivers/ata/sata_mv.c
@@ -694,49 +694,49 @@ static struct ata_port_operations mv_iie_ops = {
694static const struct ata_port_info mv_port_info[] = { 694static const struct ata_port_info mv_port_info[] = {
695 { /* chip_504x */ 695 { /* chip_504x */
696 .flags = MV_GEN_I_FLAGS, 696 .flags = MV_GEN_I_FLAGS,
697 .pio_mask = 0x1f, /* pio0-4 */ 697 .pio_mask = ATA_PIO4,
698 .udma_mask = ATA_UDMA6, 698 .udma_mask = ATA_UDMA6,
699 .port_ops = &mv5_ops, 699 .port_ops = &mv5_ops,
700 }, 700 },
701 { /* chip_508x */ 701 { /* chip_508x */
702 .flags = MV_GEN_I_FLAGS | MV_FLAG_DUAL_HC, 702 .flags = MV_GEN_I_FLAGS | MV_FLAG_DUAL_HC,
703 .pio_mask = 0x1f, /* pio0-4 */ 703 .pio_mask = ATA_PIO4,
704 .udma_mask = ATA_UDMA6, 704 .udma_mask = ATA_UDMA6,
705 .port_ops = &mv5_ops, 705 .port_ops = &mv5_ops,
706 }, 706 },
707 { /* chip_5080 */ 707 { /* chip_5080 */
708 .flags = MV_GEN_I_FLAGS | MV_FLAG_DUAL_HC, 708 .flags = MV_GEN_I_FLAGS | MV_FLAG_DUAL_HC,
709 .pio_mask = 0x1f, /* pio0-4 */ 709 .pio_mask = ATA_PIO4,
710 .udma_mask = ATA_UDMA6, 710 .udma_mask = ATA_UDMA6,
711 .port_ops = &mv5_ops, 711 .port_ops = &mv5_ops,
712 }, 712 },
713 { /* chip_604x */ 713 { /* chip_604x */
714 .flags = MV_GEN_II_FLAGS, 714 .flags = MV_GEN_II_FLAGS,
715 .pio_mask = 0x1f, /* pio0-4 */ 715 .pio_mask = ATA_PIO4,
716 .udma_mask = ATA_UDMA6, 716 .udma_mask = ATA_UDMA6,
717 .port_ops = &mv6_ops, 717 .port_ops = &mv6_ops,
718 }, 718 },
719 { /* chip_608x */ 719 { /* chip_608x */
720 .flags = MV_GEN_II_FLAGS | MV_FLAG_DUAL_HC, 720 .flags = MV_GEN_II_FLAGS | MV_FLAG_DUAL_HC,
721 .pio_mask = 0x1f, /* pio0-4 */ 721 .pio_mask = ATA_PIO4,
722 .udma_mask = ATA_UDMA6, 722 .udma_mask = ATA_UDMA6,
723 .port_ops = &mv6_ops, 723 .port_ops = &mv6_ops,
724 }, 724 },
725 { /* chip_6042 */ 725 { /* chip_6042 */
726 .flags = MV_GEN_IIE_FLAGS, 726 .flags = MV_GEN_IIE_FLAGS,
727 .pio_mask = 0x1f, /* pio0-4 */ 727 .pio_mask = ATA_PIO4,
728 .udma_mask = ATA_UDMA6, 728 .udma_mask = ATA_UDMA6,
729 .port_ops = &mv_iie_ops, 729 .port_ops = &mv_iie_ops,
730 }, 730 },
731 { /* chip_7042 */ 731 { /* chip_7042 */
732 .flags = MV_GEN_IIE_FLAGS, 732 .flags = MV_GEN_IIE_FLAGS,
733 .pio_mask = 0x1f, /* pio0-4 */ 733 .pio_mask = ATA_PIO4,
734 .udma_mask = ATA_UDMA6, 734 .udma_mask = ATA_UDMA6,
735 .port_ops = &mv_iie_ops, 735 .port_ops = &mv_iie_ops,
736 }, 736 },
737 { /* chip_soc */ 737 { /* chip_soc */
738 .flags = MV_GEN_IIE_FLAGS, 738 .flags = MV_GEN_IIE_FLAGS,
739 .pio_mask = 0x1f, /* pio0-4 */ 739 .pio_mask = ATA_PIO4,
740 .udma_mask = ATA_UDMA6, 740 .udma_mask = ATA_UDMA6,
741 .port_ops = &mv_iie_ops, 741 .port_ops = &mv_iie_ops,
742 }, 742 },