V4L/DVB (13710): [Mantis] FIX: Use swfilter (188/204) accordingly
authorManu Abraham <abraham.manu@gmail.com>
Thu, 3 Dec 2009 08:38:33 +0000 (05:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:29 +0000 (11:55 -0200)
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/mantis/mantis_common.h
drivers/media/dvb/mantis/mantis_dma.c
drivers/media/dvb/mantis/mantis_vp1033.c
drivers/media/dvb/mantis/mantis_vp1034.c
drivers/media/dvb/mantis/mantis_vp2033.c
drivers/media/dvb/mantis/mantis_vp3030.c

index d39cbe0f24143899369fc9a33c7d25b3d8fa3114..197393e700f7a3d110a41642416a8ac777deac63 100644 (file)
 #define mmor(dat, addr)                mmwrite((dat) | 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 {
        char                    *model_name;
        char                    *dev_type;
+       u32                     ts_size;
 };
 
-
 struct mantis_pci {
        /*      PCI stuff               */
        u16                     vendor_id;
index 9e3aa5ec1645e89bcb55f099de0d02a0f1b83ce6..b8fd1c7cd29470622946480ecd546cf827d88da9 100644 (file)
@@ -154,8 +154,6 @@ err:
        return err;
 }
 
-
-
 static inline void mantis_risc_program(struct mantis_pci *mantis)
 {
        u32 buf_pos = 0;
index 07fcc45b7f67aac17e072b1e158dd606768a8cc0..daf02c12d299801cfd8313e9ba05441d24c23078 100644 (file)
@@ -87,6 +87,7 @@ struct stv0299_config lgtdqcs001f_config = {
 struct mantis_hwconfig vp1033_mantis_config = {
        .model_name             = MANTIS_MODEL_NAME,
        .dev_type               = MANTIS_DEV_TYPE,
+       .ts_size                = MANTIS_TS_204,
 };
 
 int lgtdqcs001f_tuner_set(struct dvb_frontend *fe,
index f6766d0793d7e786802d7e35c92a223f19f7e901..a2fe9d42d1e573c9332affebbc12af58736c2f79 100644 (file)
@@ -32,6 +32,7 @@ struct mb86a16_config vp1034_config = {
 struct mantis_hwconfig vp1034_mantis_config = {
        .model_name     = MANTIS_MODEL_NAME,
        .dev_type       = MANTIS_DEV_TYPE,
+       .ts_size        = MANTIS_TS_204,
 };
 
 int vp1034_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage)
index 853b558b928e8fb6864484193f1f35ee06ac64c6..15772fe5828033e86e9cfb0898b0d74b273ebee9 100644 (file)
@@ -27,6 +27,7 @@
 struct mantis_hwconfig vp2033_mantis_config = {
        .model_name     = MANTIS_MODEL_NAME,
        .dev_type       = MANTIS_DEV_TYPE,
+       .ts_size        = MANTIS_TS_188,
 };
 
 struct cu1216_config philips_cu1216_config = {
index 8043e5d9218d9525b5a6a141b2ff4382eef3ab88..cab092ce2306a104f595389865b0fd5b9a1403d2 100644 (file)
@@ -31,6 +31,7 @@ struct zl10353_config mantis_vp3030_config = {
 struct mantis_hwconfig vp3030_mantis_config = {
        .model_name     = MANTIS_MODEL_NAME,
        .dev_type       = MANTIS_DEV_TYPE,
+       .ts_size        = MANTIS_TS_188,
 };
 
 int panasonic_en57h12d5_set_params(struct dvb_frontend *fe,