V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
authorAntti Palosaari <crope@iki.fi>
Mon, 22 Sep 2008 15:32:37 +0000 (12:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:37:03 +0000 (09:37 -0200)
- AVerMedia A309 Mini Card (07ca:a309)

Thanks-to: Dirk Vornheder <dirk_vornheder@yahoo.de>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/af9015.c
drivers/media/dvb/dvb-usb/dvb-usb-ids.h

index f962d89db1340bb28ecbf46abd705f9c2108f262..3f6217bd0638fdbfb143fcbd8cabd01cd14177f3 100644 (file)
@@ -1197,6 +1197,7 @@ static struct usb_device_id af9015_usb_table[] = {
        {USB_DEVICE(USB_VID_MSI_2,     USB_PID_MSI_DIGIVOX_DUO)},
        {USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_VOLAR_X_2)},
        {USB_DEVICE(USB_VID_TELESTAR,  USB_PID_TELESTAR_STARSTICK_2)},
+       {USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A309)},
        {0},
 };
 MODULE_DEVICE_TABLE(usb, af9015_usb_table);
@@ -1347,7 +1348,7 @@ static struct dvb_usb_device_properties af9015_properties[] = {
 
                .i2c_algo = &af9015_i2c_algo,
 
-               .num_device_descs = 4,
+               .num_device_descs = 5,
                .devices = {
                        {
                                .name = "Xtensions XD-380",
@@ -1369,6 +1370,11 @@ static struct dvb_usb_device_properties af9015_properties[] = {
                                .cold_ids = {&af9015_usb_table[13], NULL},
                                .warm_ids = {NULL},
                        },
+                       {
+                               .name = "AVerMedia A309",
+                               .cold_ids = {&af9015_usb_table[14], NULL},
+                               .warm_ids = {NULL},
+                       },
                }
        }
 };
index 66dc000d4e4938fc90921028c4734e3737643f73..7ae262e08f8f1f52d8fbdf05f0a79ac7fc2e8d10 100644 (file)
 #define USB_PID_AVERMEDIA_HYBRID_ULTRA_USB_M039R_DVBT  0x2039
 #define USB_PID_AVERMEDIA_VOLAR_X                      0xa815
 #define USB_PID_AVERMEDIA_VOLAR_X_2                    0x8150
+#define USB_PID_AVERMEDIA_A309                         0xa309
 #define USB_PID_TECHNOTREND_CONNECT_S2400               0x3006
 #define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY       0x005a
 #define USB_PID_TERRATEC_CINERGY_HT_USB_XE             0x0058