summaryrefslogtreecommitdiff
path: root/v4l_experimental/pvrusb2/pvrusb2-debugifc.c
diff options
context:
space:
mode:
authorMike Isely <devnull@localhost>2006-01-01 08:26:03 +0000
committerMike Isely <devnull@localhost>2006-01-01 08:26:03 +0000
commite3a72190b72cc2085c7e8f1c3f1bc049ebd761e6 (patch)
treeb8ebbeffe2beff770a0767454c9ad6171ad874a2 /v4l_experimental/pvrusb2/pvrusb2-debugifc.c
parentde2be4defb51648c65f0ce94637f52bb0db8d1f6 (diff)
downloadmediapointer-dvb-s2-e3a72190b72cc2085c7e8f1c3f1bc049ebd761e6.tar.gz
mediapointer-dvb-s2-e3a72190b72cc2085c7e8f1c3f1bc049ebd761e6.tar.bz2
New I2C client handling implementation for pvrusb2 driver
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'v4l_experimental/pvrusb2/pvrusb2-debugifc.c')
-rw-r--r--v4l_experimental/pvrusb2/pvrusb2-debugifc.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/v4l_experimental/pvrusb2/pvrusb2-debugifc.c b/v4l_experimental/pvrusb2/pvrusb2-debugifc.c
index a29bafb85..f56b96f56 100644
--- a/v4l_experimental/pvrusb2/pvrusb2-debugifc.c
+++ b/v4l_experimental/pvrusb2/pvrusb2-debugifc.c
@@ -1,6 +1,6 @@
/*
*
- * $Id: pvrusb2-debugifc.c,v 1.1 2005/11/14 13:31:24 mchehab Exp $
+ * $Id: pvrusb2-debugifc.c,v 1.2 2006/01/01 08:26:03 mcisely Exp $
*
* Copyright (C) 2005 Mike Isely <isely@pobox.com>
*
@@ -24,6 +24,7 @@
#include "pvrusb2-debugifc.h"
#include "pvrusb2-hdw.h"
#include "pvrusb2-debug.h"
+#include "pvrusb2-i2c-core.h"
struct debugifc_mask_item {
const char *name;
@@ -32,16 +33,6 @@ struct debugifc_mask_item {
static struct debugifc_mask_item mask_items[] = {
{"ENC_FIRMWARE",PVR2_SUBSYS_ENC_FIRMWARE},
- {"TUN_STD",PVR2_SUBSYS_TUNER_CFG_STD},
- {"TUN_FREQ",PVR2_SUBSYS_TUNER_CFG_FREQ},
- {"AUD_VBBTM",PVR2_SUBSYS_AUDIO_CFG_VBBTM},
- {"AUD_STD",PVR2_SUBSYS_AUDIO_CFG_STD},
- {"AUD_MODE",PVR2_SUBSYS_AUDIO_CFG_MODE},
- {"DIG_NORM",PVR2_SUBSYS_DIGITIZER_CFG_NORM},
- {"DIG_INPUT",PVR2_SUBSYS_DIGITIZER_CFG_INPUT},
- {"DIG_SIZE",PVR2_SUBSYS_DIGITIZER_CFG_SIZE},
- {"DIG_AUDIO",PVR2_SUBSYS_DIGITIZER_CFG_AUDIO},
- {"DIG_BCSH",PVR2_SUBSYS_DIGITIZER_CFG_BCSH},
{"ENC_CFG",PVR2_SUBSYS_ENC_CFG},
{"DIG_RUN",PVR2_SUBSYS_DIGITIZER_RUN},
{"USB_RUN",PVR2_SUBSYS_USBSTREAM_RUN},
@@ -285,6 +276,11 @@ int pvr2_debugifc_print_info(struct pvr2_hdw *hdw,char *buf,unsigned int acnt)
ccnt = scnprintf(buf,acnt,"\n");
bcnt += ccnt; acnt -= ccnt; buf += ccnt;
+ ccnt = scnprintf(buf,acnt,"Attached I2C modules:\n");
+ bcnt += ccnt; acnt -= ccnt; buf += ccnt;
+ ccnt = pvr2_i2c_report(hdw,buf,acnt);
+ bcnt += ccnt; acnt -= ccnt; buf += ccnt;
+
return bcnt;
}