git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libata-sff: clean up BMDMA initialization
[safe/jmp/linux-2.6]
/
drivers
/
ata
/
pata_macio.c
diff --git
a/drivers/ata/pata_macio.c
b/drivers/ata/pata_macio.c
index
17e4e5d
..
25df50f
100644
(file)
--- 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)
if (priv->dma_table_cpu == NULL) {
dev_err(priv->dev, "Unable to allocate DMA command list\n");
ap->ioaddr.bmdma_addr = NULL;
+ ap->mwdma_mask = 0;
+ ap->udma_mask = 0;
}
return 0;
}