2 * Abilis Systems Single DVB-T Receiver
3 * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
4 * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.com>
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)
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.
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.
20 #include <linux/version.h>
22 #ifndef _AS102_USB_DRV_H_
23 #define _AS102_USB_DRV_H_
25 #define AS102_USB_DEVICE_TX_CTRL_CMD 0xF1
26 #define AS102_USB_DEVICE_RX_CTRL_CMD 0xF2
28 /* define these values to match the supported devices */
30 /* Abilis system: "TITAN" */
31 #define AS102_USB_DEVICE_VENDOR_ID 0x1BA6
32 #define AS102_USB_DEVICE_PID_0001 0x0001
34 /* PCTV Systems: PCTV picoStick (74e) */
35 #define DEVICE_FULL_NAME "PCTV Systems : PCTV picoStick (74e)"
36 #define PCTV_74E_USB_VID 0x2013
37 #define PCTV_74E_USB_PID 0x0246
39 #if (LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 18))
40 void as102_urb_stream_irq(struct urb *urb, struct pt_regs *regs);
42 void as102_urb_stream_irq(struct urb *urb);
46 struct as10x_usb_token_cmd_t {
53 /* EOF - vim: set textwidth=80 ts=8 sw=8 sts=8 noet: */