aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-07-08 01:13:16 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-09 12:17:35 -0400
commit469248abf00dfa813356b372ffe153b85f27f4bf (patch)
tree61d81524195c35195abc68d8cc437c93bd5036bc /drivers/ata/ahci.c
parentd26fc9551a15fdad0d5de8376a78816b8af44f00 (diff)
[libata] Clean up driver udma_mask initializers
* Use ATA_UDMA* * Remove FIXME notations that once served to remind us to verify that these were indeed the correct UDMA masks. They are. Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/ahci.c')
-rw-r--r--drivers/ata/ahci.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index b14e7ef343f3..f66e2a50158b 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -330,14 +330,14 @@ static const struct ata_port_info ahci_port_info[] = {
330 { 330 {
331 .flags = AHCI_FLAG_COMMON, 331 .flags = AHCI_FLAG_COMMON,
332 .pio_mask = 0x1f, /* pio0-4 */ 332 .pio_mask = 0x1f, /* pio0-4 */
333 .udma_mask = 0x7f, /* udma0-6 ; FIXME */ 333 .udma_mask = ATA_UDMA6,
334 .port_ops = &ahci_ops, 334 .port_ops = &ahci_ops,
335 }, 335 },
336 /* board_ahci_pi */ 336 /* board_ahci_pi */
337 { 337 {
338 .flags = AHCI_FLAG_COMMON | AHCI_FLAG_HONOR_PI, 338 .flags = AHCI_FLAG_COMMON | AHCI_FLAG_HONOR_PI,
339 .pio_mask = 0x1f, /* pio0-4 */ 339 .pio_mask = 0x1f, /* pio0-4 */
340 .udma_mask = 0x7f, /* udma0-6 ; FIXME */ 340 .udma_mask = ATA_UDMA6,
341 .port_ops = &ahci_ops, 341 .port_ops = &ahci_ops,
342 }, 342 },
343 /* board_ahci_vt8251 */ 343 /* board_ahci_vt8251 */
@@ -345,14 +345,14 @@ static const struct ata_port_info ahci_port_info[] = {
345 .flags = AHCI_FLAG_COMMON | ATA_FLAG_HRST_TO_RESUME | 345 .flags = AHCI_FLAG_COMMON | ATA_FLAG_HRST_TO_RESUME |
346 AHCI_FLAG_NO_NCQ, 346 AHCI_FLAG_NO_NCQ,
347 .pio_mask = 0x1f, /* pio0-4 */ 347 .pio_mask = 0x1f, /* pio0-4 */
348 .udma_mask = 0x7f, /* udma0-6 ; FIXME */ 348 .udma_mask = ATA_UDMA6,
349 .port_ops = &ahci_vt8251_ops, 349 .port_ops = &ahci_vt8251_ops,
350 }, 350 },
351 /* board_ahci_ign_iferr */ 351 /* board_ahci_ign_iferr */
352 { 352 {
353 .flags = AHCI_FLAG_COMMON | AHCI_FLAG_IGN_IRQ_IF_ERR, 353 .flags = AHCI_FLAG_COMMON | AHCI_FLAG_IGN_IRQ_IF_ERR,
354 .pio_mask = 0x1f, /* pio0-4 */ 354 .pio_mask = 0x1f, /* pio0-4 */
355 .udma_mask = 0x7f, /* udma0-6 ; FIXME */ 355 .udma_mask = ATA_UDMA6,
356 .port_ops = &ahci_ops, 356 .port_ops = &ahci_ops,
357 }, 357 },
358 /* board_ahci_sb600 */ 358 /* board_ahci_sb600 */
@@ -361,7 +361,7 @@ static const struct ata_port_info ahci_port_info[] = {
361 AHCI_FLAG_IGN_SERR_INTERNAL | 361 AHCI_FLAG_IGN_SERR_INTERNAL |
362 AHCI_FLAG_32BIT_ONLY, 362 AHCI_FLAG_32BIT_ONLY,
363 .pio_mask = 0x1f, /* pio0-4 */ 363 .pio_mask = 0x1f, /* pio0-4 */
364 .udma_mask = 0x7f, /* udma0-6 ; FIXME */ 364 .udma_mask = ATA_UDMA6,
365 .port_ops = &ahci_ops, 365 .port_ops = &ahci_ops,
366 }, 366 },
367}; 367};