diff options
author | Gerd Knorr <devnull@localhost> | 2004-11-30 17:00:13 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-11-30 17:00:13 +0000 |
commit | 3ab65e59d64a1ab37ad62acd54af78b4f559d990 (patch) | |
tree | 6809d45697c5a78a30af1e378fc7d81c39fc2344 /linux/drivers/media/video/cx88/cx88-cards.c | |
parent | cec65069b7466d850408a58576dbff9a0ddbf782 (diff) | |
download | mediapointer-dvb-s2-3ab65e59d64a1ab37ad62acd54af78b4f559d990.tar.gz mediapointer-dvb-s2-3ab65e59d64a1ab37ad62acd54af78b4f559d990.tar.bz2 |
- new cx88-based dvb card by Christopher Pascoe.
- cx88: IR support by Christopher Pascoe and me.
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-cards.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-cards.c | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c index 2c2ecb7e1..3ad9c2c40 100644 --- a/linux/drivers/media/video/cx88/cx88-cards.c +++ b/linux/drivers/media/video/cx88/cx88-cards.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-cards.c,v 1.50 2004/11/30 11:26:38 kraxel Exp $ + * $Id: cx88-cards.c,v 1.51 2004/11/30 17:00:13 kraxel Exp $ * * device driver for Conexant 2388x based TV cards * card-specific stuff. @@ -453,6 +453,22 @@ struct cx88_board cx88_boards[] = { }}, .dvb = 1, }, + [CX88_BOARD_DNTV_LIVE_DVB_T] = { + .name = "digitalnow DNTV Live! DVB-T", + .tuner_type = TUNER_ABSENT, + .input = {{ + .type = CX88_VMUX_COMPOSITE1, + .vmux = 1, + .gpio0 = 0x00000700, + .gpio2 = 0x00000101, + },{ + .type = CX88_VMUX_SVIDEO, + .vmux = 2, + .gpio0 = 0x00000700, + .gpio2 = 0x00000101, + }}, + .dvb = 1, + }, }; const unsigned int cx88_bcount = ARRAY_SIZE(cx88_boards); @@ -552,6 +568,10 @@ struct cx88_subid cx88_subids[] = { .subvendor = 0x7063, .subdevice = 0x3000, /* HD-3000 card */ .card = CX88_BOARD_PCHDTV_HD3000, + },{ + .subvendor = 0x17DE, + .subdevice = 0xA8A6, + .card = CX88_BOARD_DNTV_LIVE_DVB_T, } }; const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids); @@ -868,6 +888,14 @@ void cx88_card_setup(struct cx88_core *core) core->demod_addr = 0x43; break; #endif + case CX88_BOARD_DNTV_LIVE_DVB_T: + cx_set(MO_GP0_IO, 0x00000707); + cx_set(MO_GP2_IO, 0x00000101); + cx_clear(MO_GP2_IO, 0x00000001); + msleep(1); + cx_clear(MO_GP0_IO, 0x00000007); + cx_set(MO_GP2_IO, 0x00000101); + break; } if (cx88_boards[core->board].radio.type == CX88_RADIO) core->has_radio = 1; |