aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorRicardo Cerqueira <v4l@cerqueira.org>2006-06-08 16:36:17 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:05:07 -0400
commitbe4f451975c6514a9e12451c2ae2ce91d5673b06 (patch)
treeb217deec3af38171343fc25d2d6f10b9798afb62 /drivers/media
parent2ed64eb9e7b4cf27055f78a7bd2ccf33a912d0cd (diff)
V4L/DVB (4088): Fixes for card cx88 #50
The description of the card has been updated to it's full name/model. The tuner has also been switched to a more compatible one (radio wasn't working, now it is) Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/cx88/cx88-cards.c9
-rw-r--r--drivers/media/video/cx88/cx88-input.c4
-rw-r--r--drivers/media/video/cx88/cx88.h2
3 files changed, 8 insertions, 7 deletions
diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c
index 910171be00f..dab2fc37a5a 100644
--- a/drivers/media/video/cx88/cx88-cards.c
+++ b/drivers/media/video/cx88/cx88-cards.c
@@ -1152,9 +1152,9 @@ struct cx88_board cx88_boards[] = {
1152 }}, 1152 }},
1153 .blackbird = 1, 1153 .blackbird = 1,
1154 }, 1154 },
1155 [CX88_BOARD_NPGTECH_REALTV] = { 1155 [CX88_BOARD_NPGTECH_REALTV_TOP10FM] = {
1156 .name = "NPG Tech Real TV", 1156 .name = "NPG Tech Real TV FM Top 10",
1157 .tuner_type = TUNER_LG_PAL_NEW_TAPC, 1157 .tuner_type = TUNER_TNF_5335MF, /* Actually a TNF9535 */
1158 .radio_type = UNSET, 1158 .radio_type = UNSET,
1159 .tuner_addr = ADDR_UNSET, 1159 .tuner_addr = ADDR_UNSET,
1160 .radio_addr = ADDR_UNSET, 1160 .radio_addr = ADDR_UNSET,
@@ -1169,6 +1169,7 @@ struct cx88_board cx88_boards[] = {
1169 },{ 1169 },{
1170 .type = CX88_VMUX_SVIDEO, 1170 .type = CX88_VMUX_SVIDEO,
1171 .vmux = 2, 1171 .vmux = 2,
1172 .gpio0 = 0x078b,
1172 }}, 1173 }},
1173 .radio = { 1174 .radio = {
1174 .type = CX88_RADIO, 1175 .type = CX88_RADIO,
@@ -1429,7 +1430,7 @@ struct cx88_subid cx88_subids[] = {
1429 },{ 1430 },{
1430 .subvendor = 0x14f1, 1431 .subvendor = 0x14f1,
1431 .subdevice = 0x0842, 1432 .subdevice = 0x0842,
1432 .card = CX88_BOARD_NPGTECH_REALTV, 1433 .card = CX88_BOARD_NPGTECH_REALTV_TOP10FM,
1433 },{ 1434 },{
1434 .subvendor = 0x107d, 1435 .subvendor = 0x107d,
1435 .subdevice = 0x665e, 1436 .subdevice = 0x665e,
diff --git a/drivers/media/video/cx88/cx88-input.c b/drivers/media/video/cx88/cx88-input.c
index f599cfc5aba..1f5ccc95029 100644
--- a/drivers/media/video/cx88/cx88-input.c
+++ b/drivers/media/video/cx88/cx88-input.c
@@ -74,7 +74,7 @@ static void cx88_ir_handle_key(struct cx88_IR *ir)
74 74
75 /* read gpio value */ 75 /* read gpio value */
76 gpio = cx_read(ir->gpio_addr); 76 gpio = cx_read(ir->gpio_addr);
77 if (core->board == CX88_BOARD_NPGTECH_REALTV) { 77 if (core->board == CX88_BOARD_NPGTECH_REALTV_TOP10FM) {
78 /* This board apparently uses a combination of 2 GPIO 78 /* This board apparently uses a combination of 2 GPIO
79 to represent the keys. Additionally, the second GPIO 79 to represent the keys. Additionally, the second GPIO
80 can be used for parity. 80 can be used for parity.
@@ -248,7 +248,7 @@ int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci)
248 ir_type = IR_TYPE_PD; 248 ir_type = IR_TYPE_PD;
249 ir->sampling = 0xff00; /* address */ 249 ir->sampling = 0xff00; /* address */
250 break; 250 break;
251 case CX88_BOARD_NPGTECH_REALTV: 251 case CX88_BOARD_NPGTECH_REALTV_TOP10FM:
252 ir_codes = ir_codes_npgtech; 252 ir_codes = ir_codes_npgtech;
253 ir->gpio_addr = MO_GP0_IO; 253 ir->gpio_addr = MO_GP0_IO;
254 ir->mask_keycode = 0xfa; 254 ir->mask_keycode = 0xfa;
diff --git a/drivers/media/video/cx88/cx88.h b/drivers/media/video/cx88/cx88.h
index b9501295a41..f27d4df5b30 100644
--- a/drivers/media/video/cx88/cx88.h
+++ b/drivers/media/video/cx88/cx88.h
@@ -193,7 +193,7 @@ extern struct sram_channel cx88_sram_channels[];
193#define CX88_BOARD_PCHDTV_HD5500 47 193#define CX88_BOARD_PCHDTV_HD5500 47
194#define CX88_BOARD_KWORLD_MCE200_DELUXE 48 194#define CX88_BOARD_KWORLD_MCE200_DELUXE 48
195#define CX88_BOARD_PIXELVIEW_PLAYTV_P7000 49 195#define CX88_BOARD_PIXELVIEW_PLAYTV_P7000 49
196#define CX88_BOARD_NPGTECH_REALTV 50 196#define CX88_BOARD_NPGTECH_REALTV_TOP10FM 50
197#define CX88_BOARD_WINFAST_DTV2000H 51 197#define CX88_BOARD_WINFAST_DTV2000H 51
198 198
199enum cx88_itype { 199enum cx88_itype {