aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_artop.c
diff options
context:
space:
mode:
authorErik Inge Bolsø <knan-lkml@anduin.net>2009-03-14 16:38:24 -0400
committerJeff Garzik <jgarzik@redhat.com>2009-03-24 22:13:27 -0400
commit14bdef982caeda19afe34010482867c18217c641 (patch)
treef1ed0bf1a1dad887ae717a41ccca13332e6fdb17 /drivers/ata/pata_artop.c
parent22ddbd1e036ce035c1cccb2496aefafac79aba2c (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_artop.c')
-rw-r--r--drivers/ata/pata_artop.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/ata/pata_artop.c b/drivers/ata/pata_artop.c
index 6b3092c75ffe..07c7fae6da13 100644
--- a/drivers/ata/pata_artop.c
+++ b/drivers/ata/pata_artop.c
@@ -323,29 +323,29 @@ static int artop_init_one (struct pci_dev *pdev, const struct pci_device_id *id)
323 static int printed_version; 323 static int printed_version;
324 static const struct ata_port_info info_6210 = { 324 static const struct ata_port_info info_6210 = {
325 .flags = ATA_FLAG_SLAVE_POSS, 325 .flags = ATA_FLAG_SLAVE_POSS,
326 .pio_mask = 0x1f, /* pio0-4 */ 326 .pio_mask = ATA_PIO4,
327 .mwdma_mask = 0x07, /* mwdma0-2 */ 327 .mwdma_mask = ATA_MWDMA2,
328 .udma_mask = ATA_UDMA2, 328 .udma_mask = ATA_UDMA2,
329 .port_ops = &artop6210_ops, 329 .port_ops = &artop6210_ops,
330 }; 330 };
331 static const struct ata_port_info info_626x = { 331 static const struct ata_port_info info_626x = {
332 .flags = ATA_FLAG_SLAVE_POSS, 332 .flags = ATA_FLAG_SLAVE_POSS,
333 .pio_mask = 0x1f, /* pio0-4 */ 333 .pio_mask = ATA_PIO4,
334 .mwdma_mask = 0x07, /* mwdma0-2 */ 334 .mwdma_mask = ATA_MWDMA2,
335 .udma_mask = ATA_UDMA4, 335 .udma_mask = ATA_UDMA4,
336 .port_ops = &artop6260_ops, 336 .port_ops = &artop6260_ops,
337 }; 337 };
338 static const struct ata_port_info info_628x = { 338 static const struct ata_port_info info_628x = {
339 .flags = ATA_FLAG_SLAVE_POSS, 339 .flags = ATA_FLAG_SLAVE_POSS,
340 .pio_mask = 0x1f, /* pio0-4 */ 340 .pio_mask = ATA_PIO4,
341 .mwdma_mask = 0x07, /* mwdma0-2 */ 341 .mwdma_mask = ATA_MWDMA2,
342 .udma_mask = ATA_UDMA5, 342 .udma_mask = ATA_UDMA5,
343 .port_ops = &artop6260_ops, 343 .port_ops = &artop6260_ops,
344 }; 344 };
345 static const struct ata_port_info info_628x_fast = { 345 static const struct ata_port_info info_628x_fast = {
346 .flags = ATA_FLAG_SLAVE_POSS, 346 .flags = ATA_FLAG_SLAVE_POSS,
347 .pio_mask = 0x1f, /* pio0-4 */ 347 .pio_mask = ATA_PIO4,
348 .mwdma_mask = 0x07, /* mwdma0-2 */ 348 .mwdma_mask = ATA_MWDMA2,
349 .udma_mask = ATA_UDMA6, 349 .udma_mask = ATA_UDMA6,
350 .port_ops = &artop6260_ops, 350 .port_ops = &artop6260_ops,
351 }; 351 };