xref: /haiku/headers/os/drivers/pcmcia/memory.h (revision f6486d9d015174055c72e979ee2a58f40fd5d677)
1*f6486d9dSJérôme Duval /*
2*f6486d9dSJérôme Duval  * memory.h 1.8 2001/08/24 12:16:13
3*f6486d9dSJérôme Duval  *
4*f6486d9dSJérôme Duval  * The contents of this file are subject to the Mozilla Public License
5*f6486d9dSJérôme Duval  * Version 1.1 (the "License"); you may not use this file except in
6*f6486d9dSJérôme Duval  * compliance with the License. You may obtain a copy of the License
7*f6486d9dSJérôme Duval  * at http://www.mozilla.org/MPL/
8*f6486d9dSJérôme Duval  *
9*f6486d9dSJérôme Duval  * Software distributed under the License is distributed on an "AS IS"
10*f6486d9dSJérôme Duval  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11*f6486d9dSJérôme Duval  * the License for the specific language governing rights and
12*f6486d9dSJérôme Duval  * limitations under the License.
13*f6486d9dSJérôme Duval  *
14*f6486d9dSJérôme Duval  * The initial developer of the original code is David A. Hinds
15*f6486d9dSJérôme Duval  * <dahinds@users.sourceforge.net>.  Portions created by David A. Hinds
16*f6486d9dSJérôme Duval  * are Copyright (C) 1999 David A. Hinds.  All Rights Reserved.
17*f6486d9dSJérôme Duval  *
18*f6486d9dSJérôme Duval  * Alternatively, the contents of this file may be used under the
19*f6486d9dSJérôme Duval  * terms of the GNU General Public License version 2 (the "GPL"), in
20*f6486d9dSJérôme Duval  * which case the provisions of the GPL are applicable instead of the
21*f6486d9dSJérôme Duval  * above.  If you wish to allow the use of your version of this file
22*f6486d9dSJérôme Duval  * only under the terms of the GPL and not to allow others to use
23*f6486d9dSJérôme Duval  * your version of this file under the MPL, indicate your decision by
24*f6486d9dSJérôme Duval  * deleting the provisions above and replace them with the notice and
25*f6486d9dSJérôme Duval  * other provisions required by the GPL.  If you do not delete the
26*f6486d9dSJérôme Duval  * provisions above, a recipient may use your version of this file
27*f6486d9dSJérôme Duval  * under either the MPL or the GPL.
28*f6486d9dSJérôme Duval  */
29*f6486d9dSJérôme Duval 
30*f6486d9dSJérôme Duval #ifndef _LINUX_MEMORY_H
31*f6486d9dSJérôme Duval #define _LINUX_MEMORY_H
32*f6486d9dSJérôme Duval 
33*f6486d9dSJérôme Duval typedef struct erase_info_t {
34*f6486d9dSJérôme Duval     u_long	Offset;
35*f6486d9dSJérôme Duval     u_long	Size;
36*f6486d9dSJérôme Duval } erase_info_t;
37*f6486d9dSJérôme Duval 
38*f6486d9dSJérôme Duval #define MEMGETINFO		_IOR('M', 1, region_info_t)
39*f6486d9dSJérôme Duval #define MEMERASE		_IOW('M', 2, erase_info_t)
40*f6486d9dSJérôme Duval 
41*f6486d9dSJérôme Duval #endif /* _LINUX_MEMORY_H */
42