Benjamin Herrenschmidt <[EMAIL PROTECTED]> schrieb am 08.08.05 11:14:40:
> 
> Can you try tweaking the driver in drivers/ide/ppc/pmac.c, and put this
> code in #if 0 :
> 
>       /* Get cable type from device-tree */
>       if (pmif->kind == controller_kl_ata4 || pmif->kind == controller_un_ata6
>           || pmif->kind == controller_k2_ata6
>           || pmif->kind == controller_sh_ata6) {
>               char* cable = get_property(np, "cable-type", NULL);
>               if (cable && !strncmp(cable, "80-", 3))
>                       pmif->cable_80 = 1;
>       }
>       /* G5's seem to have incorrect cable type in device-tree. Let's assume
>        * they have a 80 conductor cable, this seem to be always the case 
> unless
>        * the user mucked around
>        */
>       if (device_is_compatible(np, "K2-UATA") ||
>           device_is_compatible(np, "shasta-ata"))
>               pmif->cable_80 = 1;
> 
> (That is make sure cable_80 is never set to 1)
> 
> That will have the effect of slowing down your interface to U/DMA2. Let me 
> know if
> that helps.
> 
> Ben.
> 

Yes, I'll #if 0 this code fragment in pmac_ide_setup_device() and test it.
I guess I need to watch this for a while, since the "DMA disabled" was triggered
only rarely. Please be patient.

Vivenzio

__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to