Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
>
> The iMac G5 and new single CPU PowerMac G5 come with a new revision of
>  the K2 ASIC called Shasta. The PATA cell in there now does 133Mhz. This
>  patch adds support for it. It also adds some power management bits to
>  the old 100MHz cell that was in Intrepid based ppc32 machines.

Compile fix:

--- 
25/drivers/ide/ppc/pmac.c~ppc64-add-ide-pmac-support-for-new-shasta-chipset-fix 
    2005-03-11 07:12:01.000000000 -0700
+++ 25-akpm/drivers/ide/ppc/pmac.c      2005-03-11 07:12:20.000000000 -0700
@@ -1301,7 +1301,7 @@ pmac_ide_setup_device(pmac_ide_hwif_t *p
         */
        if (device_is_compatible(np, "K2-UATA") ||
            device_is_compatible(np, "shasta-ata"))
-               pmid->cable_80 = 1;
+               pmif->cable_80 = 1;
 
        /* On Kauai-type controllers, we make sure the FCR is correct */
        if (pmif->kauai_fcr)
_

(Wonders how well tested this was).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to