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/sata_svw.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/sata_svw.c')
-rw-r--r-- | drivers/ata/sata_svw.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/ata/sata_svw.c b/drivers/ata/sata_svw.c index 609d147813ae..7257f2d5c52c 100644 --- a/drivers/ata/sata_svw.c +++ b/drivers/ata/sata_svw.c | |||
@@ -361,8 +361,8 @@ static const struct ata_port_info k2_port_info[] = { | |||
361 | { | 361 | { |
362 | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | | 362 | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | |
363 | ATA_FLAG_MMIO | K2_FLAG_NO_ATAPI_DMA, | 363 | ATA_FLAG_MMIO | K2_FLAG_NO_ATAPI_DMA, |
364 | .pio_mask = 0x1f, | 364 | .pio_mask = ATA_PIO4, |
365 | .mwdma_mask = 0x07, | 365 | .mwdma_mask = ATA_MWDMA2, |
366 | .udma_mask = ATA_UDMA6, | 366 | .udma_mask = ATA_UDMA6, |
367 | .port_ops = &k2_sata_ops, | 367 | .port_ops = &k2_sata_ops, |
368 | }, | 368 | }, |
@@ -371,8 +371,8 @@ static const struct ata_port_info k2_port_info[] = { | |||
371 | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | | 371 | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | |
372 | ATA_FLAG_MMIO | K2_FLAG_NO_ATAPI_DMA | | 372 | ATA_FLAG_MMIO | K2_FLAG_NO_ATAPI_DMA | |
373 | K2_FLAG_SATA_8_PORTS, | 373 | K2_FLAG_SATA_8_PORTS, |
374 | .pio_mask = 0x1f, | 374 | .pio_mask = ATA_PIO4, |
375 | .mwdma_mask = 0x07, | 375 | .mwdma_mask = ATA_MWDMA2, |
376 | .udma_mask = ATA_UDMA6, | 376 | .udma_mask = ATA_UDMA6, |
377 | .port_ops = &k2_sata_ops, | 377 | .port_ops = &k2_sata_ops, |
378 | }, | 378 | }, |
@@ -380,8 +380,8 @@ static const struct ata_port_info k2_port_info[] = { | |||
380 | { | 380 | { |
381 | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | | 381 | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | |
382 | ATA_FLAG_MMIO | K2_FLAG_BAR_POS_3, | 382 | ATA_FLAG_MMIO | K2_FLAG_BAR_POS_3, |
383 | .pio_mask = 0x1f, | 383 | .pio_mask = ATA_PIO4, |
384 | .mwdma_mask = 0x07, | 384 | .mwdma_mask = ATA_MWDMA2, |
385 | .udma_mask = ATA_UDMA6, | 385 | .udma_mask = ATA_UDMA6, |
386 | .port_ops = &k2_sata_ops, | 386 | .port_ops = &k2_sata_ops, |
387 | }, | 387 | }, |
@@ -389,8 +389,8 @@ static const struct ata_port_info k2_port_info[] = { | |||
389 | { | 389 | { |
390 | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | | 390 | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | |
391 | ATA_FLAG_MMIO, | 391 | ATA_FLAG_MMIO, |
392 | .pio_mask = 0x1f, | 392 | .pio_mask = ATA_PIO4, |
393 | .mwdma_mask = 0x07, | 393 | .mwdma_mask = ATA_MWDMA2, |
394 | .udma_mask = ATA_UDMA6, | 394 | .udma_mask = ATA_UDMA6, |
395 | .port_ops = &k2_sata_ops, | 395 | .port_ops = &k2_sata_ops, |
396 | }, | 396 | }, |