Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm26/vidc Report a display type of WSDISPLAY_TYPE_...



details:   https://anonhg.NetBSD.org/src/rev/69fd72ce487f
branches:  trunk
changeset: 519380:69fd72ce487f
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Sun Dec 16 15:15:44 2001 +0000

description:
Report a display type of WSDISPLAY_TYPE_VIDC, since we'll probably share
interfaces with the VIDC20 drivers in acorn32 eventually.

diffstat:

 sys/arch/arm26/vidc/arcvideo.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 7574ffa9b927 -r 69fd72ce487f sys/arch/arm26/vidc/arcvideo.c
--- a/sys/arch/arm26/vidc/arcvideo.c    Sun Dec 16 15:11:19 2001 +0000
+++ b/sys/arch/arm26/vidc/arcvideo.c    Sun Dec 16 15:15:44 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arcvideo.c,v 1.17 2001/06/30 16:20:37 bjh21 Exp $ */
+/* $NetBSD: arcvideo.c,v 1.18 2001/12/16 15:15:44 bjh21 Exp $ */
 /*-
  * Copyright (c) 1998, 2000 Ben Harris
  * All rights reserved.
@@ -39,7 +39,7 @@
 
 #include <sys/param.h>
 
-__RCSID("$NetBSD: arcvideo.c,v 1.17 2001/06/30 16:20:37 bjh21 Exp $");
+__RCSID("$NetBSD: arcvideo.c,v 1.18 2001/12/16 15:15:44 bjh21 Exp $");
 
 #include <sys/device.h>
 #include <sys/errno.h>
@@ -49,7 +49,6 @@
 #include <uvm/uvm_extern.h>
 
 #include <dev/wscons/wsconsio.h>
-#define WSDISPLAY_TYPE_ARCHIMEDES 42 /* XXX Should be in wsconsio.h */
 #include <dev/wscons/wscons_raster.h>
 #include <dev/wscons/wsdisplayvar.h>
 #include <dev/rasops/rasops.h>
@@ -402,7 +401,7 @@
 
        switch (cmd) {
        case WSDISPLAYIO_GTYPE:
-               *(u_int *)data = WSDISPLAY_TYPE_ARCHIMEDES;
+               *(u_int *)data = WSDISPLAY_TYPE_VIDC;
                return 0;
        case WSDISPLAYIO_GVIDEO:
                if (sc->sc_flags & AV_VIDEO_ON)



Home | Main Index | Thread Index | Old Index