summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <devnull@localhost>2005-06-12 23:19:08 +0000
committerNickolay V. Shmyrev <devnull@localhost>2005-06-12 23:19:08 +0000
commitb3d80d8ab905bb4e8dc4db1bfa43b65de81cc815 (patch)
treecd94be9ef2b7b0835a98a8f4a1a00448a029b508 /linux/drivers
parent368a0978ac3f29b217dbd4b65c169f21277718f6 (diff)
downloadmediapointer-dvb-s2-b3d80d8ab905bb4e8dc4db1bfa43b65de81cc815.tar.gz
mediapointer-dvb-s2-b3d80d8ab905bb4e8dc4db1bfa43b65de81cc815.tar.bz2
Updated entry for Avermedia Cardbus E500. Thanks to
Kees Blom <Kees.Blom@cwi.nl>.
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-cards.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-cards.c b/linux/drivers/media/video/saa7134/saa7134-cards.c
index 86998a54c..715aef4d1 100644
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c
@@ -1,6 +1,6 @@
/*
- * $Id: saa7134-cards.c,v 1.58 2005/06/07 18:05:00 nsh Exp $
+ * $Id: saa7134-cards.c,v 1.59 2005/06/12 23:19:08 nsh Exp $
*
* device driver for philips saa7134 based TV cards
* card-specific stuff.
@@ -1352,14 +1352,14 @@ struct saa7134_board saa7134_boards[] = {
},
},
[SAA7134_BOARD_AVERMEDIA_CARDBUS] = {
- /* Jon Westgate <oryn@oryn.fsck.tv> */
- .name = "AVerMedia Cardbus TV/Radio",
- .audio_clock = 0x00200000,
- .tuner_type = TUNER_PHILIPS_PAL,
+ /* Kees.Blom@cwi.nl */
+ .name = "AVerMedia Cardbus TV/Radio (E500)",
+ .audio_clock = 0x187de7,
+ .tuner_type = TUNER_PHILIPS_TDA8290,
.inputs = {{
.name = name_tv,
.vmux = 1,
- .amux = LINE2,
+ .amux = TV,
.tv = 1,
},{
.name = name_comp1,
@@ -2114,6 +2114,12 @@ int saa7134_board_init1(struct saa7134_dev *dev)
saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000);
msleep(1);
break;
+ case SAA7134_BOARD_AVERMEDIA_CARDBUS:
+ /* power-up tuner chip */
+ saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
+ saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
+ msleep(1);
+ break;
}
if (dev->has_remote)
dev->irq2_mask |= (SAA7134_IRQ2_INTE_GPIO18 |