projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Fix problem with ATAPI DMA on IT8212 in Linux
[powerpc.git]
/
drivers
/
ide
/
pci
/
it821x.c
diff --git
a/drivers/ide/pci/it821x.c
b/drivers/ide/pci/it821x.c
index
7fb3635
..
3cb0442
100644
(file)
--- a/
drivers/ide/pci/it821x.c
+++ b/
drivers/ide/pci/it821x.c
@@
-650,6
+650,8
@@
static void __devinit init_hwif_it821x(ide_hwif_t *hwif)
}
ide_set_hwifdata(hwif, idev);
+ hwif->atapi_dma = 1;
+
pci_read_config_byte(hwif->pci_dev, 0x50, &conf);
if(conf & 1) {
idev->smart = 1;