diff options
author | Gerd Knorr <devnull@localhost> | 2004-11-04 11:03:52 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-11-04 11:03:52 +0000 |
commit | 447393198c39cfb86bd0d9cd8034cc2aa416268c (patch) | |
tree | ff6128f5fbcb6143bd162afb478e903b1a462740 /linux/drivers/media/video/saa7134/saa7134-cards.c | |
parent | 90aab86384fc8157af3d1fc7fc3082ed39173f57 (diff) | |
download | mediapointer-dvb-s2-447393198c39cfb86bd0d9cd8034cc2aa416268c.tar.gz mediapointer-dvb-s2-447393198c39cfb86bd0d9cd8034cc2aa416268c.tar.bz2 |
- saa7134: added cinergy mobile (thanks to Hans Koch), tuner not
working yet through ...
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-cards.c')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-cards.c | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-cards.c b/linux/drivers/media/video/saa7134/saa7134-cards.c index da0cfb590..7290810eb 100644 --- a/linux/drivers/media/video/saa7134/saa7134-cards.c +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c @@ -1,5 +1,5 @@ /* - * $Id: saa7134-cards.c,v 1.32 2004/11/03 09:04:51 kraxel Exp $ + * $Id: saa7134-cards.c,v 1.33 2004/11/04 11:03:52 kraxel Exp $ * * device driver for philips saa7134 based TV cards * card-specific stuff. @@ -1261,6 +1261,24 @@ struct saa7134_board saa7134_boards[] = { .amux = LINE1, }, }, + [SAA7134_BOARD_CINERGY400_CARDBUS] = { + .name = "Terratec Cinergy 400 mobile", + .audio_clock = 0x187de7, + .tuner_type = UNSET /* not supported yet :/ */, + .inputs = {{ + .name = name_tv, + .vmux = 5, + .tv = 1, + },{ + .name = name_comp1, + .vmux = 3, + .amux = LINE1, + },{ + .name = name_svideo, + .vmux = 4, + .amux = LINE1, + }}, + }, }; const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); @@ -1629,6 +1647,11 @@ int saa7134_board_init1(struct saa7134_dev *dev) "%s: you try the audio_clock_override=0x200000 insmod option.\n", dev->name,dev->name,dev->name); break; + case SAA7134_BOARD_CINERGY400_CARDBUS: + /* power-up tuner chip */ + saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); + saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000); + break; } return 0; } |