4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 * The initial developer of the original code is David A. Hinds
9 * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
10 * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
12 * (C) 1999 David A. Hinds
15 #ifndef _LINUX_CS_TYPES_H
16 #define _LINUX_CS_TYPES_H
19 #include <linux/types.h>
21 #include <sys/types.h>
24 #if defined(__arm__) || defined(__mips__) || defined(__avr32__)
25 /* This (ioaddr_t) is exposed to userspace & hence cannot be changed. */
26 typedef u_int ioaddr_t;
28 typedef u_short ioaddr_t;
30 typedef unsigned long kio_addr_t;
32 typedef u_short socket_t;
33 typedef u_int event_t;
34 typedef u_char cisdata_t;
35 typedef u_short page_t;
38 typedef struct pcmcia_device *client_handle_t;
41 typedef struct window_t *window_handle_t;
44 typedef struct region_t *memory_handle_t;
47 #define DEV_NAME_LEN 32
50 typedef char dev_info_t[DEV_NAME_LEN];
52 #endif /* _LINUX_CS_TYPES_H */