Pierrick Hascoet | 41b44e0 | 2011-10-31 12:24:39 -0300 | [diff] [blame] | 1 | /* |
| 2 | * Abilis Systems Single DVB-T Receiver |
| 3 | * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com> |
Devin Heitmueller | c7a6c00 | 2011-10-31 12:24:45 -0300 | [diff] [blame] | 4 | * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.com> |
Pierrick Hascoet | 41b44e0 | 2011-10-31 12:24:39 -0300 | [diff] [blame] | 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. |
Pierrick Hascoet | 41b44e0 | 2011-10-31 12:24:39 -0300 | [diff] [blame] | 15 | */ |
Pierrick Hascoet | 41b44e0 | 2011-10-31 12:24:39 -0300 | [diff] [blame] | 16 | #ifndef _AS102_USB_DRV_H_ |
| 17 | #define _AS102_USB_DRV_H_ |
| 18 | |
| 19 | #define AS102_USB_DEVICE_TX_CTRL_CMD 0xF1 |
| 20 | #define AS102_USB_DEVICE_RX_CTRL_CMD 0xF2 |
| 21 | |
| 22 | /* define these values to match the supported devices */ |
| 23 | |
| 24 | /* Abilis system: "TITAN" */ |
Devin Heitmueller | 4f7b7c0 | 2011-10-31 12:24:48 -0300 | [diff] [blame] | 25 | #define AS102_REFERENCE_DESIGN "Abilis Systems DVB-Titan" |
Pierrick Hascoet | 41b44e0 | 2011-10-31 12:24:39 -0300 | [diff] [blame] | 26 | #define AS102_USB_DEVICE_VENDOR_ID 0x1BA6 |
| 27 | #define AS102_USB_DEVICE_PID_0001 0x0001 |
| 28 | |
| 29 | /* PCTV Systems: PCTV picoStick (74e) */ |
Devin Heitmueller | 4f7b7c0 | 2011-10-31 12:24:48 -0300 | [diff] [blame] | 30 | #define AS102_PCTV_74E "PCTV Systems picoStick (74e)" |
Pierrick Hascoet | 41b44e0 | 2011-10-31 12:24:39 -0300 | [diff] [blame] | 31 | #define PCTV_74E_USB_VID 0x2013 |
| 32 | #define PCTV_74E_USB_PID 0x0246 |
| 33 | |
Devin Heitmueller | 5f9745b | 2011-10-31 12:24:47 -0300 | [diff] [blame] | 34 | /* Elgato: EyeTV DTT Deluxe */ |
Devin Heitmueller | 4f7b7c0 | 2011-10-31 12:24:48 -0300 | [diff] [blame] | 35 | #define AS102_ELGATO_EYETV_DTT_NAME "Elgato EyeTV DTT Deluxe" |
Devin Heitmueller | 5f9745b | 2011-10-31 12:24:47 -0300 | [diff] [blame] | 36 | #define ELGATO_EYETV_DTT_USB_VID 0x0fd9 |
| 37 | #define ELGATO_EYETV_DTT_USB_PID 0x002c |
| 38 | |
Piotr Chmura | 8be62e7 | 2011-10-31 12:24:53 -0300 | [diff] [blame] | 39 | /* nBox: nBox DVB-T Dongle */ |
| 40 | #define AS102_NBOX_DVBT_DONGLE_NAME "nBox DVB-T Dongle" |
| 41 | #define NBOX_DVBT_DONGLE_USB_VID 0x0b89 |
| 42 | #define NBOX_DVBT_DONGLE_USB_PID 0x0007 |
| 43 | |
Gianluca Gennari | dd7aaa4 | 2011-11-17 12:35:05 -0300 | [diff] [blame] | 44 | /* Sky Italia: Digital Key (green led) */ |
| 45 | #define AS102_SKY_IT_DIGITAL_KEY_NAME "Sky IT Digital Key (green led)" |
| 46 | #define SKY_IT_DIGITAL_KEY_USB_VID 0x2137 |
| 47 | #define SKY_IT_DIGITAL_KEY_USB_PID 0x0001 |
| 48 | |
Pierrick Hascoet | 41b44e0 | 2011-10-31 12:24:39 -0300 | [diff] [blame] | 49 | void as102_urb_stream_irq(struct urb *urb); |
Pierrick Hascoet | 41b44e0 | 2011-10-31 12:24:39 -0300 | [diff] [blame] | 50 | |
| 51 | struct as10x_usb_token_cmd_t { |
| 52 | /* token cmd */ |
| 53 | struct as10x_cmd_t c; |
| 54 | /* token response */ |
| 55 | struct as10x_cmd_t r; |
| 56 | }; |
| 57 | #endif |