2 * Definitions for bulk memory services
4 * bulkmem.h 1.12 2000/06/12 21:55:41
6 * The contents of this file are subject to the Mozilla Public License
7 * Version 1.1 (the "License"); you may not use this file except in
8 * compliance with the License. You may obtain a copy of the License
9 * at http://www.mozilla.org/MPL/
11 * Software distributed under the License is distributed on an "AS IS"
12 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
13 * the License for the specific language governing rights and
14 * limitations under the License.
16 * The initial developer of the original code is David A. Hinds
17 * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
18 * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
20 * Alternatively, the contents of this file may be used under the
21 * terms of the GNU General Public License version 2 (the "GPL"), in which
22 * case the provisions of the GPL are applicable instead of the
23 * above. If you wish to allow the use of your version of this file
24 * only under the terms of the GPL and not to allow others to use
25 * your version of this file under the MPL, indicate your decision by
26 * deleting the provisions above and replace them with the notice and
27 * other provisions required by the GPL. If you do not delete the
28 * provisions above, a recipient may use your version of this file
29 * under either the MPL or the GPL.
30 * bulkmem.h 1.3 1995/05/27 04:49:49
33 #ifndef _LINUX_BULKMEM_H
34 #define _LINUX_BULKMEM_H
36 /* For GetFirstRegion and GetNextRegion */
37 typedef struct region_info_t {
44 u_char JedecMfr, JedecInfo;
48 #define REGION_TYPE 0x0001
49 #define REGION_TYPE_CM 0x0000
50 #define REGION_TYPE_AM 0x0001
51 #define REGION_PREFETCH 0x0008
52 #define REGION_CACHEABLE 0x0010
53 #define REGION_BAR_MASK 0xe000
54 #define REGION_BAR_SHIFT 13
56 int pcmcia_get_first_region(client_handle_t handle, region_info_t *rgn);
57 int pcmcia_get_next_region(client_handle_t handle, region_info_t *rgn);
59 #endif /* _LINUX_BULKMEM_H */