diff options
author | Hartmut Hackmann <devnull@localhost> | 2005-06-13 21:44:31 +0000 |
---|---|---|
committer | Hartmut Hackmann <devnull@localhost> | 2005-06-13 21:44:31 +0000 |
commit | 6bc1b5ab32ba7d7eb16e5581280ad1587a4d125c (patch) | |
tree | c16b2324d272506ee8b73b5a05020f8c30de8ad8 /linux/drivers/media/video/saa7134/saa7134-oss.c | |
parent | f8e317a174cb5fb82980715e1b8b8b831f435cb5 (diff) | |
download | mediapointer-dvb-s2-6bc1b5ab32ba7d7eb16e5581280ad1587a4d125c.tar.gz mediapointer-dvb-s2-6bc1b5ab32ba7d7eb16e5581280ad1587a4d125c.tar.bz2 |
- added preliminary support for tda827x tuners
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-oss.c')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-oss.c | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-oss.c b/linux/drivers/media/video/saa7134/saa7134-oss.c index cb51d2e66..21b465aa7 100644 --- a/linux/drivers/media/video/saa7134/saa7134-oss.c +++ b/linux/drivers/media/video/saa7134/saa7134-oss.c @@ -1,5 +1,5 @@ /* - * $Id: saa7134-oss.c,v 1.14 2005/05/18 22:45:16 hhackmann Exp $ + * $Id: saa7134-oss.c,v 1.15 2005/06/13 21:44:42 hhackmann Exp $ * * device driver for philips saa7134 based TV cards * oss dsp interface @@ -556,21 +556,28 @@ mixer_recsrc_7134(struct saa7134_dev *dev) static int mixer_recsrc_7133(struct saa7134_dev *dev) { - u32 value = 0xbbbbbb; + u32 anabar, xbarin; + xbarin = 0x03; // adc + anabar = 0; switch (dev->oss.input) { case TV: - value = 0xbbbb10; /* MAIN */ + xbarin = 0; // Demodulator + anabar = 2; // DACs break; case LINE1: - value = 0xbbbb32; /* AUX1 */ + anabar = 0; // aux1, aux1 break; case LINE2: case LINE2_LEFT: - value = 0xbbbb54; /* AUX2 */ + anabar = 9; // aux2, aux2 break; } - saa_dsp_writel(dev, 0x46c >> 2, value); + /* output xbar always main channel */ + saa_dsp_writel(dev, 0x46c >> 2, 0xbbbb10); + saa_dsp_writel(dev, 0x464 >> 2, xbarin); + saa_writel(0x594 >> 2, anabar); + return 0; } |