summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/b2c2/flexcop.h
diff options
context:
space:
mode:
authorPatrick Boettcher <devnull@localhost>2005-03-09 12:36:49 +0000
committerPatrick Boettcher <devnull@localhost>2005-03-09 12:36:49 +0000
commit8a64b813388b3ceab573104d53d848274b75138a (patch)
tree8a28df764fb7c2fc05b4cc07a9a97543bc3f24b2 /linux/drivers/media/dvb/b2c2/flexcop.h
parente73ff4b3aa10d5aa507600a3545885d752c0c163 (diff)
downloadmediapointer-dvb-s2-8a64b813388b3ceab573104d53d848274b75138a.tar.gz
mediapointer-dvb-s2-8a64b813388b3ceab573104d53d848274b75138a.tar.bz2
- moved the flexcop-driver-suite to linux/drivers
- adapted build-2.6 (removed skystar2 from insmod.sh) - corrected some bugs in Kconfig - tried compilation with linux 2.6.11 (as module and as compiled-in-driver)
Diffstat (limited to 'linux/drivers/media/dvb/b2c2/flexcop.h')
-rw-r--r--linux/drivers/media/dvb/b2c2/flexcop.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/b2c2/flexcop.h b/linux/drivers/media/dvb/b2c2/flexcop.h
new file mode 100644
index 000000000..9690c6d31
--- /dev/null
+++ b/linux/drivers/media/dvb/b2c2/flexcop.h
@@ -0,0 +1,30 @@
+/*
+ * This file is part of linux driver the digital TV devices equipped with B2C2 FlexcopII(b)/III
+ *
+ * flexcop.h - private header file for all flexcop-chip-source files.
+ *
+ * see flexcop.c for copyright information.
+ */
+#ifndef __FLEXCOP_H__
+#define __FLEXCOP_H___
+
+#define FC_LOG_PREFIX "b2c2-flexcop"
+#include "flexcop-common.h"
+
+extern int b2c2_flexcop_debug;
+
+/* debug */
+#ifdef CONFIG_DVB_B2C2_FLEXCOP_DEBUG
+#define dprintk(level,args...) \
+ do { if ((b2c2_flexcop_debug & level)) printk(args); } while (0)
+#else
+#define dprintk(level,args...)
+#endif
+
+#define deb_info(args...) dprintk(0x01,args)
+#define deb_tuner(args...) dprintk(0x02,args)
+#define deb_i2c(args...) dprintk(0x04,args)
+#define deb_ts(args...) dprintk(0x08,args)
+#define deb_sram(args...) dprintk(0x10,args)
+
+#endif