blob: 7849abe2c61433c685c58dd231f27c79575b7c9b [file] [log] [blame]
Antti Palosaari53af1582008-05-28 03:57:39 -03001/*
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
Antti Palosaari5decdd22006-11-05 16:05:38 -030021#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
Antti Palosaari53af1582008-05-28 03:57:39 -030027#define deb_info(args...) dprintk(dvb_usb_au6610_debug, 0x01, args)
Antti Palosaari5decdd22006-11-05 16:05:38 -030028
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