Merge branch 'sched/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip...
[pandora-kernel.git] / drivers / media / dvb / dvb-usb / au6610.h
1 /*
2  * DVB USB Linux driver for Alcor Micro AU6610 DVB-T USB2.0.
3  *
4  * Copyright (C) 2006 Antti Palosaari <crope@iki.fi>
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 of the License, or
9  *    (at your option) 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
21 #ifndef _DVB_USB_AU6610_H_
22 #define _DVB_USB_AU6610_H_
23
24 #define DVB_USB_LOG_PREFIX "au6610"
25 #include "dvb-usb.h"
26
27 #define deb_info(args...)   dprintk(dvb_usb_au6610_debug, 0x01, args)
28
29 #define AU6610_REQ_I2C_WRITE    0x14
30 #define AU6610_REQ_I2C_READ     0x13
31 #define AU6610_REQ_USB_WRITE    0x16
32 #define AU6610_REQ_USB_READ     0x15
33
34 #define AU6610_USB_TIMEOUT 1000
35
36 #define AU6610_ALTSETTING_COUNT 6
37 #define AU6610_ALTSETTING       5
38
39 #endif