summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/siano/sms-cards.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-05-19 15:18:40 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-05-19 15:18:40 +0000
commitacac54fbcb26b026019f2aed395b998538e3e485 (patch)
treeb901a5ffa93dbafdd55965f8d456eaaa34598bf1 /linux/drivers/media/dvb/siano/sms-cards.h
parent52057033c8278b7d00e054ea3ea6c5d8e55256a9 (diff)
downloadmediapointer-dvb-s2-acac54fbcb26b026019f2aed395b998538e3e485.tar.gz
mediapointer-dvb-s2-acac54fbcb26b026019f2aed395b998538e3e485.tar.bz2
Siano: smscards - add board (target) events
From: Uri Shkolnik <uris@siano-ms.com> Add events handling for targets. All board-specific (target specific) should reside here. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/siano/sms-cards.h')
-rw-r--r--linux/drivers/media/dvb/siano/sms-cards.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/siano/sms-cards.h b/linux/drivers/media/dvb/siano/sms-cards.h
index e183f946a..38f062f6a 100644
--- a/linux/drivers/media/dvb/siano/sms-cards.h
+++ b/linux/drivers/media/dvb/siano/sms-cards.h
@@ -85,6 +85,30 @@ struct sms_board *sms_get_board(int id);
extern struct smscore_device_t *coredev;
+enum SMS_BOARD_EVENTS {
+ BOARD_EVENT_POWER_INIT,
+ BOARD_EVENT_POWER_SUSPEND,
+ BOARD_EVENT_POWER_RESUME,
+ BOARD_EVENT_BIND,
+ BOARD_EVENT_SCAN_PROG,
+ BOARD_EVENT_SCAN_COMP,
+ BOARD_EVENT_EMERGENCY_WARNING_SIGNAL,
+ BOARD_EVENT_FE_LOCK,
+ BOARD_EVENT_FE_UNLOCK,
+ BOARD_EVENT_DEMOD_LOCK,
+ BOARD_EVENT_DEMOD_UNLOCK,
+ BOARD_EVENT_RECEPTION_MAX_4,
+ BOARD_EVENT_RECEPTION_3,
+ BOARD_EVENT_RECEPTION_2,
+ BOARD_EVENT_RECEPTION_1,
+ BOARD_EVENT_RECEPTION_LOST_0,
+ BOARD_EVENT_MULTIPLEX_OK,
+ BOARD_EVENT_MULTIPLEX_ERRORS
+};
+
+int sms_board_event(struct smscore_device_t *coredev,
+ enum SMS_BOARD_EVENTS gevent);
+
int sms_board_setup(struct smscore_device_t *coredev);
#define SMS_LED_OFF 0