aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-10-24 10:08:20 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:01:01 -0500
commit12466577853b0d057f4416f4c7020e544f3a4209 (patch)
tree855136ae91024a8cca89454c67bd9a0c7125d0c6 /drivers/media/video/ivtv
parent07533b6a8097c6fdb17fb154725757b64238a8d9 (diff)
V4L/DVB (6422): Add the pending entries for xc2028/3028 based boards
Also replaces all occurrences of TUNER_XCEIVE_XC3028 to TUNER_XC2028. Some work is still may be required to make sure that non-tm6000 drivers will be capable of using tuner-xc2028. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv')
-rw-r--r--drivers/media/video/ivtv/ivtv-cards.c6
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/ivtv/ivtv-cards.c b/drivers/media/video/ivtv/ivtv-cards.c
index b6a8be622d3c..aaa114b5c268 100644
--- a/drivers/media/video/ivtv/ivtv-cards.c
+++ b/drivers/media/video/ivtv/ivtv-cards.c
@@ -848,7 +848,7 @@ static const struct ivtv_card ivtv_card_pg600v2 = {
848 { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL }, 848 { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL },
849 }, 849 },
850 .tuners = { 850 .tuners = {
851 { .std = V4L2_STD_ALL, .tuner = TUNER_XCEIVE_XC3028 }, 851 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
852 }, 852 },
853 .pci_list = ivtv_pci_pg600v2, 853 .pci_list = ivtv_pci_pg600v2,
854}; 854};
@@ -879,7 +879,7 @@ static const struct ivtv_card ivtv_card_club3d = {
879 { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL }, 879 { IVTV_CARD_INPUT_LINE_IN1, CX25840_AUDIO_SERIAL },
880 }, 880 },
881 .tuners = { 881 .tuners = {
882 { .std = V4L2_STD_ALL, .tuner = TUNER_XCEIVE_XC3028 }, 882 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
883 }, 883 },
884 .pci_list = ivtv_pci_club3d, 884 .pci_list = ivtv_pci_club3d,
885}; 885};
@@ -910,7 +910,7 @@ static const struct ivtv_card ivtv_card_avertv_mce116 = {
910 }, 910 },
911 .gpio_init = { .direction = 0xe000, .initial_value = 0x4000 }, /* enable line-in */ 911 .gpio_init = { .direction = 0xe000, .initial_value = 0x4000 }, /* enable line-in */
912 .tuners = { 912 .tuners = {
913 { .std = V4L2_STD_ALL, .tuner = TUNER_XCEIVE_XC3028 }, 913 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
914 }, 914 },
915 .pci_list = ivtv_pci_avertv_mce116, 915 .pci_list = ivtv_pci_avertv_mce116,
916}; 916};
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c
index 6d2dd8764f81..ec40453e46e4 100644
--- a/drivers/media/video/ivtv/ivtv-driver.c
+++ b/drivers/media/video/ivtv/ivtv-driver.c
@@ -829,7 +829,7 @@ static void ivtv_load_and_init_modules(struct ivtv *itv)
829 /* load modules */ 829 /* load modules */
830#ifndef CONFIG_VIDEO_TUNER 830#ifndef CONFIG_VIDEO_TUNER
831 if (hw & IVTV_HW_TUNER) { 831 if (hw & IVTV_HW_TUNER) {
832 if (itv->options.tuner == TUNER_XCEIVE_XC3028) { 832 if (itv->options.tuner == TUNER_XC2028) {
833 IVTV_INFO("Xceive tuner not yet supported, only composite and S-Video inputs will be available\n"); 833 IVTV_INFO("Xceive tuner not yet supported, only composite and S-Video inputs will be available\n");
834 itv->tunerid = 1; 834 itv->tunerid = 1;
835 } 835 }