Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/wscons add WSDISPLAY_TYPE_VC4 and WSDISPLAYIO_BUS_SOC



details:   https://anonhg.NetBSD.org/src/rev/d479d916dd50
branches:  trunk
changeset: 783793:d479d916dd50
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Jan 08 23:49:56 2013 +0000

description:
add WSDISPLAY_TYPE_VC4 and WSDISPLAYIO_BUS_SOC

diffstat:

 sys/dev/wscons/wsconsio.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 3f1bdfba9a20 -r d479d916dd50 sys/dev/wscons/wsconsio.h
--- a/sys/dev/wscons/wsconsio.h Tue Jan 08 21:58:40 2013 +0000
+++ b/sys/dev/wscons/wsconsio.h Tue Jan 08 23:49:56 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsconsio.h,v 1.104 2012/04/17 10:19:57 bsh Exp $ */
+/* $NetBSD: wsconsio.h,v 1.105 2013/01/08 23:49:56 jmcneill Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -329,6 +329,7 @@
 #define WSDISPLAY_TYPE_VNC     53      /* Usermode vnc framebuffer */
 #define WSDISPLAY_TYPE_VALKYRIE        54      /* Apple onboard video 'valkyrie' */
 #define WSDISPLAY_TYPE_IMXIPU  55      /* i.MX ipu */
+#define WSDISPLAY_TYPE_VC4     56      /* Broadcom VideoCore 4 */
 
 /* Basic display information.  Not applicable to all display types. */
 struct wsdisplay_fbinfo {
@@ -555,6 +556,7 @@
     u_int bus_type;
 #define WSDISPLAYIO_BUS_PCI    0
 #define WSDISPLAYIO_BUS_SBUS   1
+#define WSDISPLAYIO_BUS_SOC    2
     union bus_data {
         struct bus_pci {
             uint32_t domain;



Home | Main Index | Thread Index | Old Index