diff options
author | Julian Calaby <julian.calaby@gmail.com> | 2006-01-11 19:40:09 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-11 19:40:09 -0200 |
commit | 2d05ae6b5b77f063aa0f82cf0570f3e4b80b367c (patch) | |
tree | 16c12212c57ae7def1c4b2bfe7acd4ea189b4343 /drivers/media/video/bttv-input.c | |
parent | 30367bfda384ccb96c0fe35aaa001c7624e9fd01 (diff) | |
download | lwn-2d05ae6b5b77f063aa0f82cf0570f3e4b80b367c.tar.gz lwn-2d05ae6b5b77f063aa0f82cf0570f3e4b80b367c.zip |
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.c | 6 |
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) btv->custom_irq = bttv_rc5_irq; ir->rc5_gpio = 1; break; + case BTTV_BOARD_MACHTV_MAGICTV: + ir_codes = ir_codes_apac_viewcomp; + ir->mask_keycode = 0x001F00; + ir->mask_keyup = 0x004000; + ir->polling = 50; /* ms */ + break; } if (NULL == ir_codes) { dprintk(KERN_INFO "Ooops: IR config error [card=%d]\n",btv->c.type); |