Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm32/vidc Fixup vidc files, VIDC_FREF is now vidc_...
details: https://anonhg.NetBSD.org/src/rev/d1315d51aba7
branches: trunk
changeset: 512603:d1315d51aba7
user: chris <chris%NetBSD.org@localhost>
date: Tue Jul 10 22:09:04 2001 +0000
description:
Fixup vidc files, VIDC_FREF is now vidc_fref.
diffstat:
sys/arch/arm32/vidc/console/vidcconsole.c | 4 ++--
sys/arch/arm32/vidc/console/vidcrender.c | 4 ++--
sys/arch/arm32/vidc/vidc20config.c | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
diffs (63 lines):
diff -r b8d04ebb04e5 -r d1315d51aba7 sys/arch/arm32/vidc/console/vidcconsole.c
--- a/sys/arch/arm32/vidc/console/vidcconsole.c Tue Jul 10 21:52:46 2001 +0000
+++ b/sys/arch/arm32/vidc/console/vidcconsole.c Tue Jul 10 22:09:04 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vidcconsole.c,v 1.28 2001/02/21 00:53:36 reinoud Exp $ */
+/* $NetBSD: vidcconsole.c,v 1.29 2001/07/10 22:09:05 chris Exp $ */
/*
* Copyright (c) 1996 Mark Brinicombe
@@ -102,7 +102,7 @@
struct vidcconsole_softc *vidcconsolesoftc = (void *)self;
vidcconsolesoftc->sc_opened=0;
- printf(": refclk=%dMHz %dKB %s\n", (VIDC_FREF / 1000000),
+ printf(": refclk=%dMHz %dKB %s\n", (vidc_fref / 1000000),
videomemory.vidm_size / 1024,
(videomemory.vidm_type == VIDEOMEM_TYPE_VRAM) ? "VRAM" : "DRAM");
}
diff -r b8d04ebb04e5 -r d1315d51aba7 sys/arch/arm32/vidc/console/vidcrender.c
--- a/sys/arch/arm32/vidc/console/vidcrender.c Tue Jul 10 21:52:46 2001 +0000
+++ b/sys/arch/arm32/vidc/console/vidcrender.c Tue Jul 10 22:09:04 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vidcrender.c,v 1.5 2001/04/09 19:33:22 reinoud Exp $ */
+/* $NetBSD: vidcrender.c,v 1.6 2001/07/10 22:09:05 chris Exp $ */
/*
* Copyright (c) 1996 Mark Brinicombe
@@ -406,7 +406,7 @@
int r, v, f;
for (v = 63; v > 0; v--)
for (r = 63; r > 0; r--) {
- f = (v * VIDC_FREF/1000) / r;
+ f = ((v * vidc_fref)/1000) / r;
if (least_error >= mod(f - vidc_currentmode->pixel_rate)) {
best_match = f;
least_error = mod(f - vidc_currentmode->pixel_rate);
diff -r b8d04ebb04e5 -r d1315d51aba7 sys/arch/arm32/vidc/vidc20config.c
--- a/sys/arch/arm32/vidc/vidc20config.c Tue Jul 10 21:52:46 2001 +0000
+++ b/sys/arch/arm32/vidc/vidc20config.c Tue Jul 10 22:09:04 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vidc20config.c,v 1.3 2001/04/09 19:23:32 reinoud Exp $ */
+/* $NetBSD: vidc20config.c,v 1.4 2001/07/10 22:09:04 chris Exp $ */
/*
* Copyright (c) 2001 Reinoud Zandijk
@@ -213,7 +213,7 @@
void
vidcvideo_printdetails(void)
{
- printf(": refclk=%dMHz %dKB %s ", (VIDC_FREF / 1000000),
+ printf(": refclk=%dMHz %dKB %s ", (vidc_fref / 1000000),
videomemory.vidm_size / 1024,
(videomemory.vidm_type == VIDEOMEM_TYPE_VRAM) ? "VRAM" : "DRAM");
}
@@ -561,7 +561,7 @@
int r, v, f;
for (v = 63; v > 0; v--)
for (r = 63; r > 0; r--) {
- f = (v * VIDC_FREF/1000) / r;
+ f = ((v * vidc_fref) /1000) / r;
if (least_error >= mod(f - vidc_currentmode->pixel_rate)) {
best_match = f;
least_error = mod(f - vidc_currentmode->pixel_rate);
Home |
Main Index |
Thread Index |
Old Index