summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/siano/smscoreapi.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-06-13 20:43:26 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-06-13 20:43:26 -0400
commite8885cf665a7e8976f2fe47997becf1321d0bb23 (patch)
treeff1fa2f6f1b0986fafb5485a953836708eed6f6c /linux/drivers/media/dvb/siano/smscoreapi.h
parent6d140732833c2c9db484133f00c798d63fedc243 (diff)
downloadmediapointer-dvb-s2-e8885cf665a7e8976f2fe47997becf1321d0bb23.tar.gz
mediapointer-dvb-s2-e8885cf665a7e8976f2fe47997becf1321d0bb23.tar.bz2
sms1xxx: update latest siano drop to 1.2.17
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/siano/smscoreapi.h')
-rw-r--r--linux/drivers/media/dvb/siano/smscoreapi.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/siano/smscoreapi.h b/linux/drivers/media/dvb/siano/smscoreapi.h
index 3a7d21a03..0add43b02 100644
--- a/linux/drivers/media/dvb/siano/smscoreapi.h
+++ b/linux/drivers/media/dvb/siano/smscoreapi.h
@@ -71,6 +71,14 @@ void *kzalloc(size_t size, int flags);
#define SMS_ROM_NO_RESPONSE 2
#define SMS_DEVICE_NOT_READY 0x8000000
+typedef enum {
+ SMS_STELLAR= 0,
+ SMS_NOVA_A0,
+ SMS_NOVA_B0,
+ SMS_VEGA,
+ SMS_NUM_OF_DEVICE_TYPES
+} sms_device_type_st;
+
typedef struct _smscore_device smscore_device_t;
typedef struct _smscore_client smscore_client_t;
typedef struct _smscore_buffer smscore_buffer_t;
@@ -117,6 +125,7 @@ typedef struct _smsdevice_params
postload_t postload_handler;
void *context;
+ sms_device_type_st device_type;
} smsdevice_params_t;
typedef struct _smsclient_params
@@ -521,6 +530,8 @@ extern int smscore_start_device(smscore_device_t *coredev);
extern int smscore_load_firmware(smscore_device_t *coredev, char *filename,
loadfirmware_t loadfirmware_handler);
+extern int smscore_load_firmware_from_buffer(smscore_device_t *coredev, u8* buffer, int size, int new_mode);
+
extern int smscore_set_device_mode(smscore_device_t *coredev, int mode);
extern int smscore_get_device_mode(smscore_device_t *coredev);