diff options
author | Florian Schirmer <devnull@localhost> | 2003-01-21 19:47:25 +0000 |
---|---|---|
committer | Florian Schirmer <devnull@localhost> | 2003-01-21 19:47:25 +0000 |
commit | ca07f40d73a6583382298fe7c4426bffc5146c5e (patch) | |
tree | 1933d8e11c08c370ce050fce1c5d39acedb9dde7 /linux/drivers/media/dvb/bt8xx | |
parent | bbd7b7e9c3558684cbf1d1a0f7555cba0ca08f29 (diff) | |
download | mediapointer-dvb-s2-ca07f40d73a6583382298fe7c4426bffc5146c5e.tar.gz mediapointer-dvb-s2-ca07f40d73a6583382298fe7c4426bffc5146c5e.tar.bz2 |
Pinnacle PCTV DVB-S support (untested)
Diffstat (limited to 'linux/drivers/media/dvb/bt8xx')
-rw-r--r-- | linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c index c0e037a84..1f137f3c6 100644 --- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c @@ -433,7 +433,6 @@ static void dvb_bt8xx_close(void) static int __init dvb_bt8xx_init(void) { - int result; int card_id; unsigned int card_nr; int card_type; @@ -442,16 +441,20 @@ static int __init dvb_bt8xx_init(void) for (card_nr = 0; !bttv_get_cardinfo(card_nr, &card_type, &card_id); card_nr++) { - if (card_id == 0x01010071) { + switch(card_id) { - if ((result = dvb_bt8xx_load(card_nr, "Nebula DigiTV DVB-T", (1 << 26) | (1 << 14) | (1 << 5))) < 0) { - - dvb_bt8xx_close(); - - return result; + case 0x001C11BD: + + dvb_bt8xx_load(card_nr, "Pinnacle PCTV DVB-S", 0x0400C060); - } + break; + + case 0x01010071: + dvb_bt8xx_load(card_nr, "Nebula DigiTV DVB-T", (1 << 26) | (1 << 14) | (1 << 5)); + + break; + } } |