Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/newsmips/dev default: to 1024x768 landscape if unkn...



details:   https://anonhg.NetBSD.org/src/rev/6d6e61f02904
branches:  trunk
changeset: 555046:6d6e61f02904
user:      dsl <dsl%NetBSD.org@localhost>
date:      Fri Nov 07 19:21:39 2003 +0000

description:
default: to 1024x768 landscape if unknown geometry (avoids uninitialised vars)

diffstat:

 sys/arch/newsmips/dev/fb.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 96153a85cff3 -r 6d6e61f02904 sys/arch/newsmips/dev/fb.c
--- a/sys/arch/newsmips/dev/fb.c        Fri Nov 07 19:16:01 2003 +0000
+++ b/sys/arch/newsmips/dev/fb.c        Fri Nov 07 19:21:39 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fb.c,v 1.17 2003/07/15 02:59:29 lukem Exp $    */
+/*     $NetBSD: fb.c,v 1.18 2003/11/07 19:21:39 dsl Exp $      */
 
 /*-
  * Copyright (c) 2000 Tsubai Masanari.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fb.c,v 1.17 2003/07/15 02:59:29 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fb.c,v 1.18 2003/11/07 19:21:39 dsl Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -193,6 +193,7 @@
                break;
        case 1:
        case 2:
+       default:
                width = 1024;
                height = 768;
                break;



Home | Main Index | Thread Index | Old Index