Module Name: src Committed By: phx Date: Tue Nov 2 19:19:22 UTC 2010
Modified Files: src/sys/arch/ofppc/ofppc: machdep.c Log Message: Default vesa mode for Pegasos is 0x103, not 0x102. To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/sys/arch/ofppc/ofppc/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/ofppc/ofppc/machdep.c diff -u src/sys/arch/ofppc/ofppc/machdep.c:1.112 src/sys/arch/ofppc/ofppc/machdep.c:1.113 --- src/sys/arch/ofppc/ofppc/machdep.c:1.112 Wed Mar 10 18:18:47 2010 +++ src/sys/arch/ofppc/ofppc/machdep.c Tue Nov 2 19:19:22 2010 @@ -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; }