aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-cards.c
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
commit0fa14aa6214823bb013b598add866e277a7efe28 (patch)
treeff037bc55e140ede3464ed9ed4cd6f9541799811 /drivers/media/video/cx88/cx88-cards.c
parentcd1257d860f6ee09b589723a5d3888b1fed46487 (diff)
V4L (0979): Added V4L support for the Nova-S-Plus and Nova-SE2 DVB-S products
- Added V4L support for the Nova-S-Plus and Nova-SE2 DVB-S products. - Basic DVB-S support is working, analog video inputs work. - It has one or two fixme comments, primarily analog GPIOs (audio) and eeprom parsing. - CX24123 code (in cx88-dvb.c) disabled until the - cx24123 module is added to dvb-kernel cvs. 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>
Diffstat (limited to 'drivers/media/video/cx88/cx88-cards.c')
-rw-r--r--drivers/media/video/cx88/cx88-cards.c41
1 files changed, 41 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c
index 951709aa88ba..d738ea8c6f5e 100644
--- a/drivers/media/video/cx88/cx88-cards.c
+++ b/drivers/media/video/cx88/cx88-cards.c
@@ -897,6 +897,37 @@ struct cx88_board cx88_boards[] = {
897 .gpio3 = 0x0000, 897 .gpio3 = 0x0000,
898 }}, 898 }},
899 }, 899 },
900 [CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1] = {
901 .name = "Hauppauge Nova-S-Plus DVB-S",
902 .tuner_type = TUNER_ABSENT,
903 .radio_type = UNSET,
904 .tuner_addr = ADDR_UNSET,
905 .radio_addr = ADDR_UNSET,
906 /* fixme: add the analog gpio stuff here */
907 .input = {{
908 .type = CX88_VMUX_DVB,
909 .vmux = 0,
910 },{
911 .type = CX88_VMUX_COMPOSITE1,
912 .vmux = 1,
913 },{
914 .type = CX88_VMUX_SVIDEO,
915 .vmux = 2,
916 }},
917 .dvb = 1,
918 },
919 [CX88_BOARD_HAUPPAUGE_NOVASE2_S1] = {
920 .name = "Hauppauge Nova-SE2 DVB-S",
921 .tuner_type = TUNER_ABSENT,
922 .radio_type = UNSET,
923 .tuner_addr = ADDR_UNSET,
924 .radio_addr = ADDR_UNSET,
925 .input = {{
926 .type = CX88_VMUX_DVB,
927 .vmux = 0,
928 }},
929 .dvb = 1,
930 },
900}; 931};
901const unsigned int cx88_bcount = ARRAY_SIZE(cx88_boards); 932const unsigned int cx88_bcount = ARRAY_SIZE(cx88_boards);
902 933
@@ -1044,6 +1075,14 @@ struct cx88_subid cx88_subids[] = {
1044 .subvendor = 0x1461, 1075 .subvendor = 0x1461,
1045 .subdevice = 0x000a, 1076 .subdevice = 0x000a,
1046 .card = CX88_BOARD_AVERTV_303, 1077 .card = CX88_BOARD_AVERTV_303,
1078 },{
1079 .subvendor = 0x0070,
1080 .subdevice = 0x9200,
1081 .card = CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1,
1082 },{
1083 .subvendor = 0x0070,
1084 .subdevice = 0x9202,
1085 .card = CX88_BOARD_HAUPPAUGE_NOVASE2_S1,
1047 }, 1086 },
1048}; 1087};
1049const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids); 1088const unsigned int cx88_idcount = ARRAY_SIZE(cx88_subids);
@@ -1211,6 +1250,8 @@ void cx88_card_setup(struct cx88_core *core)
1211 if (0 == core->i2c_rc) 1250 if (0 == core->i2c_rc)
1212 leadtek_eeprom(core,eeprom); 1251 leadtek_eeprom(core,eeprom);
1213 break; 1252 break;
1253 case CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1:
1254 case CX88_BOARD_HAUPPAUGE_NOVASE2_S1:
1214 case CX88_BOARD_HAUPPAUGE_DVB_T1: 1255 case CX88_BOARD_HAUPPAUGE_DVB_T1:
1215 if (0 == core->i2c_rc) 1256 if (0 == core->i2c_rc)
1216 hauppauge_eeprom(core,eeprom); 1257 hauppauge_eeprom(core,eeprom);