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_optidma.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_optidma.c')
-rw-r--r-- | drivers/ata/pata_optidma.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ata/pata_optidma.c b/drivers/ata/pata_optidma.c index 93bb6e91973f..86885a445f97 100644 --- a/drivers/ata/pata_optidma.c +++ b/drivers/ata/pata_optidma.c | |||
@@ -399,15 +399,15 @@ static int optidma_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
399 | { | 399 | { |
400 | static const struct ata_port_info info_82c700 = { | 400 | static const struct ata_port_info info_82c700 = { |
401 | .flags = ATA_FLAG_SLAVE_POSS, | 401 | .flags = ATA_FLAG_SLAVE_POSS, |
402 | .pio_mask = 0x1f, | 402 | .pio_mask = ATA_PIO4, |
403 | .mwdma_mask = 0x07, | 403 | .mwdma_mask = ATA_MWDMA2, |
404 | .port_ops = &optidma_port_ops | 404 | .port_ops = &optidma_port_ops |
405 | }; | 405 | }; |
406 | static const struct ata_port_info info_82c700_udma = { | 406 | static const struct ata_port_info info_82c700_udma = { |
407 | .flags = ATA_FLAG_SLAVE_POSS, | 407 | .flags = ATA_FLAG_SLAVE_POSS, |
408 | .pio_mask = 0x1f, | 408 | .pio_mask = ATA_PIO4, |
409 | .mwdma_mask = 0x07, | 409 | .mwdma_mask = ATA_MWDMA2, |
410 | .udma_mask = 0x07, | 410 | .udma_mask = ATA_UDMA2, |
411 | .port_ops = &optiplus_port_ops | 411 | .port_ops = &optiplus_port_ops |
412 | }; | 412 | }; |
413 | const struct ata_port_info *ppi[] = { &info_82c700, NULL }; | 413 | const struct ata_port_info *ppi[] = { &info_82c700, NULL }; |