aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia/cs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pcmcia/cs.h')
-rw-r--r--include/pcmcia/cs.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h
index 57d8d0393567..c943c967ac7a 100644
--- a/include/pcmcia/cs.h
+++ b/include/pcmcia/cs.h
@@ -36,12 +36,6 @@ typedef struct conf_reg_t {
36#define REMOVE_MANAGED_RESOURCE 1 36#define REMOVE_MANAGED_RESOURCE 1
37#define ADD_MANAGED_RESOURCE 2 37#define ADD_MANAGED_RESOURCE 2
38 38
39
40typedef struct event_callback_args_t {
41 struct pcmcia_device *client_handle;
42 void *client_data;
43} event_callback_args_t;
44
45/* For CardValues field */ 39/* For CardValues field */
46#define CV_OPTION_VALUE 0x01 40#define CV_OPTION_VALUE 0x01
47#define CV_STATUS_VALUE 0x02 41#define CV_STATUS_VALUE 0x02
@@ -124,13 +118,6 @@ typedef struct io_req_t {
124#define IRQ_PULSE_ID 0x40 118#define IRQ_PULSE_ID 0x40
125#define IRQ_SHARE_ID 0x80 119#define IRQ_SHARE_ID 0x80
126 120
127typedef struct eventmask_t {
128 u_int Attributes;
129 u_int EventMask;
130} eventmask_t;
131
132#define CONF_EVENT_MASK_VALID 0x01
133
134/* Configuration registers present */ 121/* Configuration registers present */
135#define PRESENT_OPTION 0x001 122#define PRESENT_OPTION 0x001
136#define PRESENT_STATUS 0x002 123#define PRESENT_STATUS 0x002
@@ -186,39 +173,7 @@ typedef struct win_req_t {
186#define WIN_BAR_MASK 0xe000 173#define WIN_BAR_MASK 0xe000
187#define WIN_BAR_SHIFT 13 174#define WIN_BAR_SHIFT 13
188 175
189typedef struct error_info_t {
190 int func;
191 int retcode;
192} error_info_t;
193
194/* Flag to bind to all functions */ 176/* Flag to bind to all functions */
195#define BIND_FN_ALL 0xff 177#define BIND_FN_ALL 0xff
196 178
197/* Events */
198#define CS_EVENT_PRI_LOW 0
199#define CS_EVENT_PRI_HIGH 1
200
201#define CS_EVENT_WRITE_PROTECT 0x000001
202#define CS_EVENT_CARD_LOCK 0x000002
203#define CS_EVENT_CARD_INSERTION 0x000004
204#define CS_EVENT_CARD_REMOVAL 0x000008
205#define CS_EVENT_BATTERY_DEAD 0x000010
206#define CS_EVENT_BATTERY_LOW 0x000020
207#define CS_EVENT_READY_CHANGE 0x000040
208#define CS_EVENT_CARD_DETECT 0x000080
209#define CS_EVENT_RESET_REQUEST 0x000100
210#define CS_EVENT_RESET_PHYSICAL 0x000200
211#define CS_EVENT_CARD_RESET 0x000400
212#define CS_EVENT_REGISTRATION_COMPLETE 0x000800
213#define CS_EVENT_PM_SUSPEND 0x002000
214#define CS_EVENT_PM_RESUME 0x004000
215#define CS_EVENT_INSERTION_REQUEST 0x008000
216#define CS_EVENT_EJECTION_REQUEST 0x010000
217#define CS_EVENT_MTD_REQUEST 0x020000
218#define CS_EVENT_ERASE_COMPLETE 0x040000
219#define CS_EVENT_REQUEST_ATTENTION 0x080000
220#define CS_EVENT_CB_DETECT 0x100000
221#define CS_EVENT_3VCARD 0x200000
222#define CS_EVENT_XVCARD 0x400000
223
224#endif /* _LINUX_CS_H */ 179#endif /* _LINUX_CS_H */