[media] rtl28xxu: support Terratec Noxon DAB/DAB+ stick
authorThomas Mair <thomas.mair86@googlemail.com>
Fri, 18 May 2012 17:47:44 +0000 (14:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 5 Jul 2012 15:59:00 +0000 (12:59 -0300)
Signed-off-by: Hans-Frieder Vogt <hfvogt@gmx.net>
Signed-off-by: Thomas Mair <thomas.mair86@googlemail.com>
Acked-by: Antti Palosaari <crope@iki.fi>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dvb-usb-ids.h
drivers/media/dvb/dvb-usb/rtl28xxu.c

index 360f6b7f3f71ba3bc9b7a72872e1cd18b9556830..26c44818a5abf23d96f344fd0e83de75b20a47b4 100644 (file)
 #define USB_PID_TERRATEC_H7_2                          0x10a3
 #define USB_PID_TERRATEC_T3                            0x10a0
 #define USB_PID_TERRATEC_T5                            0x10a1
+#define USB_PID_NOXON_DAB_STICK                                0x00b3
 #define USB_PID_PINNACLE_EXPRESSCARD_320CX             0x022e
 #define USB_PID_PINNACLE_PCTV2000E                     0x022c
 #define USB_PID_PINNACLE_PCTV_DVB_T_FLASH              0x0228
index c1e1674aa8ba059563afd817de92219dc3a90cf5..6bd0bd792437d38c2fd769470ddaa3a943f49016 100644 (file)
@@ -1156,6 +1156,7 @@ enum rtl28xxu_usb_table_entry {
        RTL2831U_14AA_0161,
        RTL2832U_0CCD_00A9,
        RTL2832U_1F4D_B803,
+       RTL2832U_0CCD_00B3,
 };
 
 static struct usb_device_id rtl28xxu_table[] = {
@@ -1172,6 +1173,8 @@ static struct usb_device_id rtl28xxu_table[] = {
                USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_T_STICK_BLACK_REV1)},
        [RTL2832U_1F4D_B803] = {
                USB_DEVICE(USB_VID_GTEK, USB_PID_DELOCK_USB2_DVBT)},
+       [RTL2832U_0CCD_00B3] = {
+               USB_DEVICE(USB_VID_TERRATEC, USB_PID_NOXON_DAB_STICK)},
        {} /* terminating entry */
 };
 
@@ -1285,7 +1288,7 @@ static struct dvb_usb_device_properties rtl28xxu_properties[] = {
 
                .i2c_algo = &rtl28xxu_i2c_algo,
 
-               .num_device_descs = 2,
+               .num_device_descs = 3,
                .devices = {
                        {
                                .name = "Terratec Cinergy T Stick Black",
@@ -1299,6 +1302,12 @@ static struct dvb_usb_device_properties rtl28xxu_properties[] = {
                                        &rtl28xxu_table[RTL2832U_1F4D_B803],
                                },
                        },
+                       {
+                               .name = "NOXON DAB/DAB+ USB dongle",
+                               .warm_ids = {
+                                       &rtl28xxu_table[RTL2832U_0CCD_00B3],
+                               },
+                       },
                }
        },