[PATCH] rio cleanups
[linux-2.6/mini2440.git] / drivers / char / rio / sam.h
blob6f754e19015d573432af716360084acc0447c189
1 /****************************************************************************
2 ******* *******
3 ******* S A M . H
4 ******* *******
5 ****************************************************************************
7 Author : Ian Nandhra
8 Date :
11 * (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 Version : 0.01
30 Mods
31 ----------------------------------------------------------------------------
32 Date By Description
33 ----------------------------------------------------------------------------
35 ***************************************************************************/
36 #ifndef _sam_h
37 #define _sam_h 1
39 #ifdef SCCS_LABELS
40 #ifndef lint
41 /* static char *_rio_sam_h_sccs = "@(#)sam.h 1.3"; */
42 #endif
43 #endif
46 #define NUM_FREE_LIST_UNITS 500
48 #ifndef FALSE
49 #define FALSE (short) 0x00
50 #endif
51 #ifndef TRUE
52 #define TRUE (short) !FALSE
53 #endif
55 #define TX TRUE
56 #define RX FALSE
59 typedef struct FREE_LIST FREE_LIST;
60 struct FREE_LIST {
61 FREE_LIST_ptr next;
62 FREE_LIST_ptr prev;
66 #endif
67 /*********** end of file ***********/