Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax From the "why was this not done before" box:
details: https://anonhg.NetBSD.org/src/rev/e12723b4132e
branches: trunk
changeset: 779260:e12723b4132e
user: abs <abs%NetBSD.org@localhost>
date: Mon May 14 08:44:13 2012 +0000
description:
>From the "why was this not done before" box:
Implement WSDISPLAYIO_LINEBYTES so xwsfb works
diffstat:
sys/arch/vax/boot/boot/Makefile | 5 ++++-
sys/arch/vax/vsa/spx.c | 8 ++++++--
2 files changed, 10 insertions(+), 3 deletions(-)
diffs (46 lines):
diff -r bd826574c58f -r e12723b4132e sys/arch/vax/boot/boot/Makefile
--- a/sys/arch/vax/boot/boot/Makefile Mon May 14 08:42:03 2012 +0000
+++ b/sys/arch/vax/boot/boot/Makefile Mon May 14 08:44:13 2012 +0000
@@ -1,9 +1,12 @@
-# $NetBSD: Makefile,v 1.38 2011/01/22 19:19:24 joerg Exp $
+# $NetBSD: Makefile,v 1.39 2012/05/14 08:44:13 abs Exp $
S= ${.CURDIR}/../../../..
.include <bsd.own.mk>
+COPTS.boot.c = -O2 -fno-reorder-blocks
+COPTS.devopen.c = -O2 -fno-reorder-blocks
+
PROG= boot
DEVS= hp.c ctu.c ra.c mfm.c if_qe.c if_le.c if_ze.c if_de.c if_ni.c
SRCS= srt0.S boot.c devopen.c conf.c autoconf.c netio.c rom.c romread.S \
diff -r bd826574c58f -r e12723b4132e sys/arch/vax/vsa/spx.c
--- a/sys/arch/vax/vsa/spx.c Mon May 14 08:42:03 2012 +0000
+++ b/sys/arch/vax/vsa/spx.c Mon May 14 08:44:13 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.6 2012/05/14 08:44:13 abs 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.6 2012/05/14 08:44:13 abs 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