summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/dvb-usb/anysee.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2011-09-06 06:33:04 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-07 16:33:15 +0400
commit05cd37def5e697e158470d826cb75c5607c04bd1 (patch)
tree73e068946c2bea65be8756c80c31a698dca8865b /drivers/media/dvb/dvb-usb/anysee.h
parentbe94351e592cb71fb61aa8eeed7bf3f877dc6fff (diff)
downloadlinux-05cd37def5e697e158470d826cb75c5607c04bd1.tar.xz
[media] anysee: CI/CAM support
Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/anysee.h')
-rw-r--r--drivers/media/dvb/dvb-usb/anysee.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/anysee.h b/drivers/media/dvb/dvb-usb/anysee.h
index da323507b504..8ac879431540 100644
--- a/drivers/media/dvb/dvb-usb/anysee.h
+++ b/drivers/media/dvb/dvb-usb/anysee.h
@@ -36,6 +36,7 @@
#define DVB_USB_LOG_PREFIX "anysee"
#include "dvb-usb.h"
+#include "dvb_ca_en50221.h"
#define deb_info(args...) dprintk(dvb_usb_anysee_debug, 0x01, args)
#define deb_xfer(args...) dprintk(dvb_usb_anysee_debug, 0x02, args)
@@ -54,12 +55,16 @@ enum cmd {
CMD_GET_IR_CODE = 0x41,
CMD_GET_HW_INFO = 0x19,
CMD_SMARTCARD = 0x34,
+ CMD_CI = 0x37,
};
struct anysee_state {
u8 hw; /* PCB ID */
u8 seq;
u8 fe_id:1; /* frondend ID */
+ u8 has_ci:1;
+ struct dvb_ca_en50221 ci;
+ unsigned long ci_cam_ready; /* jiffies */
};
#define ANYSEE_HW_507T 2 /* E30 */