Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Insert missing code that defines screen metrics for...
details: https://anonhg.NetBSD.org/src/rev/7fb394ca8bc6
branches: trunk
changeset: 473086:7fb394ca8bc6
user: ad <ad%NetBSD.org@localhost>
date: Wed May 19 19:59:04 1999 +0000
description:
Insert missing code that defines screen metrics for rcons. This fixes the
more blatant rcons brokenness (ie no panics).
diffstat:
sys/arch/sparc/dev/fb.c | 6 +++++-
sys/arch/sparc64/dev/fb.c | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r 83a5264aa147 -r 7fb394ca8bc6 sys/arch/sparc/dev/fb.c
--- a/sys/arch/sparc/dev/fb.c Wed May 19 16:32:40 1999 +0000
+++ b/sys/arch/sparc/dev/fb.c Wed May 19 19:59:04 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fb.c,v 1.33 1999/05/18 21:36:21 ad Exp $ */
+/* $NetBSD: fb.c,v 1.34 1999/05/19 19:59:04 ad Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -419,6 +419,10 @@
rc->rc_ops = &ri->ri_ops;
rc->rc_cookie = ri;
rc->rc_bell = fb_bell;
+ rc->rc_maxcol = ri->ri_cols;
+ rc->rc_maxrow = ri->ri_rows;
+ rc->rc_width = ri->ri_emuwidth;
+ rc->rc_height = ri->ri_emuheight;
rcons_init(rc);
/* Hook up virtual console */
diff -r 83a5264aa147 -r 7fb394ca8bc6 sys/arch/sparc64/dev/fb.c
--- a/sys/arch/sparc64/dev/fb.c Wed May 19 16:32:40 1999 +0000
+++ b/sys/arch/sparc64/dev/fb.c Wed May 19 19:59:04 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fb.c,v 1.10 1999/05/18 21:38:07 ad Exp $ */
+/* $NetBSD: fb.c,v 1.11 1999/05/19 19:59:04 ad Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -295,6 +295,10 @@
rc->rc_ops = &ri->ri_ops;
rc->rc_cookie = ri;
rc->rc_bell = fb_bell;
+ rc->rc_maxcol = ri->ri_cols;
+ rc->rc_maxrow = ri->ri_rows;
+ rc->rc_width = ri->ri_emuwidth;
+ rc->rc_height = ri->ri_emuheight;
rcons_init(rc);
/* Hook up virtual console */
Home |
Main Index |
Thread Index |
Old Index