V4L/DVB (4088): Fixes for card cx88 #50
authorRicardo Cerqueira <v4l@cerqueira.org>
Thu, 8 Jun 2006 20:36:17 +0000 (17:36 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 25 Jun 2006 05:05:07 +0000 (02:05 -0300)
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>
Documentation/video4linux/CARDLIST.cx88
drivers/media/video/cx88/cx88-cards.c
drivers/media/video/cx88/cx88-input.c
drivers/media/video/cx88/cx88.h

index f9636fd6bc325bc357ab4f10ee05ebe2de31a47e..19a0a6a4679014dd58dc82892559a9b6115e9b63 100644 (file)
@@ -48,5 +48,5 @@
  47 -> pcHDTV HD5500 HDTV                                  [7063:5500]
  48 -> Kworld MCE 200 Deluxe                               [17de:0841]
  49 -> PixelView PlayTV P7000                              [1554:4813]
- 50 -> NPG Tech Real TV                                    [14f1:0842]
+ 50 -> NPG Tech Real TV FM Top 10                          [14f1:0842]
  51 -> WinFast DTV2000 H                                   [107d:665e]
index 910171be00fca32d9b7dde4b03e1876f6cfc8326..dab2fc37a5a2bfacc228ff65a29a629470117ee5 100644 (file)
@@ -1152,9 +1152,9 @@ struct cx88_board cx88_boards[] = {
                }},
                .blackbird = 1,
        },
-       [CX88_BOARD_NPGTECH_REALTV] = {
-               .name           = "NPG Tech Real TV",
-               .tuner_type     = TUNER_LG_PAL_NEW_TAPC,
+       [CX88_BOARD_NPGTECH_REALTV_TOP10FM] = {
+               .name           = "NPG Tech Real TV FM Top 10",
+               .tuner_type     = TUNER_TNF_5335MF, /* Actually a TNF9535 */
                .radio_type     = UNSET,
                .tuner_addr     = ADDR_UNSET,
                .radio_addr     = ADDR_UNSET,
@@ -1169,6 +1169,7 @@ struct cx88_board cx88_boards[] = {
                },{
                        .type   = CX88_VMUX_SVIDEO,
                        .vmux   = 2,
+                       .gpio0  = 0x078b,
                }},
                .radio = {
                         .type  = CX88_RADIO,
@@ -1429,7 +1430,7 @@ struct cx88_subid cx88_subids[] = {
        },{
                .subvendor = 0x14f1,
                .subdevice = 0x0842,
-               .card      = CX88_BOARD_NPGTECH_REALTV,
+               .card      = CX88_BOARD_NPGTECH_REALTV_TOP10FM,
        },{
                .subvendor = 0x107d,
                .subdevice = 0x665e,
index f599cfc5aba06bb9ebb2589c9a4896962fb90e29..1f5ccc95029cfd6a153d2cafb4e7378bc0e0a28d 100644 (file)
@@ -74,7 +74,7 @@ static void cx88_ir_handle_key(struct cx88_IR *ir)
 
        /* read gpio value */
        gpio = cx_read(ir->gpio_addr);
-       if (core->board == CX88_BOARD_NPGTECH_REALTV) {
+       if (core->board == CX88_BOARD_NPGTECH_REALTV_TOP10FM) {
                /* This board apparently uses a combination of 2 GPIO
                   to represent the keys. Additionally, the second GPIO
                   can be used for parity.
@@ -248,7 +248,7 @@ int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci)
                ir_type = IR_TYPE_PD;
                ir->sampling = 0xff00; /* address */
                break;
-       case CX88_BOARD_NPGTECH_REALTV:
+       case CX88_BOARD_NPGTECH_REALTV_TOP10FM:
                ir_codes = ir_codes_npgtech;
                ir->gpio_addr = MO_GP0_IO;
                ir->mask_keycode = 0xfa;
index b9501295a41606fe207404ef2e6945dd6263cf97..f27d4df5b30e1440908e867640e752757efac9fe 100644 (file)
@@ -193,7 +193,7 @@ extern struct sram_channel cx88_sram_channels[];
 #define CX88_BOARD_PCHDTV_HD5500           47
 #define CX88_BOARD_KWORLD_MCE200_DELUXE    48
 #define CX88_BOARD_PIXELVIEW_PLAYTV_P7000  49
-#define CX88_BOARD_NPGTECH_REALTV          50
+#define CX88_BOARD_NPGTECH_REALTV_TOP10FM  50
 #define CX88_BOARD_WINFAST_DTV2000H        51
 
 enum cx88_itype {