Source-Changes-HG archive

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

[src/netbsd-6]: src/sys/arch/vax/vsa Pull up following revision(s) (requested...



details:   https://anonhg.NetBSD.org/src/rev/fbc584853362
branches:  netbsd-6
changeset: 774179:fbc584853362
user:      riz <riz%NetBSD.org@localhost>
date:      Mon Jun 11 20:44:43 2012 +0000

description:
Pull up following revision(s) (requested by abs in ticket #299):
        sys/arch/vax/vsa/spx.c: revision 1.6
>From the "why was this not done before" box:
Implement WSDISPLAYIO_LINEBYTES so xwsfb works

diffstat:

 sys/arch/vax/vsa/spx.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 66f8ac549873 -r fbc584853362 sys/arch/vax/vsa/spx.c
--- a/sys/arch/vax/vsa/spx.c    Mon Jun 11 18:04:56 2012 +0000
+++ b/sys/arch/vax/vsa/spx.c    Mon Jun 11 20:44:43 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spx.c,v 1.5 2012/01/11 21:26:13 macallan Exp $ */
+/*     $NetBSD: spx.c,v 1.5.2.1 2012/06/11 20:44:43 riz Exp $ */
 /*
  * SPX/LCSPX/SPXg/SPXgt accelerated framebuffer driver for NetBSD/VAX
  * Copyright (c) 2005 Blaz Antonic
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spx.c,v 1.5 2012/01/11 21:26:13 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spx.c,v 1.5.2.1 2012/06/11 20:44:43 riz Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1023,6 +1023,10 @@
                WSDISPLAYIO_VIDEO_ON : WSDISPLAYIO_VIDEO_OFF;
                break;
 
+       case WSDISPLAYIO_LINEBYTES:
+               *(u_int *)data = spx_xsize;
+               break;
+
        default:
                return EPASSTHROUGH;
        }



Home | Main Index | Thread Index | Old Index