Merge branch 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mcheha...
[pandora-kernel.git] / drivers / staging / dt3155 / dt3155_drv.h
1 /*
2
3 Copyright 1996,2002 Gregory D. Hager, Alfred A. Rizzi, Noah J. Cowan,
4                     Scott Smedley
5
6 This file is part of the DT3155 Device Driver.
7
8 The DT3155 Device Driver is free software; you can redistribute it
9 and/or modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2 of the
11 License, or (at your option) any later version.
12
13 The DT3155 Device Driver is distributed in the hope that it will be
14 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
15 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with the DT3155 Device Driver; if not, write to the Free
20 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 MA 02111-1307 USA
22 */
23
24 #ifndef DT3155_DRV_INC
25 #define DT3155_DRV_INC
26
27 /* kernel logical address of the frame grabbers */
28 extern u8 *dt3155_lbase[MAXBOARDS];
29
30 /* kernel logical address of ram buffer */
31 extern u8 *dt3155_bbase;
32
33 #ifdef __KERNEL__
34 #include <linux/wait.h>
35
36 /* wait queue for reads */
37 extern wait_queue_head_t dt3155_read_wait_queue[MAXBOARDS];
38 #endif
39
40 /* number of devices */
41 extern u32 ndevices;
42
43 extern int dt3155_errno;
44
45 #endif