Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 correct order of parameters, has no effect ...



details:   https://anonhg.NetBSD.org/src/rev/259e4959aeab
branches:  trunk
changeset: 456616:259e4959aeab
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sun May 19 07:43:17 2019 +0000

description:
correct order of parameters, has no effect as anything set here is
overwritten by the following reconfig.

diffstat:

 sys/arch/x86/x86/genfb_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 53d128789ae5 -r 259e4959aeab sys/arch/x86/x86/genfb_machdep.c
--- a/sys/arch/x86/x86/genfb_machdep.c  Sun May 19 04:09:22 2019 +0000
+++ b/sys/arch/x86/x86/genfb_machdep.c  Sun May 19 07:43:17 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfb_machdep.c,v 1.12 2017/02/25 01:13:50 nonaka Exp $ */
+/* $NetBSD: genfb_machdep.c,v 1.13 2019/05/19 07:43:17 mlelstv Exp $ */
 
 /*-
  * Copyright (c) 2009 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfb_machdep.c,v 1.12 2017/02/25 01:13:50 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb_machdep.c,v 1.13 2019/05/19 07:43:17 mlelstv Exp $");
 
 #include "opt_mtrr.h"
 
@@ -196,7 +196,7 @@
        } else
                ri->ri_bits = bits;
        ri->ri_flg = RI_CENTER | RI_FULLCLEAR | RI_CLEAR;
-       rasops_init(ri, ri->ri_width / 8, ri->ri_height / 8);
+       rasops_init(ri, ri->ri_height / 8, ri->ri_width / 8);
        ri->ri_caps = WSSCREEN_WSCOLORS;
        rasops_reconfig(ri, ri->ri_height / ri->ri_font->fontheight,
            ri->ri_width / ri->ri_font->fontwidth);



Home | Main Index | Thread Index | Old Index