diff options
author | Oliver Endriss <o.endriss@gmx.de> | 2007-04-22 00:37:17 +0200 |
---|---|---|
committer | Oliver Endriss <o.endriss@gmx.de> | 2007-04-22 00:37:17 +0200 |
commit | 97ddc90689371413e55f34ae57c56fd7a3c8d62d (patch) | |
tree | 45623180c8a50c9aea41a599b9ad08f53b6d307b /linux/drivers/media/dvb/ttpci/budget-core.c | |
parent | 8b01f07ad9972aa5fe69c56cb048f44e4a5f3c87 (diff) | |
download | mediapointer-dvb-s2-97ddc90689371413e55f34ae57c56fd7a3c8d62d.tar.gz mediapointer-dvb-s2-97ddc90689371413e55f34ae57c56fd7a3c8d62d.tar.bz2 |
tda10023: Add support for frontend TDA10023
From: Hartmut Birr <e9hack@googlemail.com>
Add support for the frontend TDA10023 and add cards that need the
tda10023.
Signed-off-by: Hartmut Birr <e9hack@googlemail.com>
Signed-off-by: Georg Acher <acher@in.tum.de>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/budget-core.c')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/budget-core.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-core.c b/linux/drivers/media/dvb/ttpci/budget-core.c index cef9d8d8a..6b97dc1e6 100644 --- a/linux/drivers/media/dvb/ttpci/budget-core.c +++ b/linux/drivers/media/dvb/ttpci/budget-core.c @@ -109,6 +109,19 @@ static int start_ts_capture(struct budget *budget) saa7146_write(dev, MC2, (MASK_10 | MASK_26)); saa7146_write(dev, BRS_CTRL, 0x60000000); break; + case BUDGET_CIN1200C_MK3: + case BUDGET_KNC1C_MK3: + case BUDGET_KNC1CP_MK3: + if (budget->video_port == BUDGET_VIDEO_PORTA) { + saa7146_write(dev, DD1_INIT, 0x06000200); + saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); + saa7146_write(dev, BRS_CTRL, 0x00000000); + } else { + saa7146_write(dev, DD1_INIT, 0x00000600); + saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); + saa7146_write(dev, BRS_CTRL, 0x60000000); + } + break; default: if (budget->video_port == BUDGET_VIDEO_PORTA) { saa7146_write(dev, DD1_INIT, 0x06000200); @@ -418,6 +431,9 @@ int ttpci_budget_init(struct budget *budget, struct saa7146_dev *dev, case BUDGET_KNC1C: case BUDGET_KNC1CP: case BUDGET_CIN1200C: + case BUDGET_KNC1C_MK3: + case BUDGET_KNC1CP_MK3: + case BUDGET_CIN1200C_MK3: budget->buffer_width = TS_WIDTH_DVBC; max_bufsize = TS_MAX_BUFSIZE_K_DVBC; height_mask = TS_HEIGHT_MASK_DVBC; |