Re: ALI 1543 broken in 2.3.99-pre9 and above

From: Andre Hedrick (andre@linux-ide.org)
Date: Tue May 30 2000 - 00:12:59 EST


On Mon, 29 May 2000, Peter Steiner wrote:

> Jan Niehusmann <list005@gondor.com> wrote:
>
> >So either we need another if(m5229_revision < or > something... ),
> >or we need some other way to detect validity of the 80pin detecion bits.
>
> If I understood Andre correctly, there's a validity bit that should be
> consulted:

Yep.........if the validity fails now U66 will not be enabled.
Patch to come......

> >-------------------------
> --- alim15x3.c~ Fri May 26 18:33:11 2000
> +++ alim15x3.c Fri May 26 18:41:42 2000
> @@ -372,10 +372,9 @@
> struct hd_driveid *id = drive->id;
> ide_hwif_t *hwif = HWIF(drive);
> byte speed = 0x00;
> - byte ultra66 = ((hwif->udma_four) && (id->hw_config & 0x2000)) ? 1 : 0;
> + byte ultra66 = ((hwif->udma_four) &&
> + ((id->hw_config & 0x6000)==0x6000)) ? 1 : 0;
> int rval;
>
> if ((id->dma_ultra & 0x0010) && (ultra66) && (ultra33)) {
> speed = XFER_UDMA_4;
> >-------------------------
>
> Peter
> --
> _ x ___ p.steiner@t-online.de (Peter Steiner)
> / \_/_\_ /,--' Linux User #55148 (http://counter.li.org/)
> \/>'~~~~//
> \_____/ perl -e'while(<>){s/=\n//g;s/=([\dA-F]{2})/chr(hex($1))/eg;print;}'
>

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/



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