Subject: Re: Broken 1.5Q kernel sources
To: None <port-pmax@netbsd.org>
From: NetBSD list <netbsd@mrynet.com>
List: port-pmax
Date: 01/20/2001 03:41:00
Previously, I wrote:

> I had problems with a custom kernel displaying the console font
> backwards on a DS3100, so I've built a GENERIC kernel.  The problem
> still exists.  Is anyone else running a DS3100 with the latest (1.5Q)
> sources?  Is it displaying properly?

The problem has been resolved.  There is code in arch/pmax/dev/rcons.c
that has either been added or changed for the PMAG.  This code determines
the bit endianness of the font used on the console.

The code diff follows:

--- rcons.c.old Sat Jan 20 03:36:47 2001
+++ rcons.c     Sat Jan 20 03:37:38 2001
@@ -110,11 +110,11 @@
        case PMAX_FBTYPE_PM_MONO:
        case PMAX_FBTYPE_PM_COLOR:
                ri.ri_depth = info->fi_type.fb_depth;
                ri.ri_flg = RI_CLEAR;
                epwf = 1;
-               bior = WSDISPLAY_FONTORDER_R2L;
+               bior = WSDISPLAY_FONTORDER_L2R;
                break;
        default:
                ri.ri_depth = info->fi_type.fb_depth;
                ri.ri_flg = RI_CLEAR;
                epwf = (ri.ri_depth != 8);

I don't know why this was changed from L2R to R2L in the first place,
but it definately broke the DS3100 I have.  Could whomever effected
the change check into this?

Thanks,
-scott