diff options
Diffstat (limited to 'drivers/ata/pata_macio.c')
-rw-r--r-- | drivers/ata/pata_macio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/pata_macio.c b/drivers/ata/pata_macio.c index 17e4e5d19696..25df50f51c04 100644 --- a/drivers/ata/pata_macio.c +++ b/drivers/ata/pata_macio.c | |||
@@ -720,6 +720,8 @@ static int pata_macio_port_start(struct ata_port *ap) | |||
720 | if (priv->dma_table_cpu == NULL) { | 720 | if (priv->dma_table_cpu == NULL) { |
721 | dev_err(priv->dev, "Unable to allocate DMA command list\n"); | 721 | dev_err(priv->dev, "Unable to allocate DMA command list\n"); |
722 | ap->ioaddr.bmdma_addr = NULL; | 722 | ap->ioaddr.bmdma_addr = NULL; |
723 | ap->mwdma_mask = 0; | ||
724 | ap->udma_mask = 0; | ||
723 | } | 725 | } |
724 | return 0; | 726 | return 0; |
725 | } | 727 | } |