diff options
author | Michael Krufky <mkrufky@m1k.net> | 2006-01-23 14:11:11 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-23 14:11:11 -0500 |
commit | cc925bbed017b12d46436e8ab788e0de8656d08c (patch) | |
tree | c96e474944319e199ec8e245cb9a2f0d1cc314dc | |
parent | 3fc46d35b30cfae018c4903228a270c9543f4d7a (diff) |
V4L/DVB (3439): removed duplicated tuner_ranges
- removed duplicated tuner_ranges
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/tuner-types.c | 122 |
1 files changed, 31 insertions, 91 deletions
diff --git a/drivers/media/video/tuner-types.c b/drivers/media/video/tuner-types.c index d37f833997dd..f77584dd356e 100644 --- a/drivers/media/video/tuner-types.c +++ b/drivers/media/video/tuner-types.c | |||
@@ -229,7 +229,7 @@ static struct tuner_params tuner_alps_tsbc5_params[] = { | |||
229 | 229 | ||
230 | /* ------------ TUNER_TEMIC_4006FH5_PAL - TEMIC PAL ------------ */ | 230 | /* ------------ TUNER_TEMIC_4006FH5_PAL - TEMIC PAL ------------ */ |
231 | 231 | ||
232 | static struct tuner_range tuner_temic_4006fh5_pal_ranges[] = { | 232 | static struct tuner_range tuner_lg_pal_ranges[] = { |
233 | { 16 * 170.00 /*MHz*/, 0x8e, 0xa0, }, | 233 | { 16 * 170.00 /*MHz*/, 0x8e, 0xa0, }, |
234 | { 16 * 450.00 /*MHz*/, 0x8e, 0x90, }, | 234 | { 16 * 450.00 /*MHz*/, 0x8e, 0x90, }, |
235 | { 16 * 999.99 , 0x8e, 0x30, }, | 235 | { 16 * 999.99 , 0x8e, 0x30, }, |
@@ -238,8 +238,8 @@ static struct tuner_range tuner_temic_4006fh5_pal_ranges[] = { | |||
238 | static struct tuner_params tuner_temic_4006fh5_params[] = { | 238 | static struct tuner_params tuner_temic_4006fh5_params[] = { |
239 | { | 239 | { |
240 | .type = TUNER_PARAM_TYPE_PAL, | 240 | .type = TUNER_PARAM_TYPE_PAL, |
241 | .ranges = tuner_temic_4006fh5_pal_ranges, | 241 | .ranges = tuner_lg_pal_ranges, |
242 | .count = ARRAY_SIZE(tuner_temic_4006fh5_pal_ranges), | 242 | .count = ARRAY_SIZE(tuner_lg_pal_ranges), |
243 | }, | 243 | }, |
244 | }; | 244 | }; |
245 | 245 | ||
@@ -336,7 +336,7 @@ static struct tuner_params tuner_temic_4009f_5_params[] = { | |||
336 | 336 | ||
337 | /* ------------ TUNER_TEMIC_4039FR5_NTSC - TEMIC NTSC ------------ */ | 337 | /* ------------ TUNER_TEMIC_4039FR5_NTSC - TEMIC NTSC ------------ */ |
338 | 338 | ||
339 | static struct tuner_range tuner_temic_4039fr5_ntsc_ranges[] = { | 339 | static struct tuner_range tuner_temic_4x3x_f_5_ntsc_ranges[] = { |
340 | { 16 * 158.00 /*MHz*/, 0x8e, 0xa0, }, | 340 | { 16 * 158.00 /*MHz*/, 0x8e, 0xa0, }, |
341 | { 16 * 453.00 /*MHz*/, 0x8e, 0x90, }, | 341 | { 16 * 453.00 /*MHz*/, 0x8e, 0x90, }, |
342 | { 16 * 999.99 , 0x8e, 0x30, }, | 342 | { 16 * 999.99 , 0x8e, 0x30, }, |
@@ -345,35 +345,23 @@ static struct tuner_range tuner_temic_4039fr5_ntsc_ranges[] = { | |||
345 | static struct tuner_params tuner_temic_4039fr5_params[] = { | 345 | static struct tuner_params tuner_temic_4039fr5_params[] = { |
346 | { | 346 | { |
347 | .type = TUNER_PARAM_TYPE_NTSC, | 347 | .type = TUNER_PARAM_TYPE_NTSC, |
348 | .ranges = tuner_temic_4039fr5_ntsc_ranges, | 348 | .ranges = tuner_temic_4x3x_f_5_ntsc_ranges, |
349 | .count = ARRAY_SIZE(tuner_temic_4039fr5_ntsc_ranges), | 349 | .count = ARRAY_SIZE(tuner_temic_4x3x_f_5_ntsc_ranges), |
350 | }, | 350 | }, |
351 | }; | 351 | }; |
352 | 352 | ||
353 | /* ------------ TUNER_TEMIC_4046FM5 - TEMIC PAL ------------ */ | 353 | /* ------------ TUNER_TEMIC_4046FM5 - TEMIC PAL ------------ */ |
354 | 354 | ||
355 | static struct tuner_range tuner_temic_4046fm5_pal_ranges[] = { | ||
356 | { 16 * 169.00 /*MHz*/, 0x8e, 0xa0, }, | ||
357 | { 16 * 454.00 /*MHz*/, 0x8e, 0x90, }, | ||
358 | { 16 * 999.99 , 0x8e, 0x30, }, | ||
359 | }; | ||
360 | |||
361 | static struct tuner_params tuner_temic_4046fm5_params[] = { | 355 | static struct tuner_params tuner_temic_4046fm5_params[] = { |
362 | { | 356 | { |
363 | .type = TUNER_PARAM_TYPE_PAL, | 357 | .type = TUNER_PARAM_TYPE_PAL, |
364 | .ranges = tuner_temic_4046fm5_pal_ranges, | 358 | .ranges = tuner_temic_40x6f_5_pal_ranges, |
365 | .count = ARRAY_SIZE(tuner_temic_4046fm5_pal_ranges), | 359 | .count = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges), |
366 | }, | 360 | }, |
367 | }; | 361 | }; |
368 | 362 | ||
369 | /* ------------ TUNER_PHILIPS_PAL_DK - Philips PAL ------------ */ | 363 | /* ------------ TUNER_PHILIPS_PAL_DK - Philips PAL ------------ */ |
370 | 364 | ||
371 | static struct tuner_range tuner_lg_pal_ranges[] = { | ||
372 | { 16 * 170.00 /*MHz*/, 0x8e, 0xa0, }, | ||
373 | { 16 * 450.00 /*MHz*/, 0x8e, 0x90, }, | ||
374 | { 16 * 999.99 , 0x8e, 0x30, }, | ||
375 | }; | ||
376 | |||
377 | static struct tuner_params tuner_philips_pal_dk_params[] = { | 365 | static struct tuner_params tuner_philips_pal_dk_params[] = { |
378 | { | 366 | { |
379 | .type = TUNER_PARAM_TYPE_PAL, | 367 | .type = TUNER_PARAM_TYPE_PAL, |
@@ -503,33 +491,21 @@ static struct tuner_params tuner_temic_4106fh5_params[] = { | |||
503 | 491 | ||
504 | /* ------------ TUNER_TEMIC_4012FY5 - TEMIC PAL ------------ */ | 492 | /* ------------ TUNER_TEMIC_4012FY5 - TEMIC PAL ------------ */ |
505 | 493 | ||
506 | static struct tuner_range tuner_temic_4012fy5_pal_ranges[] = { | ||
507 | { 16 * 140.25 /*MHz*/, 0x8e, 0x02, }, | ||
508 | { 16 * 463.25 /*MHz*/, 0x8e, 0x04, }, | ||
509 | { 16 * 999.99 , 0x8e, 0x01, }, | ||
510 | }; | ||
511 | |||
512 | static struct tuner_params tuner_temic_4012fy5_params[] = { | 494 | static struct tuner_params tuner_temic_4012fy5_params[] = { |
513 | { | 495 | { |
514 | .type = TUNER_PARAM_TYPE_PAL, | 496 | .type = TUNER_PARAM_TYPE_PAL, |
515 | .ranges = tuner_temic_4012fy5_pal_ranges, | 497 | .ranges = tuner_temic_pal_ranges, |
516 | .count = ARRAY_SIZE(tuner_temic_4012fy5_pal_ranges), | 498 | .count = ARRAY_SIZE(tuner_temic_pal_ranges), |
517 | }, | 499 | }, |
518 | }; | 500 | }; |
519 | 501 | ||
520 | /* ------------ TUNER_TEMIC_4136FY5 - TEMIC NTSC ------------ */ | 502 | /* ------------ TUNER_TEMIC_4136FY5 - TEMIC NTSC ------------ */ |
521 | 503 | ||
522 | static struct tuner_range tuner_temic_4136_fy5_ntsc_ranges[] = { | ||
523 | { 16 * 158.00 /*MHz*/, 0x8e, 0xa0, }, | ||
524 | { 16 * 453.00 /*MHz*/, 0x8e, 0x90, }, | ||
525 | { 16 * 999.99 , 0x8e, 0x30, }, | ||
526 | }; | ||
527 | |||
528 | static struct tuner_params tuner_temic_4136_fy5_params[] = { | 504 | static struct tuner_params tuner_temic_4136_fy5_params[] = { |
529 | { | 505 | { |
530 | .type = TUNER_PARAM_TYPE_NTSC, | 506 | .type = TUNER_PARAM_TYPE_NTSC, |
531 | .ranges = tuner_temic_4136_fy5_ntsc_ranges, | 507 | .ranges = tuner_temic_4x3x_f_5_ntsc_ranges, |
532 | .count = ARRAY_SIZE(tuner_temic_4136_fy5_ntsc_ranges), | 508 | .count = ARRAY_SIZE(tuner_temic_4x3x_f_5_ntsc_ranges), |
533 | }, | 509 | }, |
534 | }; | 510 | }; |
535 | 511 | ||
@@ -638,17 +614,11 @@ static struct tuner_params tuner_fm1236_mk3_params[] = { | |||
638 | 614 | ||
639 | /* ------------ TUNER_PHILIPS_4IN1 - Philips NTSC ------------ */ | 615 | /* ------------ TUNER_PHILIPS_4IN1 - Philips NTSC ------------ */ |
640 | 616 | ||
641 | static struct tuner_range tuner_philips_4in1_ntsc_ranges[] = { | ||
642 | { 16 * 160.00 /*MHz*/, 0x8e, 0x01, }, | ||
643 | { 16 * 442.00 /*MHz*/, 0x8e, 0x02, }, | ||
644 | { 16 * 999.99 , 0x8e, 0x04, }, | ||
645 | }; | ||
646 | |||
647 | static struct tuner_params tuner_philips_4in1_params[] = { | 617 | static struct tuner_params tuner_philips_4in1_params[] = { |
648 | { | 618 | { |
649 | .type = TUNER_PARAM_TYPE_NTSC, | 619 | .type = TUNER_PARAM_TYPE_NTSC, |
650 | .ranges = tuner_philips_4in1_ntsc_ranges, | 620 | .ranges = tuner_fm1236_mk3_ntsc_ranges, |
651 | .count = ARRAY_SIZE(tuner_philips_4in1_ntsc_ranges), | 621 | .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges), |
652 | }, | 622 | }, |
653 | }; | 623 | }; |
654 | 624 | ||
@@ -680,17 +650,11 @@ static struct tuner_params tuner_panasonic_vp27_params[] = { | |||
680 | 650 | ||
681 | /* ------------ TUNER_LG_NTSC_TAPE - LGINNOTEK NTSC ------------ */ | 651 | /* ------------ TUNER_LG_NTSC_TAPE - LGINNOTEK NTSC ------------ */ |
682 | 652 | ||
683 | static struct tuner_range tuner_lg_ntsc_tape_ranges[] = { | ||
684 | { 16 * 160.00 /*MHz*/, 0x8e, 0x01, }, | ||
685 | { 16 * 442.00 /*MHz*/, 0x8e, 0x02, }, | ||
686 | { 16 * 999.99 , 0x8e, 0x04, }, | ||
687 | }; | ||
688 | |||
689 | static struct tuner_params tuner_lg_ntsc_tape_params[] = { | 653 | static struct tuner_params tuner_lg_ntsc_tape_params[] = { |
690 | { | 654 | { |
691 | .type = TUNER_PARAM_TYPE_NTSC, | 655 | .type = TUNER_PARAM_TYPE_NTSC, |
692 | .ranges = tuner_lg_ntsc_tape_ranges, | 656 | .ranges = tuner_fm1236_mk3_ntsc_ranges, |
693 | .count = ARRAY_SIZE(tuner_lg_ntsc_tape_ranges), | 657 | .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges), |
694 | }, | 658 | }, |
695 | }; | 659 | }; |
696 | 660 | ||
@@ -746,17 +710,11 @@ static struct tuner_params tuner_tcl_2002n_params[] = { | |||
746 | 710 | ||
747 | /* ------------ TUNER_PHILIPS_FM1256_IH3 - Philips PAL ------------ */ | 711 | /* ------------ TUNER_PHILIPS_FM1256_IH3 - Philips PAL ------------ */ |
748 | 712 | ||
749 | static struct tuner_range tuner_philips_fm1256_ih3_pal_ranges[] = { | ||
750 | { 16 * 160.00 /*MHz*/, 0x8e, 0x01, }, | ||
751 | { 16 * 442.00 /*MHz*/, 0x8e, 0x02, }, | ||
752 | { 16 * 999.99 , 0x8e, 0x04, }, | ||
753 | }; | ||
754 | |||
755 | static struct tuner_params tuner_philips_fm1256_ih3_params[] = { | 713 | static struct tuner_params tuner_philips_fm1256_ih3_params[] = { |
756 | { | 714 | { |
757 | .type = TUNER_PARAM_TYPE_PAL, | 715 | .type = TUNER_PARAM_TYPE_PAL, |
758 | .ranges = tuner_philips_fm1256_ih3_pal_ranges, | 716 | .ranges = tuner_fm1236_mk3_ntsc_ranges, |
759 | .count = ARRAY_SIZE(tuner_philips_fm1256_ih3_pal_ranges), | 717 | .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges), |
760 | }, | 718 | }, |
761 | }; | 719 | }; |
762 | 720 | ||
@@ -826,33 +784,21 @@ static struct tuner_params tuner_philips_fq1216ame_mk4_params[] = { | |||
826 | 784 | ||
827 | /* ------------ TUNER_PHILIPS_FQ1236A_MK4 - Philips NTSC ------------ */ | 785 | /* ------------ TUNER_PHILIPS_FQ1236A_MK4 - Philips NTSC ------------ */ |
828 | 786 | ||
829 | static struct tuner_range tuner_philips_fq12_6a___mk4_ntsc_ranges[] = { | ||
830 | { 16 * 160.00 /*MHz*/, 0x8e, 0x01, }, | ||
831 | { 16 * 442.00 /*MHz*/, 0x8e, 0x02, }, | ||
832 | { 16 * 999.99 , 0x8e, 0x04, }, | ||
833 | }; | ||
834 | |||
835 | static struct tuner_params tuner_philips_fq1236a_mk4_params[] = { | 787 | static struct tuner_params tuner_philips_fq1236a_mk4_params[] = { |
836 | { | 788 | { |
837 | .type = TUNER_PARAM_TYPE_NTSC, | 789 | .type = TUNER_PARAM_TYPE_NTSC, |
838 | .ranges = tuner_philips_fq12_6a___mk4_ntsc_ranges, | 790 | .ranges = tuner_fm1236_mk3_ntsc_ranges, |
839 | .count = ARRAY_SIZE(tuner_philips_fq12_6a___mk4_ntsc_ranges), | 791 | .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges), |
840 | }, | 792 | }, |
841 | }; | 793 | }; |
842 | 794 | ||
843 | /* ------------ TUNER_YMEC_TVF_8531MF - Philips NTSC ------------ */ | 795 | /* ------------ TUNER_YMEC_TVF_8531MF - Philips NTSC ------------ */ |
844 | 796 | ||
845 | static struct tuner_range tuner_ymec_tvf_8531mf_ntsc_ranges[] = { | ||
846 | { 16 * 160.00 /*MHz*/, 0x8e, 0xa0, }, | ||
847 | { 16 * 454.00 /*MHz*/, 0x8e, 0x90, }, | ||
848 | { 16 * 999.99 , 0x8e, 0x30, }, | ||
849 | }; | ||
850 | |||
851 | static struct tuner_params tuner_ymec_tvf_8531mf_params[] = { | 797 | static struct tuner_params tuner_ymec_tvf_8531mf_params[] = { |
852 | { | 798 | { |
853 | .type = TUNER_PARAM_TYPE_NTSC, | 799 | .type = TUNER_PARAM_TYPE_NTSC, |
854 | .ranges = tuner_ymec_tvf_8531mf_ntsc_ranges, | 800 | .ranges = tuner_philips_ntsc_m_ranges, |
855 | .count = ARRAY_SIZE(tuner_ymec_tvf_8531mf_ntsc_ranges), | 801 | .count = ARRAY_SIZE(tuner_philips_ntsc_m_ranges), |
856 | }, | 802 | }, |
857 | }; | 803 | }; |
858 | 804 | ||
@@ -893,7 +839,7 @@ static struct tuner_params tuner_thomson_dtt761x_params[] = { | |||
893 | 839 | ||
894 | /* ------------ TUNER_TENA_9533_DI - Philips PAL ------------ */ | 840 | /* ------------ TUNER_TENA_9533_DI - Philips PAL ------------ */ |
895 | 841 | ||
896 | static struct tuner_range tuner_tuner_tena_9533_di_pal_ranges[] = { | 842 | static struct tuner_range tuner_tena_9533_di_pal_ranges[] = { |
897 | { 16 * 160.25 /*MHz*/, 0x8e, 0x01, }, | 843 | { 16 * 160.25 /*MHz*/, 0x8e, 0x01, }, |
898 | { 16 * 464.25 /*MHz*/, 0x8e, 0x02, }, | 844 | { 16 * 464.25 /*MHz*/, 0x8e, 0x02, }, |
899 | { 16 * 999.99 , 0x8e, 0x04, }, | 845 | { 16 * 999.99 , 0x8e, 0x04, }, |
@@ -902,8 +848,8 @@ static struct tuner_range tuner_tuner_tena_9533_di_pal_ranges[] = { | |||
902 | static struct tuner_params tuner_tena_9533_di_params[] = { | 848 | static struct tuner_params tuner_tena_9533_di_params[] = { |
903 | { | 849 | { |
904 | .type = TUNER_PARAM_TYPE_PAL, | 850 | .type = TUNER_PARAM_TYPE_PAL, |
905 | .ranges = tuner_tuner_tena_9533_di_pal_ranges, | 851 | .ranges = tuner_tena_9533_di_pal_ranges, |
906 | .count = ARRAY_SIZE(tuner_tuner_tena_9533_di_pal_ranges), | 852 | .count = ARRAY_SIZE(tuner_tena_9533_di_pal_ranges), |
907 | }, | 853 | }, |
908 | }; | 854 | }; |
909 | 855 | ||
@@ -916,7 +862,7 @@ static struct tuner_range tuner_philips_fmd1216me_mk3_pal_ranges[] = { | |||
916 | }; | 862 | }; |
917 | 863 | ||
918 | 864 | ||
919 | static struct tuner_params tuner_tuner_philips_fmd1216me_mk3_params[] = { | 865 | static struct tuner_params tuner_philips_fmd1216me_mk3_params[] = { |
920 | { | 866 | { |
921 | .type = TUNER_PARAM_TYPE_PAL, | 867 | .type = TUNER_PARAM_TYPE_PAL, |
922 | .ranges = tuner_philips_fmd1216me_mk3_pal_ranges, | 868 | .ranges = tuner_philips_fmd1216me_mk3_pal_ranges, |
@@ -944,17 +890,11 @@ static struct tuner_params tuner_tua6034_params[] = { | |||
944 | 890 | ||
945 | /* ------------ TUNER_YMEC_TVF66T5_B_DFF - Philips PAL ------------ */ | 891 | /* ------------ TUNER_YMEC_TVF66T5_B_DFF - Philips PAL ------------ */ |
946 | 892 | ||
947 | static struct tuner_range tuner_ymec_tvf66t5_b_dff_pal_ranges[] = { | ||
948 | { 16 * 160.25 /*MHz*/, 0x8e, 0x01, }, | ||
949 | { 16 * 464.25 /*MHz*/, 0x8e, 0x02, }, | ||
950 | { 16 * 999.99 , 0x8e, 0x08, }, | ||
951 | }; | ||
952 | |||
953 | static struct tuner_params tuner_ymec_tvf66t5_b_dff_params[] = { | 893 | static struct tuner_params tuner_ymec_tvf66t5_b_dff_params[] = { |
954 | { | 894 | { |
955 | .type = TUNER_PARAM_TYPE_PAL, | 895 | .type = TUNER_PARAM_TYPE_PAL, |
956 | .ranges = tuner_ymec_tvf66t5_b_dff_pal_ranges, | 896 | .ranges = tuner_tena_9533_di_pal_ranges, |
957 | .count = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_pal_ranges), | 897 | .count = ARRAY_SIZE(tuner_tena_9533_di_pal_ranges), |
958 | }, | 898 | }, |
959 | }; | 899 | }; |
960 | 900 | ||
@@ -999,7 +939,7 @@ static struct tuner_range tuner_tuv1236d_ntsc_ranges[] = { | |||
999 | }; | 939 | }; |
1000 | 940 | ||
1001 | 941 | ||
1002 | static struct tuner_params tuner_tuner_tuv1236d_params[] = { | 942 | static struct tuner_params tuner_tuv1236d_params[] = { |
1003 | { | 943 | { |
1004 | .type = TUNER_PARAM_TYPE_NTSC, | 944 | .type = TUNER_PARAM_TYPE_NTSC, |
1005 | .ranges = tuner_tuv1236d_ntsc_ranges, | 945 | .ranges = tuner_tuv1236d_ntsc_ranges, |
@@ -1308,7 +1248,7 @@ struct tunertype tuners[] = { | |||
1308 | }, | 1248 | }, |
1309 | [TUNER_PHILIPS_FMD1216ME_MK3] = { /* Philips PAL */ | 1249 | [TUNER_PHILIPS_FMD1216ME_MK3] = { /* Philips PAL */ |
1310 | .name = "Philips FMD1216ME MK3 Hybrid Tuner", | 1250 | .name = "Philips FMD1216ME MK3 Hybrid Tuner", |
1311 | .params = tuner_tuner_philips_fmd1216me_mk3_params, | 1251 | .params = tuner_philips_fmd1216me_mk3_params, |
1312 | }, | 1252 | }, |
1313 | [TUNER_LG_TDVS_H062F] = { /* LGINNOTEK ATSC */ | 1253 | [TUNER_LG_TDVS_H062F] = { /* LGINNOTEK ATSC */ |
1314 | .name = "LG TDVS-H062F/TUA6034", | 1254 | .name = "LG TDVS-H062F/TUA6034", |
@@ -1328,7 +1268,7 @@ struct tunertype tuners[] = { | |||
1328 | }, | 1268 | }, |
1329 | [TUNER_PHILIPS_TUV1236D] = { /* Philips ATSC */ | 1269 | [TUNER_PHILIPS_TUV1236D] = { /* Philips ATSC */ |
1330 | .name = "Philips TUV1236D ATSC/NTSC dual in", | 1270 | .name = "Philips TUV1236D ATSC/NTSC dual in", |
1331 | .params = tuner_tuner_tuv1236d_params, | 1271 | .params = tuner_tuv1236d_params, |
1332 | }, | 1272 | }, |
1333 | [TUNER_TNF_5335MF] = { /* Philips NTSC */ | 1273 | [TUNER_TNF_5335MF] = { /* Philips NTSC */ |
1334 | .name = "Tena TNF 5335 MF", | 1274 | .name = "Tena TNF 5335 MF", |