[PATCH] 2.4: fix bogus 440GX rev.C PVR

Linux Kernel Mailing List <[email protected]>
Newsgroups gmane.linux.kernel.commits.2-4
Message-ID <[email protected]>
ChangeSet 1.1571, 2005/02/14 05:21:56-02:00, [email protected]

	[PATCH] 2.4: fix bogus 440GX rev.C PVR
	
	attached patch fixes completely bogus 440GX PVR I added long time ago
	using preliminary IBM datasheet. This was already fixed in 2.6 but I
	forgot to submit corresponding 2.4 patch.
	
	Signed-off-by: Eugene Surovegin <[email protected]>
	
	===== arch/ppc/kernel/cputable.c 1.23 vs edited =====



 arch/ppc/kernel/cputable.c  |    4 ++--
 include/asm-ppc/processor.h |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


diff -Nru a/arch/ppc/kernel/cputable.c b/arch/ppc/kernel/cputable.c
--- a/arch/ppc/kernel/cputable.c	2005-02-13 18:04:39 -08:00
+++ b/arch/ppc/kernel/cputable.c	2005-02-13 18:04:39 -08:00
@@ -480,8 +480,8 @@
         32, 32,
         0, /*__setup_cpu_440 */
     },
-    { /* 440GX Rev. B1 (2.1) */
-        0xf0000fff, 0x50000852, "440GX Rev. B1 (2.1)",
+    { /* 440GX Rev. C */
+        0xf0000fff, 0x50000892, "440GX Rev. C",
         CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB,
         PPC_FEATURE_32 | PPC_FEATURE_HAS_MMU,
         32, 32,
diff -Nru a/include/asm-ppc/processor.h b/include/asm-ppc/processor.h
--- a/include/asm-ppc/processor.h	2005-02-13 18:04:39 -08:00
+++ b/include/asm-ppc/processor.h	2005-02-13 18:04:39 -08:00
@@ -678,7 +678,7 @@
 #define PVR_440GP_RC2	0x40200481
 #define PVR_440GX_RA	0x51b21850
 #define PVR_440GX_RB	0x51b21851
-#define PVR_440GX_RB1	0x51b21852
+#define PVR_440GX_RC	0x51b21892
 #define	PVR_601		0x00010000
 #define	PVR_602		0x00050000
 #define	PVR_603		0x00030000
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.