]> err.no Git - linux-2.6/blobdiff - drivers/ide/pci/alim15x3.c
Merge branch 'linux-2.6' into for-linus
[linux-2.6] / drivers / ide / pci / alim15x3.c
index cf84350efc550b3dc804dd9a5cb03d8978dc9002..d419e4bb54f4454e965aacbc32d1f7a902f62fdb 100644 (file)
@@ -27,7 +27,6 @@
  *
  */
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
@@ -731,6 +730,8 @@ static unsigned int __devinit ata66_ali15x3 (ide_hwif_t *hwif)
        
        if(m5229_revision <= 0x20)
                tmpbyte = (tmpbyte & (~0x02)) | 0x01;
+       else if (m5229_revision == 0xc7 || m5229_revision == 0xc8)
+               tmpbyte |= 0x03;
        else
                tmpbyte |= 0x01;