Commit 01a8c3ee authored by Manu Abraham's avatar Manu Abraham Committed by Mauro Carvalho Chehab

V4L/DVB (13710): [Mantis] FIX: Use swfilter (188/204) accordingly

Signed-off-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 715d341c
...@@ -64,13 +64,15 @@ ...@@ -64,13 +64,15 @@
#define mmor(dat, addr) mmwrite((dat) | mmread(addr), addr) #define mmor(dat, addr) mmwrite((dat) | mmread(addr), addr)
#define mmaor(dat, addr) mmwrite((dat) | ((mask) & mmread(addr)), addr) #define mmaor(dat, addr) mmwrite((dat) | ((mask) & mmread(addr)), addr)
#define MANTIS_TS_188 0
#define MANTIS_TS_204 1
struct mantis_hwconfig { struct mantis_hwconfig {
char *model_name; char *model_name;
char *dev_type; char *dev_type;
u32 ts_size;
}; };
struct mantis_pci { struct mantis_pci {
/* PCI stuff */ /* PCI stuff */
u16 vendor_id; u16 vendor_id;
......
...@@ -154,8 +154,6 @@ int mantis_dma_init(struct mantis_pci *mantis) ...@@ -154,8 +154,6 @@ int mantis_dma_init(struct mantis_pci *mantis)
return err; return err;
} }
static inline void mantis_risc_program(struct mantis_pci *mantis) static inline void mantis_risc_program(struct mantis_pci *mantis)
{ {
u32 buf_pos = 0; u32 buf_pos = 0;
......
...@@ -87,6 +87,7 @@ struct stv0299_config lgtdqcs001f_config = { ...@@ -87,6 +87,7 @@ struct stv0299_config lgtdqcs001f_config = {
struct mantis_hwconfig vp1033_mantis_config = { struct mantis_hwconfig vp1033_mantis_config = {
.model_name = MANTIS_MODEL_NAME, .model_name = MANTIS_MODEL_NAME,
.dev_type = MANTIS_DEV_TYPE, .dev_type = MANTIS_DEV_TYPE,
.ts_size = MANTIS_TS_204,
}; };
int lgtdqcs001f_tuner_set(struct dvb_frontend *fe, int lgtdqcs001f_tuner_set(struct dvb_frontend *fe,
......
...@@ -32,6 +32,7 @@ struct mb86a16_config vp1034_config = { ...@@ -32,6 +32,7 @@ struct mb86a16_config vp1034_config = {
struct mantis_hwconfig vp1034_mantis_config = { struct mantis_hwconfig vp1034_mantis_config = {
.model_name = MANTIS_MODEL_NAME, .model_name = MANTIS_MODEL_NAME,
.dev_type = MANTIS_DEV_TYPE, .dev_type = MANTIS_DEV_TYPE,
.ts_size = MANTIS_TS_204,
}; };
int vp1034_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage) int vp1034_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage)
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
struct mantis_hwconfig vp2033_mantis_config = { struct mantis_hwconfig vp2033_mantis_config = {
.model_name = MANTIS_MODEL_NAME, .model_name = MANTIS_MODEL_NAME,
.dev_type = MANTIS_DEV_TYPE, .dev_type = MANTIS_DEV_TYPE,
.ts_size = MANTIS_TS_188,
}; };
struct cu1216_config philips_cu1216_config = { struct cu1216_config philips_cu1216_config = {
......
...@@ -31,6 +31,7 @@ struct zl10353_config mantis_vp3030_config = { ...@@ -31,6 +31,7 @@ struct zl10353_config mantis_vp3030_config = {
struct mantis_hwconfig vp3030_mantis_config = { struct mantis_hwconfig vp3030_mantis_config = {
.model_name = MANTIS_MODEL_NAME, .model_name = MANTIS_MODEL_NAME,
.dev_type = MANTIS_DEV_TYPE, .dev_type = MANTIS_DEV_TYPE,
.ts_size = MANTIS_TS_188,
}; };
int panasonic_en57h12d5_set_params(struct dvb_frontend *fe, int panasonic_en57h12d5_set_params(struct dvb_frontend *fe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment