projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee58150
)
ata_generic: Check the right register for the DMA enabled flags
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Tue, 3 Jul 2007 14:11:30 +0000
(15:11 +0100)
committer
Jeff Garzik
<jeff@garzik.org>
Tue, 3 Jul 2007 14:09:29 +0000
(10:09 -0400)
Mirrors change in IT821X
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ata_generic.c
patch
|
blob
|
history
diff --git
a/drivers/ata/ata_generic.c
b/drivers/ata/ata_generic.c
index 7565f022bd69dbf69e8585e17470822a8a84e207..4c6e95c95e4a7a5715d1e2053e18eb07bda6d998 100644
(file)
--- a/
drivers/ata/ata_generic.c
+++ b/
drivers/ata/ata_generic.c
@@
-50,7
+50,7
@@
static int generic_set_mode(struct ata_port *ap, struct ata_device **unused)
/* Bits 5 and 6 indicate if DMA is active on master/slave */
if (ap->ioaddr.bmdma_addr)
- dma_enabled = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_
CMD
);
+ dma_enabled = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_
STATUS
);
for (i = 0; i < ATA_MAX_DEVICES; i++) {
struct ata_device *dev = &ap->device[i];