summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPiotr Chmura <chmooreck@poczta.onet.pl>2011-10-31 12:24:53 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-03 07:44:03 -0200
commit8be62e73e5c088fb4a1c928bdaeac1b27d776043 (patch)
treedb0fecda856af6f6f31884b1476a121b522ac1a4 /drivers
parent9d8e18b1e966e43729a08421a29510f49f931b60 (diff)
downloadop-kernel-dev-8be62e73e5c088fb4a1c928bdaeac1b27d776043.zip
op-kernel-dev-8be62e73e5c088fb4a1c928bdaeac1b27d776043.tar.gz
[media] staging: as102: Add nBox Tuner Dongle support
Add support for nBox Tuner Dongle based on the same chip. Cc: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Piotr Chmura <chmooreck@poczta.onet.pl> Signed-off-by: Sylwester Nawrocki <snjw23@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-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 2586d55..70b21f3 100644
--- a/drivers/staging/media/as102/as102_usb_drv.c
+++ b/drivers/staging/media/as102/as102_usb_drv.c
@@ -41,6 +41,7 @@ static struct usb_device_id as102_usb_id_table[] = {
{ USB_DEVICE(AS102_USB_DEVICE_VENDOR_ID, AS102_USB_DEVICE_PID_0001) },
{ USB_DEVICE(PCTV_74E_USB_VID, PCTV_74E_USB_PID) },
{ USB_DEVICE(ELGATO_EYETV_DTT_USB_VID, ELGATO_EYETV_DTT_USB_PID) },
+ { USB_DEVICE(NBOX_DVBT_DONGLE_USB_VID, NBOX_DVBT_DONGLE_USB_PID) },
{ } /* Terminating entry */
};
@@ -50,6 +51,7 @@ static const char *as102_device_names[] = {
AS102_REFERENCE_DESIGN,
AS102_PCTV_74E,
AS102_ELGATO_EYETV_DTT_NAME,
+ AS102_NBOX_DVBT_DONGLE_NAME,
NULL /* Terminating entry */
};
diff --git a/drivers/staging/media/as102/as102_usb_drv.h b/drivers/staging/media/as102/as102_usb_drv.h
index a741462..da34d32 100644
--- a/drivers/staging/media/as102/as102_usb_drv.h
+++ b/drivers/staging/media/as102/as102_usb_drv.h
@@ -42,6 +42,11 @@
#define ELGATO_EYETV_DTT_USB_VID 0x0fd9
#define ELGATO_EYETV_DTT_USB_PID 0x002c
+/* nBox: nBox DVB-T Dongle */
+#define AS102_NBOX_DVBT_DONGLE_NAME "nBox DVB-T Dongle"
+#define NBOX_DVBT_DONGLE_USB_VID 0x0b89
+#define NBOX_DVBT_DONGLE_USB_PID 0x0007
+
#if (LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 18))
void as102_urb_stream_irq(struct urb *urb, struct pt_regs *regs);
#else
OpenPOWER on IntegriCloud