Commit | Line | Data |
---|---|---|
41b44e04 PH |
1 | /* |
2 | * Abilis Systems Single DVB-T Receiver | |
3 | * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com> | |
c7a6c001 | 4 | * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.com> |
41b44e04 PH |
5 | * |
6 | * This program is free software; you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License as published by | |
8 | * the Free Software Foundation; either version 2, or (at your option) | |
9 | * any later version. | |
10 | * | |
11 | * This program is distributed in the hope that it will be useful, | |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | * GNU General Public License for more details. | |
15 | * | |
16 | * You should have received a copy of the GNU General Public License | |
17 | * along with this program; if not, write to the Free Software | |
18 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
19 | */ | |
20 | #include <linux/version.h> | |
21 | ||
22 | #ifndef _AS102_USB_DRV_H_ | |
23 | #define _AS102_USB_DRV_H_ | |
24 | ||
25 | #define AS102_USB_DEVICE_TX_CTRL_CMD 0xF1 | |
26 | #define AS102_USB_DEVICE_RX_CTRL_CMD 0xF2 | |
27 | ||
28 | /* define these values to match the supported devices */ | |
29 | ||
30 | /* Abilis system: "TITAN" */ | |
4f7b7c01 | 31 | #define AS102_REFERENCE_DESIGN "Abilis Systems DVB-Titan" |
41b44e04 PH |
32 | #define AS102_USB_DEVICE_VENDOR_ID 0x1BA6 |
33 | #define AS102_USB_DEVICE_PID_0001 0x0001 | |
34 | ||
35 | /* PCTV Systems: PCTV picoStick (74e) */ | |
4f7b7c01 | 36 | #define AS102_PCTV_74E "PCTV Systems picoStick (74e)" |
41b44e04 PH |
37 | #define PCTV_74E_USB_VID 0x2013 |
38 | #define PCTV_74E_USB_PID 0x0246 | |
39 | ||
5f9745b2 | 40 | /* Elgato: EyeTV DTT Deluxe */ |
4f7b7c01 | 41 | #define AS102_ELGATO_EYETV_DTT_NAME "Elgato EyeTV DTT Deluxe" |
5f9745b2 DH |
42 | #define ELGATO_EYETV_DTT_USB_VID 0x0fd9 |
43 | #define ELGATO_EYETV_DTT_USB_PID 0x002c | |
44 | ||
8be62e73 PC |
45 | /* nBox: nBox DVB-T Dongle */ |
46 | #define AS102_NBOX_DVBT_DONGLE_NAME "nBox DVB-T Dongle" | |
47 | #define NBOX_DVBT_DONGLE_USB_VID 0x0b89 | |
48 | #define NBOX_DVBT_DONGLE_USB_PID 0x0007 | |
49 | ||
41b44e04 | 50 | void as102_urb_stream_irq(struct urb *urb); |
41b44e04 PH |
51 | |
52 | struct as10x_usb_token_cmd_t { | |
53 | /* token cmd */ | |
54 | struct as10x_cmd_t c; | |
55 | /* token response */ | |
56 | struct as10x_cmd_t r; | |
57 | }; | |
58 | #endif | |
59 | /* EOF - vim: set textwidth=80 ts=8 sw=8 sts=8 noet: */ |