diff options
author | Gerd Knorr <devnull@localhost> | 2005-03-04 09:34:28 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2005-03-04 09:34:28 +0000 |
commit | b0298e1a15ef6e0e1c24a7eab6a920dd983a77df (patch) | |
tree | 4f9392ab9a392e4fd03acf02b78c52095dd5970b /linux | |
parent | ce873026584b5541f01c33e1c1dc749b0499ae9c (diff) | |
download | mediapointer-dvb-s2-b0298e1a15ef6e0e1c24a7eab6a920dd983a77df.tar.gz mediapointer-dvb-s2-b0298e1a15ef6e0e1c24a7eab6a920dd983a77df.tar.bz2 |
- hopefully fix dvb ts setup.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-mpeg.c | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-mpeg.c b/linux/drivers/media/video/cx88/cx88-mpeg.c index 2f3d0e07a..613a6ccbe 100644 --- a/linux/drivers/media/video/cx88/cx88-mpeg.c +++ b/linux/drivers/media/video/cx88/cx88-mpeg.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-mpeg.c,v 1.22 2005/02/18 13:26:20 kraxel Exp $ + * $Id: cx88-mpeg.c,v 1.23 2005/03/04 09:34:28 kraxel Exp $ * * Support for the mpeg transport stream transfers * PCI function #2 of the cx2388x. @@ -69,14 +69,22 @@ static int cx8802_start_dma(struct cx8802_dev *dev, * also: move to cx88-blackbird + cx88-dvb source files? */ if (cx88_boards[core->board].dvb) { - /* negedge driven & software reset */ - cx_write(TS_GEN_CNTRL, 0x40); - udelay(100); - cx_write(MO_PINMUX_IO, 0x00); - cx_write(TS_HW_SOP_CNTRL,47<<16|188<<4|0x00); - cx_write(TS_SOP_STAT,0x00); - cx_write(TS_GEN_CNTRL, dev->ts_gen_cntrl); - udelay(100); + dprintk(1, "dvb: ts_gen_cntrl=0x%02x", dev->ts_gen_cntrl); + switch (core->board) { + case CX88_BOARD_PCHDTV_HD3000: + /* negedge driven & software reset */ + cx_write(TS_GEN_CNTRL, 0x40); + udelay(100); + cx_write(MO_PINMUX_IO, 0x00); + cx_write(TS_HW_SOP_CNTRL,47<<16|188<<4|0x00); + cx_write(TS_SOP_STAT,0x00); + cx_write(TS_GEN_CNTRL, dev->ts_gen_cntrl); + udelay(100); + break; + default: + cx_write(TS_GEN_CNTRL, dev->ts_gen_cntrl); + break; + } } if (cx88_boards[core->board].blackbird) { |