Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43828
b: refs/heads/master
c: 53d53bd
h: refs/heads/master
v: v3
  • Loading branch information
Jordan Crouse authored and Linus Torvalds committed Dec 8, 2006
1 parent 3d7a23b commit 322119f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16ef9870959621fa437d25ead28a7199acc6ce49
refs/heads/master: 53d53bd4ab3fd1498f728fa96635ab95d1ec8ba0
2 changes: 1 addition & 1 deletion trunk/drivers/video/geode/display_gx.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ extern struct geode_dc_ops gx_dc_ops;

/* MSR that tells us if a TFT or CRT is attached */
#define GLD_MSR_CONFIG 0xC0002001
#define GLD_MSR_CONFIG_FMT_FP 0x01
#define GLD_MSR_CONFIG_DM_FP 0x40

/* Display controller registers */

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/geode/gxfb_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ static int __init gxfb_probe(struct pci_dev *pdev, const struct pci_device_id *i

rdmsrl(GLD_MSR_CONFIG, val);

if (val & GLD_MSR_CONFIG_FMT_FP)
if ((val & GLD_MSR_CONFIG_DM_FP) == GLD_MSR_CONFIG_DM_FP)
par->enable_crt = 0;
else
par->enable_crt = 1;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/geode/video_gx.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
extern struct geode_vid_ops gx_vid_ops;

/* GX Flatpanel control MSR */
#define GX_VP_MSR_PAD_SELECT 0x2011
#define GX_VP_MSR_PAD_SELECT 0xC0002011
#define GX_VP_PAD_SELECT_MASK 0x3FFFFFFF
#define GX_VP_PAD_SELECT_TFT 0x1FFFFFFF

Expand Down

0 comments on commit 322119f

Please sign in to comment.