Module Name: src
Committed By: jmcneill
Date: Mon Nov 10 18:18:09 UTC 2014
Modified Files:
src/sys/arch/arm/allwinner: awin_hdmi.c
Log Message:
hide edid dump with AWIN_HDMI_DEBUG
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/allwinner/awin_hdmi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/allwinner/awin_hdmi.c
diff -u src/sys/arch/arm/allwinner/awin_hdmi.c:1.5 src/sys/arch/arm/allwinner/awin_hdmi.c:1.6
--- src/sys/arch/arm/allwinner/awin_hdmi.c:1.5 Mon Nov 10 17:55:25 2014
+++ src/sys/arch/arm/allwinner/awin_hdmi.c Mon Nov 10 18:18:09 2014
@@ -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 <[email protected]>
@@ -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_hdmi_i2c_exec(void *priv, i2c_op_t
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;