ALI 1543 broken in 2.3.99-pre9 and above

From: Pavel Roskin (pavel_roskin@geocities.com)
Date: Mon May 29 2000 - 01:40:50 EST


Hello!

2.3.99-pre9 introduces massive changes in the IDE DMA support and breaks
support for my ALI 1543. The kernel complains about unknown partition
table, which probably means that the IDE driver reads bogus data.

The binary search shows that the following patch needs to be reverted:

===== cut here =====
diff -u --recursive --new-file v2.3.99-pre8/linux/drivers/ide/alim15x3.c linux/drivers/ide/alim15x3.c
--- v2.3.99-pre8/linux/drivers/ide/alim15x3.c Wed Apr 26 16:34:07 2000
+++ linux/drivers/ide/alim15x3.c Mon May 15 11:03:48 2000
@@ -629,7 +636,7 @@
          * has 80-pin (from host view)
          */
         pci_read_config_byte(dev, 0x4a, &tmpbyte);
- ata66 = (!(tmpbyte & ata66mask)) ? 0 : 1;
+ ata66 = (!(tmpbyte & ata66mask)) ? 1 : 0;
         __restore_flags(flags);
 
         return(ata66);
===== cut here =====

As far as I can see, this patch doesn't correspond anyhow with other
changes, so I believe that the above change might have been unintended.

Reverting this patch on 2.4.0-test1 fixes all the problems. UDMA is
supported for the hard drive.

My configuration: K6-II, RedHat-6.1, gcc-2.95.2, Fujitsu 13 GB, ALI 11543,
revision C1, CD-ROM HiVal 52x max.

Pavel Roskin
http://www.red-bean.com/~proski/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:20 EST