[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: 2.3.99-pre3 UDMA33 Errors
From:       Andre Hedrick <andre () linux-ide ! org>
Date:       2000-03-31 19:48:45
[Download RAW message or body]


The silly me........I lost my 'n'........

Thanks.....


On Fri, 31 Mar 2000, Dragos Acostachioaie wrote:

> 
> > Brute forcing UDMA on my [ALi] M5229 IDE (rev 20) I got my second
> > hd WDC completely f... Since that bad day I've put :
> > 
> > /sbin/hdparm -d0 /dev/hdc >/dev/null 2>/dev/null
> > 
> > on my rc.local ;)
> > 
> > Btw this is only a my problem because m5229_revision <= 20
> > can't do UDMA ( WDC or not ).
> > 
> > What about your lspci?
> > Is the WDC workaround too permissive ?
> 
> 	The WDC workaround turns UDMA/33 off when activated and on when
> not. The following patch fixes this:
> 
> --- alim15x3.c.orig	Fri Mar 24 23:22:04 2000
> +++ alim15x3.c	Sat Mar 25 00:02:08 2000
> @@ -409,14 +409,14 @@
>  
>  static byte ali15x3_can_ultra (ide_drive_t *drive)
>  {
> -#ifdef CONFIG_WDC_ALI15X3
> +#ifndef CONFIG_WDC_ALI15X3
>  	struct hd_driveid *id	= drive->id;
>  #endif /* CONFIG_WDC_ALI15X3 */
>  
>  	if (m5229_revision <= 0x20) {
>  		return 0;
>  	} else if ((m5229_revision < 0xC2) &&
> -#ifdef CONFIG_WDC_ALI15X3
> +#ifndef CONFIG_WDC_ALI15X3
>  		   ((chip_is_1543c_e && strstr(id->model, "WDC ")) ||
>  		    (drive->media!=ide_disk))) {
>  #else /* CONFIG_WDC_ALI15X3 */
> 
> 	(already sent to cjtsai@ali.com.tw)
> 
> > if (m5229_revision < 0xC2) && ((chip_is_1543c_e && strstr(id->model, "WDC "))
> > 	then NOUDMA
> 
> 
> Regards,
> Dragos.
> 
> ---------------------------------------------------------------------
> Dragos Acostachioaie                                 dragos@iname.com
> Magic Pinguin SRL                     http://www.arbornet.org/~dragos
> Iasi, Romania                                    Phone: +40-94-564548
>                                                    Fax: +40-32-143902
> ---------------------------------------------------------------------
> 

Andre Hedrick
The Linux ATA/IDE guy


-
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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic