summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-cards.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2005-02-09 12:59:19 +0000
committerGerd Knorr <devnull@localhost>2005-02-09 12:59:19 +0000
commit235533ce4baff366ef671f314e49e42b2e3548f6 (patch)
tree91ddacf07b3f7b7d0627d140095146da85223a30 /linux/drivers/media/video/cx88/cx88-cards.c
parent13a48e49e851b876fb13f465aa6148ffc38b4293 (diff)
downloadmediapointer-dvb-s2-235533ce4baff366ef671f314e49e42b2e3548f6.tar.gz
mediapointer-dvb-s2-235533ce4baff366ef671f314e49e42b2e3548f6.tar.bz2
- add Hauppauge Roslyn support (Kaustubh Bhalerao).
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-cards.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-cards.c38
1 files changed, 37 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c
index fc43a3af7..b7065abfc 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.59 2005/02/04 11:42:14 kraxel Exp $
+ * $Id: cx88-cards.c,v 1.60 2005/02/09 12:59:19 kraxel Exp $
*
* device driver for Conexant 2388x based TV cards
* card-specific stuff.
@@ -477,6 +477,37 @@ struct cx88_board cx88_boards[] = {
}},
.dvb = 1,
},
+ [CX88_BOARD_HAUPPAUGE_ROSLYN] = {
+ // entry added by Kaustubh D. Bhalerao <bhalerao.1@osu.edu>
+ // GPIO values obtained from regspy, courtesy Sean Covel
+ .name = "Hauppauge WinTV 28xxx (Roslyn) models",
+ .tuner_type = UNSET,
+ .input = {{
+ .type = CX88_VMUX_TELEVISION,
+ .vmux = 0,
+ .gpio0 = 0xed12, // internal decoder
+ .gpio2 = 0x00ff,
+ },{
+ .type = CX88_VMUX_DEBUG,
+ .vmux = 0,
+ .gpio0 = 0xff01, // mono from tuner chip
+ },{
+ .type = CX88_VMUX_COMPOSITE1,
+ .vmux = 1,
+ .gpio0 = 0xff02,
+ },{
+ .type = CX88_VMUX_SVIDEO,
+ .vmux = 2,
+ .gpio0 = 0xed92,
+ .gpio2 = 0x00ff,
+ }},
+ .radio = {
+ .type = CX88_RADIO,
+ .gpio0 = 0xed96,
+ .gpio2 = 0x00ff,
+ },
+ .blackbird = 1,
+ },
};
const unsigned int cx88_bcount = ARRAY_SIZE(cx88_boards);
@@ -580,6 +611,10 @@ struct cx88_subid cx88_subids[] = {
.subvendor = 0x17DE,
.subdevice = 0xA8A6,
.card = CX88_BOARD_DNTV_LIVE_DVB_T,
+ },{
+ .subvendor = 0x0070,
+ .subdevice = 0x2801,
+ .card = CX88_BOARD_HAUPPAUGE_ROSLYN,
}
};
const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids);
@@ -749,6 +784,7 @@ void cx88_card_setup(struct cx88_core *core)
switch (core->board) {
case CX88_BOARD_HAUPPAUGE:
+ case CX88_BOARD_HAUPPAUGE_ROSLYN:
if (0 == core->i2c_rc)
hauppauge_eeprom(core,eeprom+8);
break;