Merge branch 'media_fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[cris-mirror.git] / drivers / media / dvb / dvb-usb / au6610.h
blob7849abe2c61433c685c58dd231f27c79575b7c9b
1 /*
2 * DVB USB Linux driver for Alcor Micro AU6610 DVB-T USB2.0.
4 * Copyright (C) 2006 Antti Palosaari <crope@iki.fi>
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.
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.
21 #ifndef _DVB_USB_AU6610_H_
22 #define _DVB_USB_AU6610_H_
24 #define DVB_USB_LOG_PREFIX "au6610"
25 #include "dvb-usb.h"
27 #define deb_info(args...) dprintk(dvb_usb_au6610_debug, 0x01, args)
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
34 #define AU6610_USB_TIMEOUT 1000
36 #define AU6610_ALTSETTING_COUNT 6
37 #define AU6610_ALTSETTING 5
39 #endif