aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@m1k.net>2006-02-06 06:15:11 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-02-06 06:15:11 -0500
commitbbab6fd81f26b210f0815d79064a3387c3a1ade3 (patch)
tree627875f2ea294e49643862f9576cea96952d934c /drivers
parentb31c544aedc802688e32240f1398a4321433bfae (diff)
V4L/DVB (3265): Add count to tunertype struct
The tuner_params element is an array of undefined length, with each array member being a set of parameters for each video standard type. The number of members in the tuner_params array will be stored in tuners[]->count Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/tuner-types.c67
1 files changed, 67 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-types.c b/drivers/media/video/tuner-types.c
index f77584dd356e..27fc4d06b1d2 100644
--- a/drivers/media/video/tuner-types.c
+++ b/drivers/media/video/tuner-types.c
@@ -987,18 +987,22 @@ struct tunertype tuners[] = {
987 [TUNER_TEMIC_PAL] = { /* TEMIC PAL */ 987 [TUNER_TEMIC_PAL] = { /* TEMIC PAL */
988 .name = "Temic PAL (4002 FH5)", 988 .name = "Temic PAL (4002 FH5)",
989 .params = tuner_temic_pal_params, 989 .params = tuner_temic_pal_params,
990 .count = ARRAY_SIZE(tuner_temic_pal_params),
990 }, 991 },
991 [TUNER_PHILIPS_PAL_I] = { /* Philips PAL_I */ 992 [TUNER_PHILIPS_PAL_I] = { /* Philips PAL_I */
992 .name = "Philips PAL_I (FI1246 and compatibles)", 993 .name = "Philips PAL_I (FI1246 and compatibles)",
993 .params = tuner_philips_pal_i_params, 994 .params = tuner_philips_pal_i_params,
995 .count = ARRAY_SIZE(tuner_philips_pal_i_params),
994 }, 996 },
995 [TUNER_PHILIPS_NTSC] = { /* Philips NTSC */ 997 [TUNER_PHILIPS_NTSC] = { /* Philips NTSC */
996 .name = "Philips NTSC (FI1236,FM1236 and compatibles)", 998 .name = "Philips NTSC (FI1236,FM1236 and compatibles)",
997 .params = tuner_philips_ntsc_params, 999 .params = tuner_philips_ntsc_params,
1000 .count = ARRAY_SIZE(tuner_philips_ntsc_params),
998 }, 1001 },
999 [TUNER_PHILIPS_SECAM] = { /* Philips SECAM */ 1002 [TUNER_PHILIPS_SECAM] = { /* Philips SECAM */
1000 .name = "Philips (SECAM+PAL_BG) (FI1216MF, FM1216MF, FR1216MF)", 1003 .name = "Philips (SECAM+PAL_BG) (FI1216MF, FM1216MF, FR1216MF)",
1001 .params = tuner_philips_secam_params, 1004 .params = tuner_philips_secam_params,
1005 .count = ARRAY_SIZE(tuner_philips_secam_params),
1002 }, 1006 },
1003 [TUNER_ABSENT] = { /* Tuner Absent */ 1007 [TUNER_ABSENT] = { /* Tuner Absent */
1004 .name = "NoTuner", 1008 .name = "NoTuner",
@@ -1006,120 +1010,148 @@ struct tunertype tuners[] = {
1006 [TUNER_PHILIPS_PAL] = { /* Philips PAL */ 1010 [TUNER_PHILIPS_PAL] = { /* Philips PAL */
1007 .name = "Philips PAL_BG (FI1216 and compatibles)", 1011 .name = "Philips PAL_BG (FI1216 and compatibles)",
1008 .params = tuner_philips_pal_params, 1012 .params = tuner_philips_pal_params,
1013 .count = ARRAY_SIZE(tuner_philips_pal_params),
1009 }, 1014 },
1010 [TUNER_TEMIC_NTSC] = { /* TEMIC NTSC */ 1015 [TUNER_TEMIC_NTSC] = { /* TEMIC NTSC */
1011 .name = "Temic NTSC (4032 FY5)", 1016 .name = "Temic NTSC (4032 FY5)",
1012 .params = tuner_temic_ntsc_params, 1017 .params = tuner_temic_ntsc_params,
1018 .count = ARRAY_SIZE(tuner_temic_ntsc_params),
1013 }, 1019 },
1014 [TUNER_TEMIC_PAL_I] = { /* TEMIC PAL_I */ 1020 [TUNER_TEMIC_PAL_I] = { /* TEMIC PAL_I */
1015 .name = "Temic PAL_I (4062 FY5)", 1021 .name = "Temic PAL_I (4062 FY5)",
1016 .params = tuner_temic_pal_i_params, 1022 .params = tuner_temic_pal_i_params,
1023 .count = ARRAY_SIZE(tuner_temic_pal_i_params),
1017 }, 1024 },
1018 [TUNER_TEMIC_4036FY5_NTSC] = { /* TEMIC NTSC */ 1025 [TUNER_TEMIC_4036FY5_NTSC] = { /* TEMIC NTSC */
1019 .name = "Temic NTSC (4036 FY5)", 1026 .name = "Temic NTSC (4036 FY5)",
1020 .params = tuner_temic_4036fy5_ntsc_params, 1027 .params = tuner_temic_4036fy5_ntsc_params,
1028 .count = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_params),
1021 }, 1029 },
1022 [TUNER_ALPS_TSBH1_NTSC] = { /* TEMIC NTSC */ 1030 [TUNER_ALPS_TSBH1_NTSC] = { /* TEMIC NTSC */
1023 .name = "Alps HSBH1", 1031 .name = "Alps HSBH1",
1024 .params = tuner_alps_tsbh1_ntsc_params, 1032 .params = tuner_alps_tsbh1_ntsc_params,
1033 .count = ARRAY_SIZE(tuner_alps_tsbh1_ntsc_params),
1025 }, 1034 },
1026 1035
1027 /* 10-19 */ 1036 /* 10-19 */
1028 [TUNER_ALPS_TSBE1_PAL] = { /* TEMIC PAL */ 1037 [TUNER_ALPS_TSBE1_PAL] = { /* TEMIC PAL */
1029 .name = "Alps TSBE1", 1038 .name = "Alps TSBE1",
1030 .params = tuner_alps_tsb_1_params, 1039 .params = tuner_alps_tsb_1_params,
1040 .count = ARRAY_SIZE(tuner_alps_tsb_1_params),
1031 }, 1041 },
1032 [TUNER_ALPS_TSBB5_PAL_I] = { /* Alps PAL_I */ 1042 [TUNER_ALPS_TSBB5_PAL_I] = { /* Alps PAL_I */
1033 .name = "Alps TSBB5", 1043 .name = "Alps TSBB5",
1034 .params = tuner_alps_tsbb5_params, 1044 .params = tuner_alps_tsbb5_params,
1045 .count = ARRAY_SIZE(tuner_alps_tsbb5_params),
1035 }, 1046 },
1036 [TUNER_ALPS_TSBE5_PAL] = { /* Alps PAL */ 1047 [TUNER_ALPS_TSBE5_PAL] = { /* Alps PAL */
1037 .name = "Alps TSBE5", 1048 .name = "Alps TSBE5",
1038 .params = tuner_alps_tsbe5_params, 1049 .params = tuner_alps_tsbe5_params,
1050 .count = ARRAY_SIZE(tuner_alps_tsbe5_params),
1039 }, 1051 },
1040 [TUNER_ALPS_TSBC5_PAL] = { /* Alps PAL */ 1052 [TUNER_ALPS_TSBC5_PAL] = { /* Alps PAL */
1041 .name = "Alps TSBC5", 1053 .name = "Alps TSBC5",
1042 .params = tuner_alps_tsbc5_params, 1054 .params = tuner_alps_tsbc5_params,
1055 .count = ARRAY_SIZE(tuner_alps_tsbc5_params),
1043 }, 1056 },
1044 [TUNER_TEMIC_4006FH5_PAL] = { /* TEMIC PAL */ 1057 [TUNER_TEMIC_4006FH5_PAL] = { /* TEMIC PAL */
1045 .name = "Temic PAL_BG (4006FH5)", 1058 .name = "Temic PAL_BG (4006FH5)",
1046 .params = tuner_temic_4006fh5_params, 1059 .params = tuner_temic_4006fh5_params,
1060 .count = ARRAY_SIZE(tuner_temic_4006fh5_params),
1047 }, 1061 },
1048 [TUNER_ALPS_TSHC6_NTSC] = { /* Alps NTSC */ 1062 [TUNER_ALPS_TSHC6_NTSC] = { /* Alps NTSC */
1049 .name = "Alps TSCH6", 1063 .name = "Alps TSCH6",
1050 .params = tuner_alps_tshc6_params, 1064 .params = tuner_alps_tshc6_params,
1065 .count = ARRAY_SIZE(tuner_alps_tshc6_params),
1051 }, 1066 },
1052 [TUNER_TEMIC_PAL_DK] = { /* TEMIC PAL */ 1067 [TUNER_TEMIC_PAL_DK] = { /* TEMIC PAL */
1053 .name = "Temic PAL_DK (4016 FY5)", 1068 .name = "Temic PAL_DK (4016 FY5)",
1054 .params = tuner_temic_pal_dk_params, 1069 .params = tuner_temic_pal_dk_params,
1070 .count = ARRAY_SIZE(tuner_temic_pal_dk_params),
1055 }, 1071 },
1056 [TUNER_PHILIPS_NTSC_M] = { /* Philips NTSC */ 1072 [TUNER_PHILIPS_NTSC_M] = { /* Philips NTSC */
1057 .name = "Philips NTSC_M (MK2)", 1073 .name = "Philips NTSC_M (MK2)",
1058 .params = tuner_philips_ntsc_m_params, 1074 .params = tuner_philips_ntsc_m_params,
1075 .count = ARRAY_SIZE(tuner_philips_ntsc_m_params),
1059 }, 1076 },
1060 [TUNER_TEMIC_4066FY5_PAL_I] = { /* TEMIC PAL_I */ 1077 [TUNER_TEMIC_4066FY5_PAL_I] = { /* TEMIC PAL_I */
1061 .name = "Temic PAL_I (4066 FY5)", 1078 .name = "Temic PAL_I (4066 FY5)",
1062 .params = tuner_temic_4066fy5_pal_i_params, 1079 .params = tuner_temic_4066fy5_pal_i_params,
1080 .count = ARRAY_SIZE(tuner_temic_4066fy5_pal_i_params),
1063 }, 1081 },
1064 [TUNER_TEMIC_4006FN5_MULTI_PAL] = { /* TEMIC PAL */ 1082 [TUNER_TEMIC_4006FN5_MULTI_PAL] = { /* TEMIC PAL */
1065 .name = "Temic PAL* auto (4006 FN5)", 1083 .name = "Temic PAL* auto (4006 FN5)",
1066 .params = tuner_temic_4006fn5_multi_params, 1084 .params = tuner_temic_4006fn5_multi_params,
1085 .count = ARRAY_SIZE(tuner_temic_4006fn5_multi_params),
1067 }, 1086 },
1068 1087
1069 /* 20-29 */ 1088 /* 20-29 */
1070 [TUNER_TEMIC_4009FR5_PAL] = { /* TEMIC PAL */ 1089 [TUNER_TEMIC_4009FR5_PAL] = { /* TEMIC PAL */
1071 .name = "Temic PAL_BG (4009 FR5) or PAL_I (4069 FR5)", 1090 .name = "Temic PAL_BG (4009 FR5) or PAL_I (4069 FR5)",
1072 .params = tuner_temic_4009f_5_params, 1091 .params = tuner_temic_4009f_5_params,
1092 .count = ARRAY_SIZE(tuner_temic_4009f_5_params),
1073 }, 1093 },
1074 [TUNER_TEMIC_4039FR5_NTSC] = { /* TEMIC NTSC */ 1094 [TUNER_TEMIC_4039FR5_NTSC] = { /* TEMIC NTSC */
1075 .name = "Temic NTSC (4039 FR5)", 1095 .name = "Temic NTSC (4039 FR5)",
1076 .params = tuner_temic_4039fr5_params, 1096 .params = tuner_temic_4039fr5_params,
1097 .count = ARRAY_SIZE(tuner_temic_4039fr5_params),
1077 }, 1098 },
1078 [TUNER_TEMIC_4046FM5] = { /* TEMIC PAL */ 1099 [TUNER_TEMIC_4046FM5] = { /* TEMIC PAL */
1079 .name = "Temic PAL/SECAM multi (4046 FM5)", 1100 .name = "Temic PAL/SECAM multi (4046 FM5)",
1080 .params = tuner_temic_4046fm5_params, 1101 .params = tuner_temic_4046fm5_params,
1102 .count = ARRAY_SIZE(tuner_temic_4046fm5_params),
1081 }, 1103 },
1082 [TUNER_PHILIPS_PAL_DK] = { /* Philips PAL */ 1104 [TUNER_PHILIPS_PAL_DK] = { /* Philips PAL */
1083 .name = "Philips PAL_DK (FI1256 and compatibles)", 1105 .name = "Philips PAL_DK (FI1256 and compatibles)",
1084 .params = tuner_philips_pal_dk_params, 1106 .params = tuner_philips_pal_dk_params,
1107 .count = ARRAY_SIZE(tuner_philips_pal_dk_params),
1085 }, 1108 },
1086 [TUNER_PHILIPS_FQ1216ME] = { /* Philips PAL */ 1109 [TUNER_PHILIPS_FQ1216ME] = { /* Philips PAL */
1087 .name = "Philips PAL/SECAM multi (FQ1216ME)", 1110 .name = "Philips PAL/SECAM multi (FQ1216ME)",
1088 .params = tuner_philips_fq1216me_params, 1111 .params = tuner_philips_fq1216me_params,
1112 .count = ARRAY_SIZE(tuner_philips_fq1216me_params),
1089 }, 1113 },
1090 [TUNER_LG_PAL_I_FM] = { /* LGINNOTEK PAL_I */ 1114 [TUNER_LG_PAL_I_FM] = { /* LGINNOTEK PAL_I */
1091 .name = "LG PAL_I+FM (TAPC-I001D)", 1115 .name = "LG PAL_I+FM (TAPC-I001D)",
1092 .params = tuner_lg_pal_i_fm_params, 1116 .params = tuner_lg_pal_i_fm_params,
1117 .count = ARRAY_SIZE(tuner_lg_pal_i_fm_params),
1093 }, 1118 },
1094 [TUNER_LG_PAL_I] = { /* LGINNOTEK PAL_I */ 1119 [TUNER_LG_PAL_I] = { /* LGINNOTEK PAL_I */
1095 .name = "LG PAL_I (TAPC-I701D)", 1120 .name = "LG PAL_I (TAPC-I701D)",
1096 .params = tuner_lg_pal_i_params, 1121 .params = tuner_lg_pal_i_params,
1122 .count = ARRAY_SIZE(tuner_lg_pal_i_params),
1097 }, 1123 },
1098 [TUNER_LG_NTSC_FM] = { /* LGINNOTEK NTSC */ 1124 [TUNER_LG_NTSC_FM] = { /* LGINNOTEK NTSC */
1099 .name = "LG NTSC+FM (TPI8NSR01F)", 1125 .name = "LG NTSC+FM (TPI8NSR01F)",
1100 .params = tuner_lg_ntsc_fm_params, 1126 .params = tuner_lg_ntsc_fm_params,
1127 .count = ARRAY_SIZE(tuner_lg_ntsc_fm_params),
1101 }, 1128 },
1102 [TUNER_LG_PAL_FM] = { /* LGINNOTEK PAL */ 1129 [TUNER_LG_PAL_FM] = { /* LGINNOTEK PAL */
1103 .name = "LG PAL_BG+FM (TPI8PSB01D)", 1130 .name = "LG PAL_BG+FM (TPI8PSB01D)",
1104 .params = tuner_lg_pal_fm_params, 1131 .params = tuner_lg_pal_fm_params,
1132 .count = ARRAY_SIZE(tuner_lg_pal_fm_params),
1105 }, 1133 },
1106 [TUNER_LG_PAL] = { /* LGINNOTEK PAL */ 1134 [TUNER_LG_PAL] = { /* LGINNOTEK PAL */
1107 .name = "LG PAL_BG (TPI8PSB11D)", 1135 .name = "LG PAL_BG (TPI8PSB11D)",
1108 .params = tuner_lg_pal_params, 1136 .params = tuner_lg_pal_params,
1137 .count = ARRAY_SIZE(tuner_lg_pal_params),
1109 }, 1138 },
1110 1139
1111 /* 30-39 */ 1140 /* 30-39 */
1112 [TUNER_TEMIC_4009FN5_MULTI_PAL_FM] = { /* TEMIC PAL */ 1141 [TUNER_TEMIC_4009FN5_MULTI_PAL_FM] = { /* TEMIC PAL */
1113 .name = "Temic PAL* auto + FM (4009 FN5)", 1142 .name = "Temic PAL* auto + FM (4009 FN5)",
1114 .params = tuner_temic_4009_fn5_multi_pal_fm_params, 1143 .params = tuner_temic_4009_fn5_multi_pal_fm_params,
1144 .count = ARRAY_SIZE(tuner_temic_4009_fn5_multi_pal_fm_params),
1115 }, 1145 },
1116 [TUNER_SHARP_2U5JF5540_NTSC] = { /* SHARP NTSC */ 1146 [TUNER_SHARP_2U5JF5540_NTSC] = { /* SHARP NTSC */
1117 .name = "SHARP NTSC_JP (2U5JF5540)", 1147 .name = "SHARP NTSC_JP (2U5JF5540)",
1118 .params = tuner_sharp_2u5jf5540_params, 1148 .params = tuner_sharp_2u5jf5540_params,
1149 .count = ARRAY_SIZE(tuner_sharp_2u5jf5540_params),
1119 }, 1150 },
1120 [TUNER_Samsung_PAL_TCPM9091PD27] = { /* Samsung PAL */ 1151 [TUNER_Samsung_PAL_TCPM9091PD27] = { /* Samsung PAL */
1121 .name = "Samsung PAL TCPM9091PD27", 1152 .name = "Samsung PAL TCPM9091PD27",
1122 .params = tuner_samsung_pal_tcpm9091pd27_params, 1153 .params = tuner_samsung_pal_tcpm9091pd27_params,
1154 .count = ARRAY_SIZE(tuner_samsung_pal_tcpm9091pd27_params),
1123 }, 1155 },
1124 [TUNER_MT2032] = { /* Microtune PAL|NTSC */ 1156 [TUNER_MT2032] = { /* Microtune PAL|NTSC */
1125 .name = "MT20xx universal", 1157 .name = "MT20xx universal",
@@ -1127,86 +1159,106 @@ struct tunertype tuners[] = {
1127 [TUNER_TEMIC_4106FH5] = { /* TEMIC PAL */ 1159 [TUNER_TEMIC_4106FH5] = { /* TEMIC PAL */
1128 .name = "Temic PAL_BG (4106 FH5)", 1160 .name = "Temic PAL_BG (4106 FH5)",
1129 .params = tuner_temic_4106fh5_params, 1161 .params = tuner_temic_4106fh5_params,
1162 .count = ARRAY_SIZE(tuner_temic_4106fh5_params),
1130 }, 1163 },
1131 [TUNER_TEMIC_4012FY5] = { /* TEMIC PAL */ 1164 [TUNER_TEMIC_4012FY5] = { /* TEMIC PAL */
1132 .name = "Temic PAL_DK/SECAM_L (4012 FY5)", 1165 .name = "Temic PAL_DK/SECAM_L (4012 FY5)",
1133 .params = tuner_temic_4012fy5_params, 1166 .params = tuner_temic_4012fy5_params,
1167 .count = ARRAY_SIZE(tuner_temic_4012fy5_params),
1134 }, 1168 },
1135 [TUNER_TEMIC_4136FY5] = { /* TEMIC NTSC */ 1169 [TUNER_TEMIC_4136FY5] = { /* TEMIC NTSC */
1136 .name = "Temic NTSC (4136 FY5)", 1170 .name = "Temic NTSC (4136 FY5)",
1137 .params = tuner_temic_4136_fy5_params, 1171 .params = tuner_temic_4136_fy5_params,
1172 .count = ARRAY_SIZE(tuner_temic_4136_fy5_params),
1138 }, 1173 },
1139 [TUNER_LG_PAL_NEW_TAPC] = { /* LGINNOTEK PAL */ 1174 [TUNER_LG_PAL_NEW_TAPC] = { /* LGINNOTEK PAL */
1140 .name = "LG PAL (newer TAPC series)", 1175 .name = "LG PAL (newer TAPC series)",
1141 .params = tuner_lg_pal_new_tapc_params, 1176 .params = tuner_lg_pal_new_tapc_params,
1177 .count = ARRAY_SIZE(tuner_lg_pal_new_tapc_params),
1142 }, 1178 },
1143 [TUNER_PHILIPS_FM1216ME_MK3] = { /* Philips PAL */ 1179 [TUNER_PHILIPS_FM1216ME_MK3] = { /* Philips PAL */
1144 .name = "Philips PAL/SECAM multi (FM1216ME MK3)", 1180 .name = "Philips PAL/SECAM multi (FM1216ME MK3)",
1145 .params = tuner_fm1216me_mk3_params, 1181 .params = tuner_fm1216me_mk3_params,
1182 .count = ARRAY_SIZE(tuner_fm1216me_mk3_params),
1146 }, 1183 },
1147 [TUNER_LG_NTSC_NEW_TAPC] = { /* LGINNOTEK NTSC */ 1184 [TUNER_LG_NTSC_NEW_TAPC] = { /* LGINNOTEK NTSC */
1148 .name = "LG NTSC (newer TAPC series)", 1185 .name = "LG NTSC (newer TAPC series)",
1149 .params = tuner_lg_ntsc_new_tapc_params, 1186 .params = tuner_lg_ntsc_new_tapc_params,
1187 .count = ARRAY_SIZE(tuner_lg_ntsc_new_tapc_params),
1150 }, 1188 },
1151 1189
1152 /* 40-49 */ 1190 /* 40-49 */
1153 [TUNER_HITACHI_NTSC] = { /* HITACHI NTSC */ 1191 [TUNER_HITACHI_NTSC] = { /* HITACHI NTSC */
1154 .name = "HITACHI V7-J180AT", 1192 .name = "HITACHI V7-J180AT",
1155 .params = tuner_hitachi_ntsc_params, 1193 .params = tuner_hitachi_ntsc_params,
1194 .count = ARRAY_SIZE(tuner_hitachi_ntsc_params),
1156 }, 1195 },
1157 [TUNER_PHILIPS_PAL_MK] = { /* Philips PAL */ 1196 [TUNER_PHILIPS_PAL_MK] = { /* Philips PAL */
1158 .name = "Philips PAL_MK (FI1216 MK)", 1197 .name = "Philips PAL_MK (FI1216 MK)",
1159 .params = tuner_philips_pal_mk_params, 1198 .params = tuner_philips_pal_mk_params,
1199 .count = ARRAY_SIZE(tuner_philips_pal_mk_params),
1160 }, 1200 },
1161 [TUNER_PHILIPS_ATSC] = { /* Philips ATSC */ 1201 [TUNER_PHILIPS_ATSC] = { /* Philips ATSC */
1162 .name = "Philips 1236D ATSC/NTSC dual in", 1202 .name = "Philips 1236D ATSC/NTSC dual in",
1163 .params = tuner_philips_atsc_params, 1203 .params = tuner_philips_atsc_params,
1204 .count = ARRAY_SIZE(tuner_philips_atsc_params),
1164 }, 1205 },
1165 [TUNER_PHILIPS_FM1236_MK3] = { /* Philips NTSC */ 1206 [TUNER_PHILIPS_FM1236_MK3] = { /* Philips NTSC */
1166 .name = "Philips NTSC MK3 (FM1236MK3 or FM1236/F)", 1207 .name = "Philips NTSC MK3 (FM1236MK3 or FM1236/F)",
1167 .params = tuner_fm1236_mk3_params, 1208 .params = tuner_fm1236_mk3_params,
1209 .count = ARRAY_SIZE(tuner_fm1236_mk3_params),
1168 }, 1210 },
1169 [TUNER_PHILIPS_4IN1] = { /* Philips NTSC */ 1211 [TUNER_PHILIPS_4IN1] = { /* Philips NTSC */
1170 .name = "Philips 4 in 1 (ATI TV Wonder Pro/Conexant)", 1212 .name = "Philips 4 in 1 (ATI TV Wonder Pro/Conexant)",
1171 .params = tuner_philips_4in1_params, 1213 .params = tuner_philips_4in1_params,
1214 .count = ARRAY_SIZE(tuner_philips_4in1_params),
1172 }, 1215 },
1173 [TUNER_MICROTUNE_4049FM5] = { /* Microtune PAL */ 1216 [TUNER_MICROTUNE_4049FM5] = { /* Microtune PAL */
1174 .name = "Microtune 4049 FM5", 1217 .name = "Microtune 4049 FM5",
1175 .params = tuner_microtune_4049_fm5_params, 1218 .params = tuner_microtune_4049_fm5_params,
1219 .count = ARRAY_SIZE(tuner_microtune_4049_fm5_params),
1176 }, 1220 },
1177 [TUNER_PANASONIC_VP27] = { /* Panasonic NTSC */ 1221 [TUNER_PANASONIC_VP27] = { /* Panasonic NTSC */
1178 .name = "Panasonic VP27s/ENGE4324D", 1222 .name = "Panasonic VP27s/ENGE4324D",
1179 .params = tuner_panasonic_vp27_params, 1223 .params = tuner_panasonic_vp27_params,
1224 .count = ARRAY_SIZE(tuner_panasonic_vp27_params),
1180 }, 1225 },
1181 [TUNER_LG_NTSC_TAPE] = { /* LGINNOTEK NTSC */ 1226 [TUNER_LG_NTSC_TAPE] = { /* LGINNOTEK NTSC */
1182 .name = "LG NTSC (TAPE series)", 1227 .name = "LG NTSC (TAPE series)",
1183 .params = tuner_lg_ntsc_tape_params, 1228 .params = tuner_lg_ntsc_tape_params,
1229 .count = ARRAY_SIZE(tuner_lg_ntsc_tape_params),
1184 }, 1230 },
1185 [TUNER_TNF_8831BGFF] = { /* Philips PAL */ 1231 [TUNER_TNF_8831BGFF] = { /* Philips PAL */
1186 .name = "Tenna TNF 8831 BGFF)", 1232 .name = "Tenna TNF 8831 BGFF)",
1187 .params = tuner_tnf_8831bgff_params, 1233 .params = tuner_tnf_8831bgff_params,
1234 .count = ARRAY_SIZE(tuner_tnf_8831bgff_params),
1188 }, 1235 },
1189 [TUNER_MICROTUNE_4042FI5] = { /* Microtune NTSC */ 1236 [TUNER_MICROTUNE_4042FI5] = { /* Microtune NTSC */
1190 .name = "Microtune 4042 FI5 ATSC/NTSC dual in", 1237 .name = "Microtune 4042 FI5 ATSC/NTSC dual in",
1191 .params = tuner_microtune_4042fi5_params, 1238 .params = tuner_microtune_4042fi5_params,
1239 .count = ARRAY_SIZE(tuner_microtune_4042fi5_params),
1192 }, 1240 },
1193 1241
1194 /* 50-59 */ 1242 /* 50-59 */
1195 [TUNER_TCL_2002N] = { /* TCL NTSC */ 1243 [TUNER_TCL_2002N] = { /* TCL NTSC */
1196 .name = "TCL 2002N", 1244 .name = "TCL 2002N",
1197 .params = tuner_tcl_2002n_params, 1245 .params = tuner_tcl_2002n_params,
1246 .count = ARRAY_SIZE(tuner_tcl_2002n_params),
1198 }, 1247 },
1199 [TUNER_PHILIPS_FM1256_IH3] = { /* Philips PAL */ 1248 [TUNER_PHILIPS_FM1256_IH3] = { /* Philips PAL */
1200 .name = "Philips PAL/SECAM_D (FM 1256 I-H3)", 1249 .name = "Philips PAL/SECAM_D (FM 1256 I-H3)",
1201 .params = tuner_philips_fm1256_ih3_params, 1250 .params = tuner_philips_fm1256_ih3_params,
1251 .count = ARRAY_SIZE(tuner_philips_fm1256_ih3_params),
1202 }, 1252 },
1203 [TUNER_THOMSON_DTT7610] = { /* THOMSON ATSC */ 1253 [TUNER_THOMSON_DTT7610] = { /* THOMSON ATSC */
1204 .name = "Thomson DTT 7610 (ATSC/NTSC)", 1254 .name = "Thomson DTT 7610 (ATSC/NTSC)",
1205 .params = tuner_thomson_dtt7610_params, 1255 .params = tuner_thomson_dtt7610_params,
1256 .count = ARRAY_SIZE(tuner_thomson_dtt7610_params),
1206 }, 1257 },
1207 [TUNER_PHILIPS_FQ1286] = { /* Philips NTSC */ 1258 [TUNER_PHILIPS_FQ1286] = { /* Philips NTSC */
1208 .name = "Philips FQ1286", 1259 .name = "Philips FQ1286",
1209 .params = tuner_philips_fq1286_params, 1260 .params = tuner_philips_fq1286_params,
1261 .count = ARRAY_SIZE(tuner_philips_fq1286_params),
1210 }, 1262 },
1211 [TUNER_PHILIPS_TDA8290] = { /* Philips PAL|NTSC */ 1263 [TUNER_PHILIPS_TDA8290] = { /* Philips PAL|NTSC */
1212 .name = "tda8290+75", 1264 .name = "tda8290+75",
@@ -1214,22 +1266,27 @@ struct tunertype tuners[] = {
1214 [TUNER_TCL_2002MB] = { /* TCL PAL */ 1266 [TUNER_TCL_2002MB] = { /* TCL PAL */
1215 .name = "TCL 2002MB", 1267 .name = "TCL 2002MB",
1216 .params = tuner_tcl_2002mb_params, 1268 .params = tuner_tcl_2002mb_params,
1269 .count = ARRAY_SIZE(tuner_tcl_2002mb_params),
1217 }, 1270 },
1218 [TUNER_PHILIPS_FQ1216AME_MK4] = { /* Philips PAL */ 1271 [TUNER_PHILIPS_FQ1216AME_MK4] = { /* Philips PAL */
1219 .name = "Philips PAL/SECAM multi (FQ1216AME MK4)", 1272 .name = "Philips PAL/SECAM multi (FQ1216AME MK4)",
1220 .params = tuner_philips_fq1216ame_mk4_params, 1273 .params = tuner_philips_fq1216ame_mk4_params,
1274 .count = ARRAY_SIZE(tuner_philips_fq1216ame_mk4_params),
1221 }, 1275 },
1222 [TUNER_PHILIPS_FQ1236A_MK4] = { /* Philips NTSC */ 1276 [TUNER_PHILIPS_FQ1236A_MK4] = { /* Philips NTSC */
1223 .name = "Philips FQ1236A MK4", 1277 .name = "Philips FQ1236A MK4",
1224 .params = tuner_philips_fq1236a_mk4_params, 1278 .params = tuner_philips_fq1236a_mk4_params,
1279 .count = ARRAY_SIZE(tuner_philips_fq1236a_mk4_params),
1225 }, 1280 },
1226 [TUNER_YMEC_TVF_8531MF] = { /* Philips NTSC */ 1281 [TUNER_YMEC_TVF_8531MF] = { /* Philips NTSC */
1227 .name = "Ymec TVision TVF-8531MF/8831MF/8731MF", 1282 .name = "Ymec TVision TVF-8531MF/8831MF/8731MF",
1228 .params = tuner_ymec_tvf_8531mf_params, 1283 .params = tuner_ymec_tvf_8531mf_params,
1284 .count = ARRAY_SIZE(tuner_ymec_tvf_8531mf_params),
1229 }, 1285 },
1230 [TUNER_YMEC_TVF_5533MF] = { /* Philips NTSC */ 1286 [TUNER_YMEC_TVF_5533MF] = { /* Philips NTSC */
1231 .name = "Ymec TVision TVF-5533MF", 1287 .name = "Ymec TVision TVF-5533MF",
1232 .params = tuner_ymec_tvf_5533mf_params, 1288 .params = tuner_ymec_tvf_5533mf_params,
1289 .count = ARRAY_SIZE(tuner_ymec_tvf_5533mf_params),
1233 }, 1290 },
1234 1291
1235 /* 60-69 */ 1292 /* 60-69 */
@@ -1237,10 +1294,12 @@ struct tunertype tuners[] = {
1237 /* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */ 1294 /* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */
1238 .name = "Thomson DTT 761X (ATSC/NTSC)", 1295 .name = "Thomson DTT 761X (ATSC/NTSC)",
1239 .params = tuner_thomson_dtt761x_params, 1296 .params = tuner_thomson_dtt761x_params,
1297 .count = ARRAY_SIZE(tuner_thomson_dtt761x_params),
1240 }, 1298 },
1241 [TUNER_TENA_9533_DI] = { /* Philips PAL */ 1299 [TUNER_TENA_9533_DI] = { /* Philips PAL */
1242 .name = "Tena TNF9533-D/IF/TNF9533-B/DF", 1300 .name = "Tena TNF9533-D/IF/TNF9533-B/DF",
1243 .params = tuner_tena_9533_di_params, 1301 .params = tuner_tena_9533_di_params,
1302 .count = ARRAY_SIZE(tuner_tena_9533_di_params),
1244 }, 1303 },
1245 [TUNER_TEA5767] = { /* Philips RADIO */ 1304 [TUNER_TEA5767] = { /* Philips RADIO */
1246 .name = "Philips TEA5767HN FM Radio", 1305 .name = "Philips TEA5767HN FM Radio",
@@ -1249,36 +1308,44 @@ struct tunertype tuners[] = {
1249 [TUNER_PHILIPS_FMD1216ME_MK3] = { /* Philips PAL */ 1308 [TUNER_PHILIPS_FMD1216ME_MK3] = { /* Philips PAL */
1250 .name = "Philips FMD1216ME MK3 Hybrid Tuner", 1309 .name = "Philips FMD1216ME MK3 Hybrid Tuner",
1251 .params = tuner_philips_fmd1216me_mk3_params, 1310 .params = tuner_philips_fmd1216me_mk3_params,
1311 .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_params),
1252 }, 1312 },
1253 [TUNER_LG_TDVS_H062F] = { /* LGINNOTEK ATSC */ 1313 [TUNER_LG_TDVS_H062F] = { /* LGINNOTEK ATSC */
1254 .name = "LG TDVS-H062F/TUA6034", 1314 .name = "LG TDVS-H062F/TUA6034",
1255 .params = tuner_tua6034_params, 1315 .params = tuner_tua6034_params,
1316 .count = ARRAY_SIZE(tuner_tua6034_params),
1256 }, 1317 },
1257 [TUNER_YMEC_TVF66T5_B_DFF] = { /* Philips PAL */ 1318 [TUNER_YMEC_TVF66T5_B_DFF] = { /* Philips PAL */
1258 .name = "Ymec TVF66T5-B/DFF", 1319 .name = "Ymec TVF66T5-B/DFF",
1259 .params = tuner_ymec_tvf66t5_b_dff_params, 1320 .params = tuner_ymec_tvf66t5_b_dff_params,
1321 .count = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_params),
1260 }, 1322 },
1261 [TUNER_LG_NTSC_TALN_MINI] = { /* LGINNOTEK NTSC */ 1323 [TUNER_LG_NTSC_TALN_MINI] = { /* LGINNOTEK NTSC */
1262 .name = "LG NTSC (TALN mini series)", 1324 .name = "LG NTSC (TALN mini series)",
1263 .params = tuner_lg_taln_mini_params, 1325 .params = tuner_lg_taln_mini_params,
1326 .count = ARRAY_SIZE(tuner_lg_taln_mini_params),
1264 }, 1327 },
1265 [TUNER_PHILIPS_TD1316] = { /* Philips PAL */ 1328 [TUNER_PHILIPS_TD1316] = { /* Philips PAL */
1266 .name = "Philips TD1316 Hybrid Tuner", 1329 .name = "Philips TD1316 Hybrid Tuner",
1267 .params = tuner_philips_td1316_params, 1330 .params = tuner_philips_td1316_params,
1331 .count = ARRAY_SIZE(tuner_philips_td1316_params),
1268 }, 1332 },
1269 [TUNER_PHILIPS_TUV1236D] = { /* Philips ATSC */ 1333 [TUNER_PHILIPS_TUV1236D] = { /* Philips ATSC */
1270 .name = "Philips TUV1236D ATSC/NTSC dual in", 1334 .name = "Philips TUV1236D ATSC/NTSC dual in",
1271 .params = tuner_tuv1236d_params, 1335 .params = tuner_tuv1236d_params,
1336 .count = ARRAY_SIZE(tuner_tuv1236d_params),
1272 }, 1337 },
1273 [TUNER_TNF_5335MF] = { /* Philips NTSC */ 1338 [TUNER_TNF_5335MF] = { /* Philips NTSC */
1274 .name = "Tena TNF 5335 MF", 1339 .name = "Tena TNF 5335 MF",
1275 .params = tuner_tnf_5335mf_params, 1340 .params = tuner_tnf_5335mf_params,
1341 .count = ARRAY_SIZE(tuner_tnf_5335mf_params),
1276 }, 1342 },
1277 1343
1278 /* 70-79 */ 1344 /* 70-79 */
1279 [TUNER_SAMSUNG_TCPN_2121P30A] = { /* Samsung NTSC */ 1345 [TUNER_SAMSUNG_TCPN_2121P30A] = { /* Samsung NTSC */
1280 .name = "Samsung TCPN 2121P30A", 1346 .name = "Samsung TCPN 2121P30A",
1281 .params = tuner_samsung_tcpn_2121p30a_params, 1347 .params = tuner_samsung_tcpn_2121p30a_params,
1348 .count = ARRAY_SIZE(tuner_samsung_tcpn_2121p30a_params),
1282 }, 1349 },
1283}; 1350};
1284 1351