summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/mantis/mantis_link.h
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-04 05:06:00 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 11:55:33 -0200
commit8ce571f5e7eb7186f676af3b60af7980c2fc7929 (patch)
treeac5be0858f6690b9b60c7dd7158b28b9cc207a26 /drivers/media/dvb/mantis/mantis_link.h
parentfadfa070d30434dd228362c933827eb6ce137f2d (diff)
downloadop-kernel-dev-8ce571f5e7eb7186f676af3b60af7980c2fc7929.zip
op-kernel-dev-8ce571f5e7eb7186f676af3b60af7980c2fc7929.tar.gz
V4L/DVB (13736): [Mantis] Implement CAM Plug IN and Unplug events
Sigh! how i wish things were simpler ... Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis/mantis_link.h')
-rw-r--r--drivers/media/dvb/mantis/mantis_link.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/dvb/mantis/mantis_link.h b/drivers/media/dvb/mantis/mantis_link.h
index 2d9b64f..c6b3222 100644
--- a/drivers/media/dvb/mantis/mantis_link.h
+++ b/drivers/media/dvb/mantis/mantis_link.h
@@ -31,6 +31,12 @@ struct mantis_slot {
u32 timeout;
};
+/* Physical layer */
+enum mantis_slot_state {
+ MODULE_INSERTED = 3,
+ MODULE_XTRACTED = 4
+};
+
struct mantis_ca {
struct mantis_slot slot;
@@ -44,6 +50,8 @@ struct mantis_ca {
enum mantis_sbuf_status sbuf_status;
+ enum mantis_slot_state slot_state;
+
struct dvb_device *ca_dev;
void *ca_priv;
};
OpenPOWER on IntegriCloud