Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Bt8xx based DVB adapter driver |
| 3 | * |
| 4 | * Copyright (C) 2002,2003 Florian Schirmer <jolt@tuxbox.org> |
Johannes Stezenbach | a8d995c | 2005-09-09 13:02:19 -0700 | [diff] [blame] | 5 | * Copyright (C) 2002 Peter Hettkamp <peter.hettkamp@htp-tel.de> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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> |
| 8 | * |
| 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. |
| 13 | * |
| 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. |
| 18 | * |
| 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. |
| 22 | * |
| 23 | */ |
| 24 | |
| 25 | #ifndef DVB_BT8XX_H |
| 26 | #define DVB_BT8XX_H |
| 27 | |
| 28 | #include <linux/i2c.h> |
Ingo Molnar | 3593cab | 2006-02-07 06:49:14 -0200 | [diff] [blame] | 29 | #include <linux/mutex.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | #include "dvbdev.h" |
| 31 | #include "dvb_net.h" |
| 32 | #include "bttv.h" |
| 33 | #include "mt352.h" |
| 34 | #include "sp887x.h" |
Johannes Stezenbach | 50b215a | 2005-05-16 21:54:41 -0700 | [diff] [blame] | 35 | #include "dst_common.h" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | #include "nxt6000.h" |
| 37 | #include "cx24110.h" |
| 38 | #include "or51211.h" |
Michael Krufky | 3cff00d | 2005-11-08 21:35:12 -0800 | [diff] [blame] | 39 | #include "lgdt330x.h" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | |
| 41 | struct dvb_bt8xx_card { |
Ingo Molnar | 3593cab | 2006-02-07 06:49:14 -0200 | [diff] [blame] | 42 | struct mutex lock; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 43 | int nfeeds; |
| 44 | char card_name[32]; |
Johannes Stezenbach | fdc53a6 | 2005-05-16 21:54:39 -0700 | [diff] [blame] | 45 | struct dvb_adapter dvb_adapter; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | struct bt878 *bt; |
| 47 | unsigned int bttv_nr; |
| 48 | struct dvb_demux demux; |
| 49 | struct dmxdev dmxdev; |
| 50 | struct dmx_frontend fe_hw; |
| 51 | struct dmx_frontend fe_mem; |
| 52 | u32 gpio_mode; |
| 53 | u32 op_sync_orin; |
| 54 | u32 irq_err_ignore; |
| 55 | struct i2c_adapter *i2c_adapter; |
| 56 | struct dvb_net dvbnet; |
| 57 | |
| 58 | struct dvb_frontend* fe; |
| 59 | }; |
| 60 | |
| 61 | #endif /* DVB_BT8XX_H */ |