aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorGianluca Gennari <gennarone@gmail.com>2011-11-17 10:35:05 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-24 16:34:48 -0500
commitdd7aaa4d9d97a8571bcfa498e90b9daf540db1cf (patch)
treee3dbb8d71b9a44023493319f3cbe793619f0b6e2 /drivers/staging
parenta1ed02e9f1a0fa34e5b5e978209204033bb9cf4f (diff)
[media] staging: as102: Add support for Sky Italia Digital Key based on the same chip
Add support for the Sky Italia Digital Key, an USB dongle offered by Sky Italia to its customers for use with their satellite set-top-boxes. This is the "green led" model based on the Abilis as102 chip, while the so called "blue led" model is based on the Avermedia A867 design. Cc: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Sylwester Nawrocki <snjw23@gmail.com> Signed-off-by: Gianluca Gennari <gennarone@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/media/as102/as102_usb_drv.c2
-rw-r--r--drivers/staging/media/as102/as102_usb_drv.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/drivers/staging/media/as102/as102_usb_drv.c b/drivers/staging/media/as102/as102_usb_drv.c
index 9faab5b50045..7bcb28cdbabe 100644
--- a/drivers/staging/media/as102/as102_usb_drv.c
+++ b/drivers/staging/media/as102/as102_usb_drv.c
@@ -42,6 +42,7 @@ static struct usb_device_id as102_usb_id_table[] = {
42 { USB_DEVICE(PCTV_74E_USB_VID, PCTV_74E_USB_PID) }, 42 { USB_DEVICE(PCTV_74E_USB_VID, PCTV_74E_USB_PID) },
43 { USB_DEVICE(ELGATO_EYETV_DTT_USB_VID, ELGATO_EYETV_DTT_USB_PID) }, 43 { USB_DEVICE(ELGATO_EYETV_DTT_USB_VID, ELGATO_EYETV_DTT_USB_PID) },
44 { USB_DEVICE(NBOX_DVBT_DONGLE_USB_VID, NBOX_DVBT_DONGLE_USB_PID) }, 44 { USB_DEVICE(NBOX_DVBT_DONGLE_USB_VID, NBOX_DVBT_DONGLE_USB_PID) },
45 { USB_DEVICE(SKY_IT_DIGITAL_KEY_USB_VID, SKY_IT_DIGITAL_KEY_USB_PID) },
45 { } /* Terminating entry */ 46 { } /* Terminating entry */
46}; 47};
47 48
@@ -52,6 +53,7 @@ static const char * const as102_device_names[] = {
52 AS102_PCTV_74E, 53 AS102_PCTV_74E,
53 AS102_ELGATO_EYETV_DTT_NAME, 54 AS102_ELGATO_EYETV_DTT_NAME,
54 AS102_NBOX_DVBT_DONGLE_NAME, 55 AS102_NBOX_DVBT_DONGLE_NAME,
56 AS102_SKY_IT_DIGITAL_KEY_NAME,
55 NULL /* Terminating entry */ 57 NULL /* Terminating entry */
56}; 58};
57 59
diff --git a/drivers/staging/media/as102/as102_usb_drv.h b/drivers/staging/media/as102/as102_usb_drv.h
index 35925b7c1b25..fc2884ab02a2 100644
--- a/drivers/staging/media/as102/as102_usb_drv.h
+++ b/drivers/staging/media/as102/as102_usb_drv.h
@@ -47,6 +47,11 @@
47#define NBOX_DVBT_DONGLE_USB_VID 0x0b89 47#define NBOX_DVBT_DONGLE_USB_VID 0x0b89
48#define NBOX_DVBT_DONGLE_USB_PID 0x0007 48#define NBOX_DVBT_DONGLE_USB_PID 0x0007
49 49
50/* Sky Italia: Digital Key (green led) */
51#define AS102_SKY_IT_DIGITAL_KEY_NAME "Sky IT Digital Key (green led)"
52#define SKY_IT_DIGITAL_KEY_USB_VID 0x2137
53#define SKY_IT_DIGITAL_KEY_USB_PID 0x0001
54
50void as102_urb_stream_irq(struct urb *urb); 55void as102_urb_stream_irq(struct urb *urb);
51 56
52struct as10x_usb_token_cmd_t { 57struct as10x_usb_token_cmd_t {