Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / media / dvb / bt8xx / dvb-bt8xx.h
blob80ef189f930f34cac24662c68b7d7284aaab2466
1 /*
2 * Bt8xx based DVB adapter driver
4 * Copyright (C) 2002,2003 Florian Schirmer <jolt@tuxbox.org>
5 * Copyright (C) 2002 Peter Hettkamp <peter.hettkamp@t-online.de>
6 * Copyright (C) 1999-2001 Ralph Metzler & Marcus Metzler for convergence integrated media GmbH
7 * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.de>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 #ifndef DVB_BT8XX_H
26 #define DVB_BT8XX_H
28 #include <linux/i2c.h>
29 #include "dvbdev.h"
30 #include "dvb_net.h"
31 #include "bttv.h"
32 #include "mt352.h"
33 #include "sp887x.h"
34 #include "dst.h"
35 #include "nxt6000.h"
36 #include "cx24110.h"
37 #include "or51211.h"
39 struct dvb_bt8xx_card {
40 struct semaphore lock;
41 int nfeeds;
42 char card_name[32];
43 struct dvb_adapter *dvb_adapter;
44 struct bt878 *bt;
45 unsigned int bttv_nr;
46 struct dvb_demux demux;
47 struct dmxdev dmxdev;
48 struct dmx_frontend fe_hw;
49 struct dmx_frontend fe_mem;
50 u32 gpio_mode;
51 u32 op_sync_orin;
52 u32 irq_err_ignore;
53 struct i2c_adapter *i2c_adapter;
54 struct dvb_net dvbnet;
56 struct dvb_frontend* fe;
59 #endif /* DVB_BT8XX_H */