[PATCH] [LXFB] Use the correct MSR number for panel support

2007-10-26 Thread Jordan Crouse
From: Jordan Crouse <[EMAIL PROTECTED]>

A relatively recent version of the Geode LX datasheet listed the wrong
address for one of the MSRs that controls TFT panels, resulting in 
breakage.  This patch corrects the MSR address.

Signed-off-by: Jordan Crouse <[EMAIL PROTECTED]>
---

 drivers/video/geode/lxfb.h |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/geode/lxfb.h b/drivers/video/geode/lxfb.h
index 6c227f9..ca13c48 100644
--- a/drivers/video/geode/lxfb.h
+++ b/drivers/video/geode/lxfb.h
@@ -33,7 +33,7 @@ void lx_set_palette_reg(struct fb_info *, unsigned int, 
unsigned int,
 
 #define MSR_LX_GLD_CONFIG0x48002001
 #define MSR_LX_GLCP_DOTPLL   0x4c15
-#define MSR_LX_DF_PADSEL 0x4811
+#define MSR_LX_DF_PADSEL 0x48002011
 #define MSR_LX_DC_SPARE  0x8011
 #define MSR_LX_DF_GLCONFIG   0x48002001
 



-
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/


Re: [PATCH] [LXFB] Use the correct MSR number for panel support

2007-10-29 Thread H. Peter Anvin

Jordan Crouse wrote:

From: Jordan Crouse <[EMAIL PROTECTED]>

A relatively recent version of the Geode LX datasheet listed the wrong
address for one of the MSRs that controls TFT panels, resulting in 
breakage.  This patch corrects the MSR address.


Signed-off-by: Jordan Crouse <[EMAIL PROTECTED]>
---

 drivers/video/geode/lxfb.h |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/geode/lxfb.h b/drivers/video/geode/lxfb.h
index 6c227f9..ca13c48 100644
--- a/drivers/video/geode/lxfb.h
+++ b/drivers/video/geode/lxfb.h
@@ -33,7 +33,7 @@ void lx_set_palette_reg(struct fb_info *, unsigned int, 
unsigned int,
 
 #define MSR_LX_GLD_CONFIG0x48002001

 #define MSR_LX_GLCP_DOTPLL   0x4c15
-#define MSR_LX_DF_PADSEL 0x4811
+#define MSR_LX_DF_PADSEL 0x48002011
 #define MSR_LX_DC_SPARE  0x8011
 #define MSR_LX_DF_GLCONFIG   0x48002001
 


Please put MSR indicies in  and/or a separate 
include file.


-hpa
-
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/