Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ofppc/ofppc Default vesa mode for Pegasos is 0x103, ...



details:   https://anonhg.NetBSD.org/src/rev/64ba3846a311
branches:  trunk
changeset: 758347:64ba3846a311
user:      phx <phx%NetBSD.org@localhost>
date:      Tue Nov 02 19:19:22 2010 +0000

description:
Default vesa mode for Pegasos is 0x103, not 0x102.

diffstat:

 sys/arch/ofppc/ofppc/machdep.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 0b3f56b76165 -r 64ba3846a311 sys/arch/ofppc/ofppc/machdep.c
--- a/sys/arch/ofppc/ofppc/machdep.c    Tue Nov 02 19:17:02 2010 +0000
+++ b/sys/arch/ofppc/ofppc/machdep.c    Tue Nov 02 19:19:22 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.112 2010/03/10 18:18:47 kiyohara Exp $   */
+/*     $NetBSD: machdep.c,v 1.113 2010/11/02 19:19:22 phx Exp $        */
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.112 2010/03/10 18:18:47 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.113 2010/11/02 19:19:22 phx Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -118,11 +118,10 @@
                char buf[32];
                int i;
 
-               modeldata.ranges_offset = 1;
                modeldata.pciiodata[0].start = 0x00001400;
                modeldata.pciiodata[0].limit = 0x0000ffff;
                
-               /* the pegasos doesn't bother to set the L2 cache up*/
+               /* the pegasos doesn't bother to set the L2 cache up */
                l2cr_config = L2CR_L2PE;
                
                /* fix the device_type property of a graphics card */
@@ -161,7 +160,7 @@
                        }
                }
                if (!mode) {
-                       mode = 0x102;
+                       mode = 0x103;
                        width = 800;
                        height = 600;
                }



Home | Main Index | Thread Index | Old Index