aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bttv-input.c
diff options
context:
space:
mode:
authorJulian Calaby <julian.calaby@gmail.com>2006-01-11 16:40:09 -0500
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-11 16:40:09 -0500
commit2d05ae6b5b77f063aa0f82cf0570f3e4b80b367c (patch)
tree16c12212c57ae7def1c4b2bfe7acd4ea189b4343 /drivers/media/video/bttv-input.c
parent30367bfda384ccb96c0fe35aaa001c7624e9fd01 (diff)
V4L/DVB (3340): Add bttv card MagicTV (rebranded MachTV)
- Add bttv card MagicTV (rebranded MachTV) Signed-off-by: Julian Calaby <julian.calaby@gmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/bttv-input.c')
-rw-r--r--drivers/media/video/bttv-input.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/bttv-input.c b/drivers/media/video/bttv-input.c
index 12197f1b2757..221b36e7f392 100644
--- a/drivers/media/video/bttv-input.c
+++ b/drivers/media/video/bttv-input.c
@@ -583,6 +583,12 @@ int bttv_input_init(struct bttv *btv)
583 btv->custom_irq = bttv_rc5_irq; 583 btv->custom_irq = bttv_rc5_irq;
584 ir->rc5_gpio = 1; 584 ir->rc5_gpio = 1;
585 break; 585 break;
586 case BTTV_BOARD_MACHTV_MAGICTV:
587 ir_codes = ir_codes_apac_viewcomp;
588 ir->mask_keycode = 0x001F00;
589 ir->mask_keyup = 0x004000;
590 ir->polling = 50; /* ms */
591 break;
586 } 592 }
587 if (NULL == ir_codes) { 593 if (NULL == ir_codes) {
588 dprintk(KERN_INFO "Ooops: IR config error [card=%d]\n",btv->c.type); 594 dprintk(KERN_INFO "Ooops: IR config error [card=%d]\n",btv->c.type);