diff options
author | Michael Krufky <devnull@localhost> | 2005-11-18 01:02:18 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-11-18 01:02:18 +0000 |
commit | 7b4c126e756d6d876f621685957b16a254610188 (patch) | |
tree | 3c7f30ba0a2cbb139ff5805943efcaea1de30231 /linux/drivers/media | |
parent | c9ee75d4a31a6d9efcffa35fd188a529cb4b731e (diff) | |
download | mediapointer-dvb-s2-7b4c126e756d6d876f621685957b16a254610188.tar.gz mediapointer-dvb-s2-7b4c126e756d6d876f621685957b16a254610188.tar.bz2 |
Enable IR support for the Nova-S-Plus.
From: Steven Toth <stoth@hauppauge.com>
- Enable IR support for the Nova-S-Plus.
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-cards.c | 8 | ||||
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-input.c | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c index 4c81c6ca4..575770cb6 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.104 2005/11/13 18:11:21 mkrufky Exp $ + * $Id: cx88-cards.c,v 1.105 2005/11/18 01:02:18 mkrufky Exp $ * * device driver for Conexant 2388x based TV cards * card-specific stuff. @@ -1078,11 +1078,15 @@ struct cx88_subid cx88_subids[] = { },{ .subvendor = 0x0070, .subdevice = 0x9200, + .card = CX88_BOARD_HAUPPAUGE_NOVASE2_S1, + },{ + .subvendor = 0x0070, + .subdevice = 0x9201, .card = CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1, },{ .subvendor = 0x0070, .subdevice = 0x9202, - .card = CX88_BOARD_HAUPPAUGE_NOVASE2_S1, + .card = CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1, }, }; const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids); diff --git a/linux/drivers/media/video/cx88/cx88-input.c b/linux/drivers/media/video/cx88/cx88-input.c index f026d83c3..d92cdc2dc 100644 --- a/linux/drivers/media/video/cx88/cx88-input.c +++ b/linux/drivers/media/video/cx88/cx88-input.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-input.c,v 1.22 2005/10/16 12:13:58 mchehab Exp $ + * $Id: cx88-input.c,v 1.23 2005/11/18 01:02:18 mkrufky Exp $ * * Device driver for GPIO attached remote control interfaces * on Conexant 2388x based TV/DVB cards. @@ -383,6 +383,8 @@ int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci) break; case CX88_BOARD_HAUPPAUGE: case CX88_BOARD_HAUPPAUGE_DVB_T1: + case CX88_BOARD_HAUPPAUGE_NOVASE2_S1: + case CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1: ir_codes = ir_codes_hauppauge_new; ir_type = IR_TYPE_RC5; ir->sampling = 1; @@ -564,6 +566,8 @@ void cx88_ir_irq(struct cx88_core *core) break; case CX88_BOARD_HAUPPAUGE: case CX88_BOARD_HAUPPAUGE_DVB_T1: + case CX88_BOARD_HAUPPAUGE_NOVASE2_S1: + case CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1: ircode = ir_decode_biphase(ir->samples, ir->scount, 5, 7); ir_dprintk("biphase decoded: %x\n", ircode); if ((ircode & 0xfffff000) != 0x3000) |