aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2006-01-09 12:25:02 -0500
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-09 12:25:02 -0500
commitfb56cb65e4b737c93727ea296050e8d24eb7cb42 (patch)
tree0bd147b17c0ce44f3ab92913c6260e21a45bbe01
parent0fa14aa6214823bb013b598add866e277a7efe28 (diff)
V4L (0990): Enable IR support for the Nova-S-Plus
- Enable IR support for the Nova-S-Plus. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
-rw-r--r--Documentation/video4linux/CARDLIST.cx884
-rw-r--r--drivers/media/video/cx88/cx88-cards.c6
-rw-r--r--drivers/media/video/cx88/cx88-input.c4
3 files changed, 11 insertions, 3 deletions
diff --git a/Documentation/video4linux/CARDLIST.cx88 b/Documentation/video4linux/CARDLIST.cx88
index ba269e6f3410..739a343e5275 100644
--- a/Documentation/video4linux/CARDLIST.cx88
+++ b/Documentation/video4linux/CARDLIST.cx88
@@ -35,5 +35,5 @@
35 34 -> ATI HDTV Wonder [1002:a101] 35 34 -> ATI HDTV Wonder [1002:a101]
36 35 -> WinFast DTV1000-T [107d:665f] 36 35 -> WinFast DTV1000-T [107d:665f]
37 36 -> AVerTV 303 (M126) [1461:000a] 37 36 -> AVerTV 303 (M126) [1461:000a]
38 37 -> Hauppauge Nova-S-Plus DVB-S [0070:9200] 38 37 -> Hauppauge Nova-S-Plus DVB-S [0070:9201,0070:9202]
39 38 -> Hauppauge Nova-SE2 DVB-S [0070:9202] 39 38 -> Hauppauge Nova-SE2 DVB-S [0070:9200]
diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c
index d738ea8c6f5e..1976e04d8ace 100644
--- a/drivers/media/video/cx88/cx88-cards.c
+++ b/drivers/media/video/cx88/cx88-cards.c
@@ -1078,11 +1078,15 @@ struct cx88_subid cx88_subids[] = {
1078 },{ 1078 },{
1079 .subvendor = 0x0070, 1079 .subvendor = 0x0070,
1080 .subdevice = 0x9200, 1080 .subdevice = 0x9200,
1081 .card = CX88_BOARD_HAUPPAUGE_NOVASE2_S1,
1082 },{
1083 .subvendor = 0x0070,
1084 .subdevice = 0x9201,
1081 .card = CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1, 1085 .card = CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1,
1082 },{ 1086 },{
1083 .subvendor = 0x0070, 1087 .subvendor = 0x0070,
1084 .subdevice = 0x9202, 1088 .subdevice = 0x9202,
1085 .card = CX88_BOARD_HAUPPAUGE_NOVASE2_S1, 1089 .card = CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1,
1086 }, 1090 },
1087}; 1091};
1088const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids); 1092const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids);
diff --git a/drivers/media/video/cx88/cx88-input.c b/drivers/media/video/cx88/cx88-input.c
index 461019dca901..d7e9813384d8 100644
--- a/drivers/media/video/cx88/cx88-input.c
+++ b/drivers/media/video/cx88/cx88-input.c
@@ -388,6 +388,8 @@ int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci)
388 break; 388 break;
389 case CX88_BOARD_HAUPPAUGE: 389 case CX88_BOARD_HAUPPAUGE:
390 case CX88_BOARD_HAUPPAUGE_DVB_T1: 390 case CX88_BOARD_HAUPPAUGE_DVB_T1:
391 case CX88_BOARD_HAUPPAUGE_NOVASE2_S1:
392 case CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1:
391 ir_codes = ir_codes_hauppauge_new; 393 ir_codes = ir_codes_hauppauge_new;
392 ir_type = IR_TYPE_RC5; 394 ir_type = IR_TYPE_RC5;
393 ir->sampling = 1; 395 ir->sampling = 1;
@@ -567,6 +569,8 @@ void cx88_ir_irq(struct cx88_core *core)
567 break; 569 break;
568 case CX88_BOARD_HAUPPAUGE: 570 case CX88_BOARD_HAUPPAUGE:
569 case CX88_BOARD_HAUPPAUGE_DVB_T1: 571 case CX88_BOARD_HAUPPAUGE_DVB_T1:
572 case CX88_BOARD_HAUPPAUGE_NOVASE2_S1:
573 case CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1:
570 ircode = ir_decode_biphase(ir->samples, ir->scount, 5, 7); 574 ircode = ir_decode_biphase(ir->samples, ir->scount, 5, 7);
571 ir_dprintk("biphase decoded: %x\n", ircode); 575 ir_dprintk("biphase decoded: %x\n", ircode);
572 if ((ircode & 0xfffff000) != 0x3000) 576 if ((ircode & 0xfffff000) != 0x3000)