summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMichael De Backer <micdb@skynet.be>2006-12-04 14:24:41 +0100
committerAdrian Bunk <bunk@stusta.de>2006-12-04 14:24:41 +0100
commit6d46c48302238d397a6ebf055983aa09fac3b6b1 (patch)
tree1aef78cf81ca791f329c49f42f92d733b0a7cd3f /drivers
parentc375b5b95d0f4498bdef8b8f3edd2672120d4f01 (diff)
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: Michael De Backer <micdb@skynet.be> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/pci/alim15x3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/alim15x3.c b/drivers/ide/pci/alim15x3.c
index 8b24b4f2a839..e15948b44c68 100644
--- a/drivers/ide/pci/alim15x3.c
+++ b/drivers/ide/pci/alim15x3.c
@@ -731,7 +731,7 @@ static unsigned int __devinit ata66_ali15x3 (ide_hwif_t *hwif)
if(m5229_revision <= 0x20)
tmpbyte = (tmpbyte & (~0x02)) | 0x01;
- else if (m5229_revision == 0xc7)
+ else if (m5229_revision == 0xc7 || m5229_revision == 0xc8)
tmpbyte |= 0x03;
else
tmpbyte |= 0x01;