diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-07-09 12:16:50 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-09 12:17:35 -0400 |
commit | bf6263a853c9c143bf03f0a6fdcc68ab714fb5f5 (patch) | |
tree | baf6189fc6e5c13934749488948e1cbfc6e65dea /drivers/ata/sata_svw.c | |
parent | cd70c26617f4686355263be4533ce8030242740e (diff) |
[libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info
The ATA_UDMAx masks are self-documenting, and far better than manually
writing in the hex mask.
Note that pata_it8213 mask differed from the comment. Added a FIXME there.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_svw.c')
-rw-r--r-- | drivers/ata/sata_svw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_svw.c b/drivers/ata/sata_svw.c index 4fd4f107187c..63fe99afd59f 100644 --- a/drivers/ata/sata_svw.c +++ b/drivers/ata/sata_svw.c | |||
@@ -361,7 +361,7 @@ static const struct ata_port_info k2_port_info[] = { | |||
361 | ATA_FLAG_MMIO | K2_FLAG_NO_ATAPI_DMA, | 361 | ATA_FLAG_MMIO | K2_FLAG_NO_ATAPI_DMA, |
362 | .pio_mask = 0x1f, | 362 | .pio_mask = 0x1f, |
363 | .mwdma_mask = 0x07, | 363 | .mwdma_mask = 0x07, |
364 | .udma_mask = 0x7f, | 364 | .udma_mask = ATA_UDMA6, |
365 | .port_ops = &k2_sata_ops, | 365 | .port_ops = &k2_sata_ops, |
366 | }, | 366 | }, |
367 | /* board_svw8 */ | 367 | /* board_svw8 */ |
@@ -371,7 +371,7 @@ static const struct ata_port_info k2_port_info[] = { | |||
371 | K2_FLAG_SATA_8_PORTS, | 371 | K2_FLAG_SATA_8_PORTS, |
372 | .pio_mask = 0x1f, | 372 | .pio_mask = 0x1f, |
373 | .mwdma_mask = 0x07, | 373 | .mwdma_mask = 0x07, |
374 | .udma_mask = 0x7f, | 374 | .udma_mask = ATA_UDMA6, |
375 | .port_ops = &k2_sata_ops, | 375 | .port_ops = &k2_sata_ops, |
376 | }, | 376 | }, |
377 | }; | 377 | }; |