Scott Smedley | aa337ef | 2009-12-18 10:54:26 -0800 | [diff] [blame] | 1 | /* |
| 2 | |
| 3 | Copyright 1996,2002 Gregory D. Hager, Alfred A. Rizzi, Noah J. Cowan, |
Greg Kroah-Hartman | 8c6356e | 2009-12-22 15:19:21 -0800 | [diff] [blame] | 4 | Scott Smedley |
Scott Smedley | aa337ef | 2009-12-18 10:54:26 -0800 | [diff] [blame] | 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 */ |
Greg Kroah-Hartman | 5d39211 | 2010-02-09 12:41:38 -0800 | [diff] [blame] | 28 | extern u8 *dt3155_lbase[MAXBOARDS]; |
Scott Smedley | aa337ef | 2009-12-18 10:54:26 -0800 | [diff] [blame] | 29 | |
| 30 | /* kernel logical address of ram buffer */ |
Greg Kroah-Hartman | 5d39211 | 2010-02-09 12:41:38 -0800 | [diff] [blame] | 31 | extern u8 *dt3155_bbase; |
Scott Smedley | aa337ef | 2009-12-18 10:54:26 -0800 | [diff] [blame] | 32 | |
| 33 | #ifdef __KERNEL__ |
| 34 | #include <linux/wait.h> |
| 35 | |
Scott Smedley | aa337ef | 2009-12-18 10:54:26 -0800 | [diff] [blame] | 36 | /* wait queue for reads */ |
Scott Smedley | aa337ef | 2009-12-18 10:54:26 -0800 | [diff] [blame] | 37 | extern wait_queue_head_t dt3155_read_wait_queue[MAXBOARDS]; |
Scott Smedley | aa337ef | 2009-12-18 10:54:26 -0800 | [diff] [blame] | 38 | #endif |
| 39 | |
| 40 | /* number of devices */ |
Greg Kroah-Hartman | dcff74c | 2010-02-09 12:41:38 -0800 | [diff] [blame] | 41 | extern u32 ndevices; |
Scott Smedley | aa337ef | 2009-12-18 10:54:26 -0800 | [diff] [blame] | 42 | |
| 43 | extern int dt3155_errno; |
| 44 | |
| 45 | #endif |