aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-04-22 13:46:05 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:52 -0400
commitab8b870e430d3e2cfb299f81e0ae0aef7fe5bfda (patch)
treedebb8ff758f103ddd3af5fc54d4c7dad6b84a5b7 /drivers/media/video
parente827931e37295329be0bc0e6c0283bfa4807b8f9 (diff)
V4L/DVB (7381): tuner: rename TUNER_PHILIPS_ATSC to TUNER_PHILIPS_FCV1236D
TUNER_PHILIPS_ATSC is an ambiguous name for a tuner. Rename it to TUNER_PHILIPS_FCV1236D to be more descriptive. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/bt8xx/bttv-cards.c4
-rw-r--r--drivers/media/video/em28xx/em28xx-cards.c2
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-devattr.c2
-rw-r--r--drivers/media/video/saa7134/saa7134-cards.c2
-rw-r--r--drivers/media/video/tuner-simple.c6
-rw-r--r--drivers/media/video/tuner-types.c4
6 files changed, 10 insertions, 10 deletions
diff --git a/drivers/media/video/bt8xx/bttv-cards.c b/drivers/media/video/bt8xx/bttv-cards.c
index 22c2708e42ab..4a82cd2dd66a 100644
--- a/drivers/media/video/bt8xx/bttv-cards.c
+++ b/drivers/media/video/bt8xx/bttv-cards.c
@@ -2327,7 +2327,7 @@ struct tvcard bttv_tvcards[] = {
2327 .tuner = 0, 2327 .tuner = 0,
2328 .svhs = 2, 2328 .svhs = 2,
2329 .muxsel = { 2, 3, 1, 0 }, 2329 .muxsel = { 2, 3, 1, 0 },
2330 .tuner_type = TUNER_PHILIPS_ATSC, 2330 .tuner_type = TUNER_PHILIPS_FCV1236D,
2331 .tuner_addr = ADDR_UNSET, 2331 .tuner_addr = ADDR_UNSET,
2332 .radio_addr = ADDR_UNSET, 2332 .radio_addr = ADDR_UNSET,
2333 .has_dvb = 1, 2333 .has_dvb = 1,
@@ -2966,7 +2966,7 @@ struct tvcard bttv_tvcards[] = {
2966 [BTTV_BOARD_DVICO_FUSIONHDTV_2] = { 2966 [BTTV_BOARD_DVICO_FUSIONHDTV_2] = {
2967 .name = "DViCO FusionHDTV 2", 2967 .name = "DViCO FusionHDTV 2",
2968 .tuner = 0, 2968 .tuner = 0,
2969 .tuner_type = TUNER_PHILIPS_ATSC, /* FCV1236D */ 2969 .tuner_type = TUNER_PHILIPS_FCV1236D,
2970 .tuner_addr = ADDR_UNSET, 2970 .tuner_addr = ADDR_UNSET,
2971 .radio_addr = ADDR_UNSET, 2971 .radio_addr = ADDR_UNSET,
2972 .video_inputs = 3, 2972 .video_inputs = 3,
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index aae7753fef11..94aed008f83b 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -331,7 +331,7 @@ struct em28xx_board em28xx_boards[] = {
331 .name = "Kworld USB2800", 331 .name = "Kworld USB2800",
332 .is_em2800 = 1, 332 .is_em2800 = 1,
333 .vchannels = 3, 333 .vchannels = 3,
334 .tuner_type = TUNER_PHILIPS_ATSC, 334 .tuner_type = TUNER_PHILIPS_FCV1236D,
335 .tda9887_conf = TDA9887_PRESENT, 335 .tda9887_conf = TDA9887_PRESENT,
336 .decoder = EM28XX_SAA7113, 336 .decoder = EM28XX_SAA7113,
337 .input = { { 337 .input = { {
diff --git a/drivers/media/video/pvrusb2/pvrusb2-devattr.c b/drivers/media/video/pvrusb2/pvrusb2-devattr.c
index 17f461a78f13..c33ba35a4ddf 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-devattr.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-devattr.c
@@ -185,7 +185,7 @@ static const struct pvr2_device_desc pvr2_device_onair_usb2 = {
185 .shortname = "oa2", 185 .shortname = "oa2",
186 .client_modules.lst = pvr2_client_onair_usb2, 186 .client_modules.lst = pvr2_client_onair_usb2,
187 .client_modules.cnt = ARRAY_SIZE(pvr2_client_onair_usb2), 187 .client_modules.cnt = ARRAY_SIZE(pvr2_client_onair_usb2),
188 .default_tuner_type = TUNER_PHILIPS_ATSC, 188 .default_tuner_type = TUNER_PHILIPS_FCV1236D,
189 .flag_has_analogtuner = !0, 189 .flag_has_analogtuner = !0,
190 .flag_has_composite = !0, 190 .flag_has_composite = !0,
191 .flag_has_svideo = !0, 191 .flag_has_svideo = !0,
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c
index 6fde042ee317..55b056bc4e69 100644
--- a/drivers/media/video/saa7134/saa7134-cards.c
+++ b/drivers/media/video/saa7134/saa7134-cards.c
@@ -3333,7 +3333,7 @@ struct saa7134_board saa7134_boards[] = {
3333 /* Juan Pablo Sormani <sorman@gmail.com> */ 3333 /* Juan Pablo Sormani <sorman@gmail.com> */
3334 .name = "Encore ENLTV-FM", 3334 .name = "Encore ENLTV-FM",
3335 .audio_clock = 0x00200000, 3335 .audio_clock = 0x00200000,
3336 .tuner_type = TUNER_PHILIPS_ATSC, 3336 .tuner_type = TUNER_PHILIPS_FCV1236D,
3337 .radio_type = UNSET, 3337 .radio_type = UNSET,
3338 .tuner_addr = ADDR_UNSET, 3338 .tuner_addr = ADDR_UNSET,
3339 .radio_addr = ADDR_UNSET, 3339 .radio_addr = ADDR_UNSET,
diff --git a/drivers/media/video/tuner-simple.c b/drivers/media/video/tuner-simple.c
index 07007d67d45f..273030bda6d9 100644
--- a/drivers/media/video/tuner-simple.c
+++ b/drivers/media/video/tuner-simple.c
@@ -284,7 +284,7 @@ static void simple_set_rf_input(struct dvb_frontend *fe,
284 break; 284 break;
285 } 285 }
286 break; 286 break;
287 case TUNER_PHILIPS_ATSC: 287 case TUNER_PHILIPS_FCV1236D:
288 switch (rf) { 288 switch (rf) {
289 case 1: 289 case 1:
290 *cb |= 0x01; 290 *cb |= 0x01;
@@ -356,7 +356,7 @@ static int simple_std_setup(struct dvb_frontend *fe,
356 } 356 }
357 break; 357 break;
358 358
359 case TUNER_PHILIPS_ATSC: 359 case TUNER_PHILIPS_FCV1236D:
360 /* 0x00 -> ATSC antenna input 1 */ 360 /* 0x00 -> ATSC antenna input 1 */
361 /* 0x01 -> ATSC antenna input 2 */ 361 /* 0x01 -> ATSC antenna input 2 */
362 /* 0x02 -> NTSC antenna input 1 */ 362 /* 0x02 -> NTSC antenna input 1 */
@@ -766,7 +766,7 @@ static void simple_set_dvb(struct dvb_frontend *fe, u8 *buf,
766 buf[3] |= 1 << 3; 766 buf[3] |= 1 << 3;
767 break; 767 break;
768 case TUNER_PHILIPS_TUV1236D: 768 case TUNER_PHILIPS_TUV1236D:
769 case TUNER_PHILIPS_ATSC: 769 case TUNER_PHILIPS_FCV1236D:
770 { 770 {
771 unsigned int new_rf; 771 unsigned int new_rf;
772 772
diff --git a/drivers/media/video/tuner-types.c b/drivers/media/video/tuner-types.c
index ad16bc25197a..10dddca8b5d1 100644
--- a/drivers/media/video/tuner-types.c
+++ b/drivers/media/video/tuner-types.c
@@ -615,7 +615,7 @@ static struct tuner_params tuner_philips_pal_mk_params[] = {
615 }, 615 },
616}; 616};
617 617
618/* ---- TUNER_PHILIPS_ATSC - Philips FCV1236D (ATSC/NTSC) ---- */ 618/* ---- TUNER_PHILIPS_FCV1236D - Philips FCV1236D (ATSC/NTSC) ---- */
619 619
620static struct tuner_range tuner_philips_fcv1236d_ntsc_ranges[] = { 620static struct tuner_range tuner_philips_fcv1236d_ntsc_ranges[] = {
621 { 16 * 157.25 /*MHz*/, 0x8e, 0xa2, }, 621 { 16 * 157.25 /*MHz*/, 0x8e, 0xa2, },
@@ -1434,7 +1434,7 @@ struct tunertype tuners[] = {
1434 .params = tuner_philips_pal_mk_params, 1434 .params = tuner_philips_pal_mk_params,
1435 .count = ARRAY_SIZE(tuner_philips_pal_mk_params), 1435 .count = ARRAY_SIZE(tuner_philips_pal_mk_params),
1436 }, 1436 },
1437 [TUNER_PHILIPS_ATSC] = { /* Philips ATSC */ 1437 [TUNER_PHILIPS_FCV1236D] = { /* Philips ATSC */
1438 .name = "Philips FCV1236D ATSC/NTSC dual in", 1438 .name = "Philips FCV1236D ATSC/NTSC dual in",
1439 .params = tuner_philips_fcv1236d_params, 1439 .params = tuner_philips_fcv1236d_params,
1440 .count = ARRAY_SIZE(tuner_philips_fcv1236d_params), 1440 .count = ARRAY_SIZE(tuner_philips_fcv1236d_params),