Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys add WSDISPLAY_TYPE_XVR1000
details: https://anonhg.NetBSD.org/src/rev/5dd0853ef405
branches: trunk
changeset: 750428:5dd0853ef405
user: macallan <macallan%NetBSD.org@localhost>
date: Thu Dec 31 05:08:05 2009 +0000
description:
add WSDISPLAY_TYPE_XVR1000
diffstat:
sys/arch/sparc64/dev/gfb.c | 6 +++---
sys/dev/wscons/wsconsio.h | 3 ++-
2 files changed, 5 insertions(+), 4 deletions(-)
diffs (44 lines):
diff -r 147abbcb0ede -r 5dd0853ef405 sys/arch/sparc64/dev/gfb.c
--- a/sys/arch/sparc64/dev/gfb.c Thu Dec 31 02:36:14 2009 +0000
+++ b/sys/arch/sparc64/dev/gfb.c Thu Dec 31 05:08:05 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gfb.c,v 1.1 2009/12/29 06:55:55 macallan Exp $ */
+/* $NetBSD: gfb.c,v 1.2 2009/12/31 05:08:05 macallan Exp $ */
/*
* Copyright (c) 2009 Michael Lorenz
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gfb.c,v 1.1 2009/12/29 06:55:55 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gfb.c,v 1.2 2009/12/31 05:08:05 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -244,7 +244,7 @@
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = WSDISPLAY_TYPE_PCIMISC;
+ *(u_int *)data = WSDISPLAY_TYPE_XVR1000;
return 0;
case WSDISPLAYIO_GINFO:
diff -r 147abbcb0ede -r 5dd0853ef405 sys/dev/wscons/wsconsio.h
--- a/sys/dev/wscons/wsconsio.h Thu Dec 31 02:36:14 2009 +0000
+++ b/sys/dev/wscons/wsconsio.h Thu Dec 31 05:08:05 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsconsio.h,v 1.91 2009/11/15 17:42:24 tsutsui Exp $ */
+/* $NetBSD: wsconsio.h,v 1.92 2009/12/31 05:08:05 macallan Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@@ -321,6 +321,7 @@
#define WSDISPLAY_TYPE_PXALCD 47 /* PXA2x0 LCD controller */
#define WSDISPLAY_TYPE_AG10 48 /* Fujitsu AG-10e */
#define WSDISPLAY_TYPE_DL 49 /* DisplayLink DL-1x0/DL-1x5 */
+#define WSDISPLAY_TYPE_XVR1000 50 /* Sun XVR-1000 */
/* Basic display information. Not applicable to all display types. */
struct wsdisplay_fbinfo {
Home |
Main Index |
Thread Index |
Old Index