Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sun keep the caller's defaults instead of supplying ...
details: https://anonhg.NetBSD.org/src/rev/dd465a17f4a3
branches: trunk
changeset: 554463:dd465a17f4a3
user: chs <chs%NetBSD.org@localhost>
date: Tue Oct 28 16:25:29 2003 +0000
description:
keep the caller's defaults instead of supplying our own.
diffstat:
sys/dev/sun/pfour_subr.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (33 lines):
diff -r 8ea332d112bc -r dd465a17f4a3 sys/dev/sun/pfour_subr.c
--- a/sys/dev/sun/pfour_subr.c Tue Oct 28 15:55:09 2003 +0000
+++ b/sys/dev/sun/pfour_subr.c Tue Oct 28 16:25:29 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pfour_subr.c,v 1.3 2003/10/28 15:25:27 chs Exp $ */
+/* $NetBSD: pfour_subr.c,v 1.4 2003/10/28 16:25:29 chs Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pfour_subr.c,v 1.3 2003/10/28 15:25:27 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pfour_subr.c,v 1.4 2003/10/28 16:25:29 chs Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -120,12 +120,10 @@
default:
/*
- * Assume the smallest size.
+ * Use the defaults already filled in by the generic fb code.
*/
- width = 640;
- height = 480;
- break;
+ return;
}
fb->fb_type.fb_width = width;
Home |
Main Index |
Thread Index |
Old Index