Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39945
b: refs/heads/master
c: 996f324
h: refs/heads/master
i:
  39943: bf2d16f
v: v3
  • Loading branch information
Ben Collins committed Oct 18, 2006
1 parent 076702a commit 33d11aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: f3f6f9aaced9c8453ef45956a23295e5c2328124
refs/heads/master: 996f324767fd24b7cc682801277add2a4f276635
4 changes: 2 additions & 2 deletions trunk/drivers/video/valkyriefb.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ static void __init valkyrie_choose_mode(struct fb_info_valkyrie *p)
printk(KERN_INFO "Monitor sense value = 0x%x\n", p->sense);

/* Try to pick a video mode out of NVRAM if we have one. */
#ifndef CONFIG_MAC
#if !defined(CONFIG_MAC) && defined(CONFIG_NVRAM)
if (default_vmode == VMODE_NVRAM) {
default_vmode = nvram_read_byte(NV_VMODE);
if (default_vmode <= 0
Expand All @@ -297,7 +297,7 @@ static void __init valkyrie_choose_mode(struct fb_info_valkyrie *p)
default_vmode = mac_map_monitor_sense(p->sense);
if (!valkyrie_reg_init[default_vmode - 1])
default_vmode = VMODE_640_480_67;
#ifndef CONFIG_MAC
#if !defined(CONFIG_MAC) && defined(CONFIG_NVRAM)
if (default_cmode == CMODE_NVRAM)
default_cmode = nvram_read_byte(NV_CMODE);
#endif
Expand Down

0 comments on commit 33d11aa

Please sign in to comment.