blob: 95e68c3388a466a8c55c33dde40e15ec8b677cd8 [file] [log] [blame]
Scott Smedleyaa337ef2009-12-18 10:54:26 -08001/*
2
3Copyright 1996,2002 Gregory D. Hager, Alfred A. Rizzi, Noah J. Cowan,
Greg Kroah-Hartman8c6356e2009-12-22 15:19:21 -08004 Scott Smedley
Scott Smedleyaa337ef2009-12-18 10:54:26 -08005
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 */
Greg Kroah-Hartman5d392112010-02-09 12:41:38 -080028extern u8 *dt3155_lbase[MAXBOARDS];
Scott Smedleyaa337ef2009-12-18 10:54:26 -080029
30/* kernel logical address of ram buffer */
Greg Kroah-Hartman5d392112010-02-09 12:41:38 -080031extern u8 *dt3155_bbase;
Scott Smedleyaa337ef2009-12-18 10:54:26 -080032
33#ifdef __KERNEL__
34#include <linux/wait.h>
35
Scott Smedleyaa337ef2009-12-18 10:54:26 -080036/* wait queue for reads */
Scott Smedleyaa337ef2009-12-18 10:54:26 -080037extern wait_queue_head_t dt3155_read_wait_queue[MAXBOARDS];
Scott Smedleyaa337ef2009-12-18 10:54:26 -080038#endif
39
40/* number of devices */
Greg Kroah-Hartmandcff74c2010-02-09 12:41:38 -080041extern u32 ndevices;
Scott Smedleyaa337ef2009-12-18 10:54:26 -080042
43extern int dt3155_errno;
44
45#endif