summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-10-13 12:09:52 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-13 12:09:52 -0200
commitc04e90e2d38493e6c092095cc2441365dd3973af (patch)
tree10f7dd48868de244e34380fc45ecac99601d9027 /linux/drivers/media/video/cx88
parent2cea09a7e6ff7e5202803e6a6c2279ed254d7dff (diff)
parenta0184c08027dba2f30a12bcd1ca1ca1da7fc7963 (diff)
downloadmediapointer-dvb-s2-c04e90e2d38493e6c092095cc2441365dd3973af.tar.gz
mediapointer-dvb-s2-c04e90e2d38493e6c092095cc2441365dd3973af.tar.bz2
merge: http://linuxtv.org/hg/~stoth/s2
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/cx88')
-rw-r--r--linux/drivers/media/video/cx88/cx88-cards.c27
-rw-r--r--linux/drivers/media/video/cx88/cx88-dvb.c9
-rw-r--r--linux/drivers/media/video/cx88/cx88.h1
3 files changed, 19 insertions, 18 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c
index 60513e48f..a351a2220 100644
--- a/linux/drivers/media/video/cx88/cx88-cards.c
+++ b/linux/drivers/media/video/cx88/cx88-cards.c
@@ -1855,6 +1855,18 @@ static const struct cx88_board cx88_boards[] = {
} },
.mpeg = CX88_MPEG_DVB,
},
+ [CX88_BOARD_PROF_7300] = {
+ .name = "PROF 7300 DVB-S/S2",
+ .tuner_type = UNSET,
+ .radio_type = UNSET,
+ .tuner_addr = ADDR_UNSET,
+ .radio_addr = ADDR_UNSET,
+ .input = {{
+ .type = CX88_VMUX_DVB,
+ .vmux = 0,
+ } },
+ .mpeg = CX88_MPEG_DVB,
+ },
};
/* ------------------------------------------------------------------ */
@@ -2244,6 +2256,10 @@ static const struct cx88_subid cx88_subids[] = {
.subvendor = 0x8920,
.subdevice = 0x8888,
.card = CX88_BOARD_TBS_8920,
+ }, {
+ .subvendor = 0xB033,
+ .subdevice = 0x3033,
+ .card = CX88_BOARD_PROF_7300,
},
};
@@ -2850,18 +2866,9 @@ static void cx88_card_setup(struct cx88_core *core)
}
case CX88_BOARD_TEVII_S420:
case CX88_BOARD_TEVII_S460:
- cx_write(MO_SRST_IO, 0);
- msleep(100);
- cx_write(MO_SRST_IO, 1);
- msleep(100);
- break;
case CX88_BOARD_OMICOM_SS4_PCI:
- cx_write(MO_SRST_IO, 0);
- msleep(100);
- cx_write(MO_SRST_IO, 1);
- msleep(100);
- break;
case CX88_BOARD_TBS_8920:
+ case CX88_BOARD_PROF_7300:
cx_write(MO_SRST_IO, 0);
msleep(100);
cx_write(MO_SRST_IO, 1);
diff --git a/linux/drivers/media/video/cx88/cx88-dvb.c b/linux/drivers/media/video/cx88/cx88-dvb.c
index da1ad2b6b..84f235ba0 100644
--- a/linux/drivers/media/video/cx88/cx88-dvb.c
+++ b/linux/drivers/media/video/cx88/cx88-dvb.c
@@ -985,15 +985,8 @@ static int dvb_register(struct cx8802_dev *dev)
}
break;
case CX88_BOARD_OMICOM_SS4_PCI:
- dev->dvb.frontend = dvb_attach(cx24116_attach,
- &hauppauge_hvr4000_config,
- &core->i2c_adap);
- if (dev->dvb.frontend != NULL) {
- core->prev_set_voltage = dev->dvb.frontend->ops.set_voltage;
- dev->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage;
- }
- break;
case CX88_BOARD_TBS_8920:
+ case CX88_BOARD_PROF_7300:
dev->dvb.frontend = dvb_attach(cx24116_attach,
&hauppauge_hvr4000_config,
&core->i2c_adap);
diff --git a/linux/drivers/media/video/cx88/cx88.h b/linux/drivers/media/video/cx88/cx88.h
index e42ce0016..778e1f707 100644
--- a/linux/drivers/media/video/cx88/cx88.h
+++ b/linux/drivers/media/video/cx88/cx88.h
@@ -229,6 +229,7 @@ extern struct sram_channel cx88_sram_channels[];
#define CX88_BOARD_TBS_8920 72
#define CX88_BOARD_TEVII_S420 73
#define CX88_BOARD_PROLINK_PV_GLOBAL_XTREME 74
+#define CX88_BOARD_PROF_7300 75
enum cx88_itype {
CX88_VMUX_COMPOSITE1 = 1,