Re: UDMA66 without proper cable?

From: Jan Niehusmann (list005@gondor.com)
Date: Wed May 24 2000 - 12:11:26 EST


On Wed, May 24, 2000 at 07:51:36PM +0200, Bernhard Brueck wrote:
> Exactly the same thing here (pre8 was OK pre9 is broken).

> It only works when Busmaster DMA is disabled.

The following patch may help you and other people with the same problem.
It disables only dma66 in the alim15x3 driver.
Not that this is a hack - it completely disables ata66 detection. It's not
for inclusion in linus' tree. (but perhaps we need a config option, if there
is no other solution)

--- linux-2.3.99-pre9-lvm1-noata66/drivers/ide/alim15x3.c.orig Wed May 24 03:06:47 2000
+++ linux-2.3.99-pre9-lvm1-noata66/drivers/ide/alim15x3.c Wed May 24 03:31:10 2000
@@ -639,7 +639,8 @@
         ata66 = (!(tmpbyte & ata66mask)) ? 1 : 0;
         __restore_flags(flags);
 
- return(ata66);
+ //return(ata66);
+ return(0);
 }
 
 void __init ide_init_ali15x3 (ide_hwif_t *hwif)

-
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:11 EST