diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2009-12-04 05:06:00 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-01-17 11:55:33 -0200 |
commit | 8ce571f5e7eb7186f676af3b60af7980c2fc7929 (patch) | |
tree | ac5be0858f6690b9b60c7dd7158b28b9cc207a26 /drivers/media/dvb/mantis/mantis_link.h | |
parent | fadfa070d30434dd228362c933827eb6ce137f2d (diff) | |
download | linux-8ce571f5e7eb7186f676af3b60af7980c2fc7929.tar.bz2 |
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.h | 8 |
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 2d9b64f6937a..c6b32229edde 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; }; |