diff options
-rw-r--r-- | linux/drivers/media/dvb/bt8xx/bt878.c | 2 | ||||
-rw-r--r-- | linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c | 11 |
2 files changed, 9 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/bt878.c b/linux/drivers/media/dvb/bt8xx/bt878.c index fb2636f1f..d680a456a 100644 --- a/linux/drivers/media/dvb/bt8xx/bt878.c +++ b/linux/drivers/media/dvb/bt8xx/bt878.c @@ -219,7 +219,7 @@ void bt878_start(struct bt878 *bt, u32 controlreg, u32 op_sync_orin, controlreg &= ~0x1f; controlreg |= 0x1b; - btwrite(cpu_to_le32(bt->risc_dma), BT878_ARISC_START); + btwrite(bt->risc_dma, BT878_ARISC_START); /* original int mask had : * 6 2 8 4 0 diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c index 77a37cfc9..283c07635 100644 --- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c @@ -55,7 +55,7 @@ static void dvb_bt8xx_task(unsigned long data) { struct dvb_bt8xx_card *card = (struct dvb_bt8xx_card *)data; - //printk("%d ", finished_block); + //printk("%d ", card->bt->finished_block); while (card->bt->last_block != card->bt->finished_block) { (card->bt->TS_Size ? dvb_dmx_swfilter_204 : dvb_dmx_swfilter)(&card->demux, &card->bt->buf_cpu[card->bt->last_block * card->bt->block_bytes], card->bt->block_bytes); @@ -427,7 +427,7 @@ static int __init dvb_bt8xx_init(void) dvb_bt8xx_card_match(card_nr, "Pinnacle PCTV DVB-S", 0x0400C060, 0, 0); /* 26, 15, 14, 6, 5 - * A_G2X DA_DPM DA_SBR DA_IOM_DA + * A_PWRDN DA_DPM DA_SBR DA_IOM_DA * DA_APP(parallel) */ break; case 0x01010071: @@ -438,11 +438,16 @@ nebula: /* A_PWRDN DA_SBR DA_APP (high speed serial) */ break; case 0x07611461: - dvb_bt8xx_card_match(card_nr, "Avermedia DVB-T", + dvb_bt8xx_card_match(card_nr, "Avermedia DVB-T 761", (1 << 26) | (1 << 14) | (1 << 5), 0, 0); /* A_PWRDN DA_SBR DA_APP (high speed serial) */ break; + case 0x07711461: + dvb_bt8xx_card_match(card_nr, "Avermedia DVB-T 771", + 0x0400402B,BT878_RISC_SYNC_MASK,0); + /* A_PWRDN DA_SBR DA_APP[0] PKTP=10 RISC_ENABLE FIFO_ENABLE*/ + break; case 0x0: if (card_type == BT878_NEBULA || card_type == BT878_TWINHAN_DST) |