diff options
author | Erik Inge Bolsø <knan-lkml@anduin.net> | 2009-03-14 16:38:24 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-03-24 22:13:27 -0400 |
commit | 14bdef982caeda19afe34010482867c18217c641 (patch) | |
tree | f1ed0bf1a1dad887ae717a41ccca13332e6fdb17 /drivers/ata/pata_it821x.c | |
parent | 22ddbd1e036ce035c1cccb2496aefafac79aba2c (diff) |
[libata] convert drivers to use ata.h mode mask defines
No functional changes in this patch.
Signed-off-by: Erik Inge Bolsø <knan-lkml@anduin.net>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_it821x.c')
-rw-r--r-- | drivers/ata/pata_it821x.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/ata/pata_it821x.c b/drivers/ata/pata_it821x.c index b05b86a912c5..188bc2fcd22c 100644 --- a/drivers/ata/pata_it821x.c +++ b/drivers/ata/pata_it821x.c | |||
@@ -875,29 +875,29 @@ static int it821x_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
875 | 875 | ||
876 | static const struct ata_port_info info_smart = { | 876 | static const struct ata_port_info info_smart = { |
877 | .flags = ATA_FLAG_SLAVE_POSS, | 877 | .flags = ATA_FLAG_SLAVE_POSS, |
878 | .pio_mask = 0x1f, | 878 | .pio_mask = ATA_PIO4, |
879 | .mwdma_mask = 0x07, | 879 | .mwdma_mask = ATA_MWDMA2, |
880 | .udma_mask = ATA_UDMA6, | 880 | .udma_mask = ATA_UDMA6, |
881 | .port_ops = &it821x_smart_port_ops | 881 | .port_ops = &it821x_smart_port_ops |
882 | }; | 882 | }; |
883 | static const struct ata_port_info info_passthru = { | 883 | static const struct ata_port_info info_passthru = { |
884 | .flags = ATA_FLAG_SLAVE_POSS, | 884 | .flags = ATA_FLAG_SLAVE_POSS, |
885 | .pio_mask = 0x1f, | 885 | .pio_mask = ATA_PIO4, |
886 | .mwdma_mask = 0x07, | 886 | .mwdma_mask = ATA_MWDMA2, |
887 | .udma_mask = ATA_UDMA6, | 887 | .udma_mask = ATA_UDMA6, |
888 | .port_ops = &it821x_passthru_port_ops | 888 | .port_ops = &it821x_passthru_port_ops |
889 | }; | 889 | }; |
890 | static const struct ata_port_info info_rdc = { | 890 | static const struct ata_port_info info_rdc = { |
891 | .flags = ATA_FLAG_SLAVE_POSS, | 891 | .flags = ATA_FLAG_SLAVE_POSS, |
892 | .pio_mask = 0x1f, | 892 | .pio_mask = ATA_PIO4, |
893 | .mwdma_mask = 0x07, | 893 | .mwdma_mask = ATA_MWDMA2, |
894 | .udma_mask = ATA_UDMA6, | 894 | .udma_mask = ATA_UDMA6, |
895 | .port_ops = &it821x_rdc_port_ops | 895 | .port_ops = &it821x_rdc_port_ops |
896 | }; | 896 | }; |
897 | static const struct ata_port_info info_rdc_11 = { | 897 | static const struct ata_port_info info_rdc_11 = { |
898 | .flags = ATA_FLAG_SLAVE_POSS, | 898 | .flags = ATA_FLAG_SLAVE_POSS, |
899 | .pio_mask = 0x1f, | 899 | .pio_mask = ATA_PIO4, |
900 | .mwdma_mask = 0x07, | 900 | .mwdma_mask = ATA_MWDMA2, |
901 | /* No UDMA */ | 901 | /* No UDMA */ |
902 | .port_ops = &it821x_rdc_port_ops | 902 | .port_ops = &it821x_rdc_port_ops |
903 | }; | 903 | }; |