lkml.org 
[lkml]   [2005]   [Mar]   [11]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateThu, 10 Mar 2005 23:17:00 -0800
FromAndrew Morton <>
SubjectRe: [PATCH] ppc64: Add IDE-pmac support for new "Shasta" chipset
Benjamin Herrenschmidt <benh@kernel.crashing.org> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:11    [from the cache]
©2003-2008