summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-06-05 13:22:38 +0000
committerMichael Hunold <devnull@localhost>2003-06-05 13:22:38 +0000
commit9c8a6de09c5ed678b9fe9c2a9271e55dbd0b787e (patch)
tree61e9ed2f9bf23c4d2e2d6c70468137ca676dddb5 /linux/drivers/media/dvb
parentc6da65df6a8380382f240d6c087db140cb14b054 (diff)
downloadmediapointer-dvb-s2-9c8a6de09c5ed678b9fe9c2a9271e55dbd0b787e.tar.gz
mediapointer-dvb-s2-9c8a6de09c5ed678b9fe9c2a9271e55dbd0b787e.tar.bz2
Some more stuff regarding the dvb-c analog module:
the picture is looking good now, although it seems that the fields are still swapped. strange...
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c
index 37f799543..01d5cd25b 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.c
+++ b/linux/drivers/media/dvb/ttpci/av7110.c
@@ -4448,7 +4448,7 @@ int av7110_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *p
/* set dd1 stream a & b */
saa7146_write(dev, DD1_STREAM_B, 0x00000000);
- saa7146_write(dev, DD1_INIT, 0x02000000);
+ saa7146_write(dev, DD1_INIT, 0x0200000);
saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26));
/* upload all */
@@ -4573,6 +4573,14 @@ int av7110_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *p
i2c_writereg(av7110, 0x48, 0x1a, 0x00); i2c_writereg(av7110, 0x48, 0x1b, 0x00); i2c_writereg(av7110, 0x48, 0x1c, 0x00);
i2c_writereg(av7110, 0x48, 0x1d, 0x00); i2c_writereg(av7110, 0x48, 0x1e, 0x00);
}
+
+ memcpy(standard,dvb_standard,sizeof(struct saa7146_standard)*2);
+ /* set dd1 stream a & b */
+ saa7146_write(dev, DD1_STREAM_B, 0x00000000);
+ saa7146_write(dev, DD1_INIT, 0x0200700);
+ saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26));
+
+
} else if (dev->pci->subsystem_vendor == 0x110a) {
printk("av7110(%d): DVB-C w/o analog module detected\n",
av7110->dvb_adapter->num);
@@ -4682,12 +4690,12 @@ struct saa7146_standard standard[] = {
};
static struct saa7146_standard analog_standard[] = {
- { "PAL", V4L2_STD_PAL, 0x17, 288, 576, 0x4b, 708, 709, 576, 768 },
+ { "PAL", V4L2_STD_PAL, 0x18, 288, 576, 0x08, 708, 709, 576, 768 },
{ "NTSC", V4L2_STD_NTSC, 0x10, 244, 480, 0x40, 708, 709, 480, 640 },
};
static struct saa7146_standard dvb_standard[] = {
- { "PAL", V4L2_STD_PAL, 0x15, 288, 576, 0x4a, 708, 709, 576, 768 },
+ { "PAL", V4L2_STD_PAL, 0x14, 288, 576, 0x4a, 708, 709, 576, 768 },
{ "NTSC", V4L2_STD_NTSC, 0x10, 244, 480, 0x40, 708, 709, 480, 640 },
};