Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/allwinner hide edid dump with AWIN_HDMI_DEBUG
details: https://anonhg.NetBSD.org/src/rev/fe40977a7f17
branches: trunk
changeset: 333600:fe40977a7f17
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Mon Nov 10 18:18:09 2014 +0000
description:
hide edid dump with AWIN_HDMI_DEBUG
diffstat:
sys/arch/arm/allwinner/awin_hdmi.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 6860e532c219 -r fe40977a7f17 sys/arch/arm/allwinner/awin_hdmi.c
--- a/sys/arch/arm/allwinner/awin_hdmi.c Mon Nov 10 17:56:58 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_hdmi.c Mon Nov 10 18:18:09 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_hdmi.c,v 1.5 2014/11/10 17:55:25 jmcneill Exp $ */
+/* $NetBSD: awin_hdmi.c,v 1.6 2014/11/10 18:18:09 jmcneill Exp $ */
/*-
* Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -33,7 +33,7 @@
#define AWIN_HDMI_PLL 3 /* PLL7 or PLL3 */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_hdmi.c,v 1.5 2014/11/10 17:55:25 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_hdmi.c,v 1.6 2014/11/10 18:18:09 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -271,10 +271,12 @@
AWIN_A31_HDMI_DDC_FIFO_ACCESS_REG, pbuf, blklen);
}
+#ifdef AWIN_HDMI_DEBUG
printf("off=%d:", (int)off);
for (int i = 0; i < blklen; i++)
printf(" %02x", pbuf[i]);
printf("\n");
+#endif
pbuf += blklen;
off += blklen;
Home |
Main Index |
Thread Index |
Old Index