+ atyfb-force-29mhz-xtal-on-g3-powerbooks.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     atyfb: force 29MHz xtal on G3 PowerBooks
has been added to the -mm tree.  Its filename is
     atyfb-force-29mhz-xtal-on-g3-powerbooks.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: atyfb: force 29MHz xtal on G3 PowerBooks
From: Olaf Hering <olaf@xxxxxxxxx>

The atyfb does not work on my 233MHz PowerBook with Mach64 LP, when the
kernel is booted from firmware.  aty_ld_pll_ct() returns 0x22 and xtal
remains at 14.31818.  When booted from MacOS, aty_ld_pll_ct() returns 0x3c
and xtal is changed to 29.498928.  Google indicates that all 4 PowerBook
models need the higher value.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
Cc: Ville Syrjala <syrjala@xxxxxx>
Cc: "Antonino A. Daplas" <adaplas@xxxxxxx>
Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/video/aty/atyfb_base.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/video/aty/atyfb_base.c~atyfb-force-29mhz-xtal-on-g3-powerbooks drivers/video/aty/atyfb_base.c
--- a/drivers/video/aty/atyfb_base.c~atyfb-force-29mhz-xtal-on-g3-powerbooks
+++ a/drivers/video/aty/atyfb_base.c
@@ -2411,7 +2411,7 @@ static int __devinit aty_init(struct fb_
 				diff1 = -diff1;
 			if (diff2 < 0)
 				diff2 = -diff2;
-			if (diff2 < diff1) {
+			if (diff2 < diff1 || (M64_HAS(G3_PB_1024x768))) {
 				par->ref_clk_per = 1000000000000ULL / 29498928;
 				xtal = "29.498928";
 			}
_

Patches currently in -mm which might be from olaf@xxxxxxxxx are

git-powerpc.patch
git-netdev-all.patch
atyfb-force-29mhz-xtal-on-g3-powerbooks.patch
unexport-asm-shmparamh.patch
remove-consolemaph-from-header-exports.patch
include-linux-typesh-in-if_fddih.patch
keep-track-of-network-interface-renaming.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux