aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2011-03-13 00:07:54 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-05-20 06:26:21 -0400
commit09bc1942c031686bfcf897746b6baf9d42c92ed5 (patch)
tree070f2eb14e92f7faff1ed4d1e195d31611a679f4
parent7030f52bbee5edafd408f985696516a0dc735ca7 (diff)
[media] em28xx: include model number for PCTV 330e
Given how PCTV has multiple products with the same model name, include the model number in the description and #define to make it a little more clear. Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--Documentation/video4linux/CARDLIST.em28xx2
-rw-r--r--drivers/media/video/em28xx/em28xx-cards.c7
-rw-r--r--drivers/media/video/em28xx/em28xx.h2
3 files changed, 5 insertions, 6 deletions
diff --git a/Documentation/video4linux/CARDLIST.em28xx b/Documentation/video4linux/CARDLIST.em28xx
index 31b485723bc5..9aae449440dc 100644
--- a/Documentation/video4linux/CARDLIST.em28xx
+++ b/Documentation/video4linux/CARDLIST.em28xx
@@ -54,7 +54,7 @@
54 53 -> Pinnacle Hybrid Pro (em2881) 54 53 -> Pinnacle Hybrid Pro (em2881)
55 54 -> Kworld VS-DVB-T 323UR (em2882) [eb1a:e323] 55 54 -> Kworld VS-DVB-T 323UR (em2882) [eb1a:e323]
56 55 -> Terratec Cinnergy Hybrid T USB XS (em2882) (em2882) [0ccd:005e,0ccd:0042] 56 55 -> Terratec Cinnergy Hybrid T USB XS (em2882) (em2882) [0ccd:005e,0ccd:0042]
57 56 -> Pinnacle Hybrid Pro (2) (em2882) [2304:0226] 57 56 -> Pinnacle Hybrid Pro (330e) (em2882) [2304:0226]
58 57 -> Kworld PlusTV HD Hybrid 330 (em2883) [eb1a:a316] 58 57 -> Kworld PlusTV HD Hybrid 330 (em2883) [eb1a:a316]
59 58 -> Compro VideoMate ForYou/Stereo (em2820/em2840) [185b:2041] 59 58 -> Compro VideoMate ForYou/Stereo (em2820/em2840) [185b:2041]
60 60 -> Hauppauge WinTV HVR 850 (em2883) [2040:651f] 60 60 -> Hauppauge WinTV HVR 850 (em2883) [2040:651f]
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index b4c322d1609c..99aa1fc148cf 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -1457,8 +1457,8 @@ struct em28xx_board em28xx_boards[] = {
1457 .gpio = pinnacle_hybrid_pro_analog, 1457 .gpio = pinnacle_hybrid_pro_analog,
1458 } }, 1458 } },
1459 }, 1459 },
1460 [EM2882_BOARD_PINNACLE_HYBRID_PRO] = { 1460 [EM2882_BOARD_PINNACLE_HYBRID_PRO_330E] = {
1461 .name = "Pinnacle Hybrid Pro (2)", 1461 .name = "Pinnacle Hybrid Pro (330e)",
1462 .valid = EM28XX_BOARD_NOT_VALIDATED, 1462 .valid = EM28XX_BOARD_NOT_VALIDATED,
1463 .tuner_type = TUNER_XC2028, 1463 .tuner_type = TUNER_XC2028,
1464 .tuner_gpio = default_tuner_gpio, 1464 .tuner_gpio = default_tuner_gpio,
@@ -1872,7 +1872,7 @@ struct usb_device_id em28xx_id_table[] = {
1872 { USB_DEVICE(0x2304, 0x021a), 1872 { USB_DEVICE(0x2304, 0x021a),
1873 .driver_info = EM2820_BOARD_PINNACLE_DVC_90 }, 1873 .driver_info = EM2820_BOARD_PINNACLE_DVC_90 },
1874 { USB_DEVICE(0x2304, 0x0226), 1874 { USB_DEVICE(0x2304, 0x0226),
1875 .driver_info = EM2882_BOARD_PINNACLE_HYBRID_PRO }, 1875 .driver_info = EM2882_BOARD_PINNACLE_HYBRID_PRO_330E },
1876 { USB_DEVICE(0x2304, 0x0227), 1876 { USB_DEVICE(0x2304, 0x0227),
1877 .driver_info = EM2880_BOARD_PINNACLE_PCTV_HD_PRO }, 1877 .driver_info = EM2880_BOARD_PINNACLE_PCTV_HD_PRO },
1878 { USB_DEVICE(0x0413, 0x6023), 1878 { USB_DEVICE(0x0413, 0x6023),
@@ -2238,7 +2238,6 @@ static void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl)
2238 ctl->demod = XC3028_FE_ZARLINK456; 2238 ctl->demod = XC3028_FE_ZARLINK456;
2239 break; 2239 break;
2240 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2: 2240 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2:
2241 /* djh - Not sure which demod we need here */
2242 ctl->demod = XC3028_FE_DEFAULT; 2241 ctl->demod = XC3028_FE_DEFAULT;
2243 break; 2242 break;
2244 case EM2880_BOARD_AMD_ATI_TV_WONDER_HD_600: 2243 case EM2880_BOARD_AMD_ATI_TV_WONDER_HD_600:
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index 6f2795a3d4b7..a2222fc6c016 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -97,7 +97,7 @@
97#define EM2881_BOARD_PINNACLE_HYBRID_PRO 53 97#define EM2881_BOARD_PINNACLE_HYBRID_PRO 53
98#define EM2882_BOARD_KWORLD_VS_DVBT 54 98#define EM2882_BOARD_KWORLD_VS_DVBT 54
99#define EM2882_BOARD_TERRATEC_HYBRID_XS 55 99#define EM2882_BOARD_TERRATEC_HYBRID_XS 55
100#define EM2882_BOARD_PINNACLE_HYBRID_PRO 56 100#define EM2882_BOARD_PINNACLE_HYBRID_PRO_330E 56
101#define EM2883_BOARD_KWORLD_HYBRID_330U 57 101#define EM2883_BOARD_KWORLD_HYBRID_330U 57
102#define EM2820_BOARD_COMPRO_VIDEOMATE_FORYOU 58 102#define EM2820_BOARD_COMPRO_VIDEOMATE_FORYOU 58
103#define EM2883_BOARD_HAUPPAUGE_WINTV_HVR_850 60 103#define EM2883_BOARD_HAUPPAUGE_WINTV_HVR_850 60