Commit e11db063 authored by Michael De Backer's avatar Michael De Backer Committed by Linus Torvalds

[PATCH] alim15x3.c: M5229 (rev c8) support for DMA cd-writer

Configuration bits are not set properly for DMA on some chipset revisions.
It has already been corrected for M5229 (rev c7) but not for M5229 (rev
c8).  This leads to the bug described at
http://bugzilla.kernel.org/show_bug.cgi?id=5786 (lost interrupt + ide bus
hangs).
Signed-off-by: default avatarMichael De Backer <micdb@skynet.be>
Acked-by: default avatarAlan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent af45f32d
...@@ -730,7 +730,7 @@ static unsigned int __devinit ata66_ali15x3 (ide_hwif_t *hwif) ...@@ -730,7 +730,7 @@ static unsigned int __devinit ata66_ali15x3 (ide_hwif_t *hwif)
if(m5229_revision <= 0x20) if(m5229_revision <= 0x20)
tmpbyte = (tmpbyte & (~0x02)) | 0x01; tmpbyte = (tmpbyte & (~0x02)) | 0x01;
else if (m5229_revision == 0xc7) else if (m5229_revision == 0xc7 || m5229_revision == 0xc8)
tmpbyte |= 0x03; tmpbyte |= 0x03;
else else
tmpbyte |= 0x01; tmpbyte |= 0x01;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment