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_icside.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_icside.c')
-rw-r--r-- | drivers/ata/pata_icside.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_icside.c b/drivers/ata/pata_icside.c index cf9e9848f8b5..e7347db5b6c4 100644 --- a/drivers/ata/pata_icside.c +++ b/drivers/ata/pata_icside.c | |||
@@ -297,7 +297,7 @@ static int icside_dma_init(struct pata_icside_info *info) | |||
297 | 297 | ||
298 | if (ec->dma != NO_DMA && !request_dma(ec->dma, DRV_NAME)) { | 298 | if (ec->dma != NO_DMA && !request_dma(ec->dma, DRV_NAME)) { |
299 | state->dma = ec->dma; | 299 | state->dma = ec->dma; |
300 | info->mwdma_mask = 0x07; /* MW0..2 */ | 300 | info->mwdma_mask = ATA_MWDMA2; |
301 | } | 301 | } |
302 | 302 | ||
303 | return 0; | 303 | return 0; |
@@ -473,7 +473,7 @@ static int __devinit pata_icside_add_ports(struct pata_icside_info *info) | |||
473 | for (i = 0; i < info->nr_ports; i++) { | 473 | for (i = 0; i < info->nr_ports; i++) { |
474 | struct ata_port *ap = host->ports[i]; | 474 | struct ata_port *ap = host->ports[i]; |
475 | 475 | ||
476 | ap->pio_mask = 0x1f; | 476 | ap->pio_mask = ATA_PIO4; |
477 | ap->mwdma_mask = info->mwdma_mask; | 477 | ap->mwdma_mask = info->mwdma_mask; |
478 | ap->flags |= ATA_FLAG_SLAVE_POSS; | 478 | ap->flags |= ATA_FLAG_SLAVE_POSS; |
479 | ap->ops = &pata_icside_port_ops; | 479 | ap->ops = &pata_icside_port_ops; |