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