diff options
Diffstat (limited to 'include/pcmcia/cs.h')
-rw-r--r-- | include/pcmcia/cs.h | 42 |
1 files changed, 15 insertions, 27 deletions
diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h index b42ddc0c1143..2cab39f49eb2 100644 --- a/include/pcmcia/cs.h +++ b/include/pcmcia/cs.h | |||
@@ -68,21 +68,9 @@ typedef struct adjust_t { | |||
68 | #define RES_ALLOCATED 0x20 | 68 | #define RES_ALLOCATED 0x20 |
69 | #define RES_REMOVED 0x40 | 69 | #define RES_REMOVED 0x40 |
70 | 70 | ||
71 | typedef struct servinfo_t { | ||
72 | char Signature[2]; | ||
73 | u_int Count; | ||
74 | u_int Revision; | ||
75 | u_int CSLevel; | ||
76 | char *VendorString; | ||
77 | } servinfo_t; | ||
78 | |||
79 | typedef struct event_callback_args_t { | 71 | typedef struct event_callback_args_t { |
80 | client_handle_t client_handle; | 72 | struct pcmcia_device *client_handle; |
81 | void *info; | 73 | void *client_data; |
82 | void *mtdrequest; | ||
83 | void *buffer; | ||
84 | void *misc; | ||
85 | void *client_data; | ||
86 | } event_callback_args_t; | 74 | } event_callback_args_t; |
87 | 75 | ||
88 | /* for GetConfigurationInfo */ | 76 | /* for GetConfigurationInfo */ |
@@ -393,25 +381,25 @@ enum service { | |||
393 | 381 | ||
394 | struct pcmcia_socket; | 382 | struct pcmcia_socket; |
395 | 383 | ||
396 | int pcmcia_access_configuration_register(client_handle_t handle, conf_reg_t *reg); | 384 | int pcmcia_access_configuration_register(struct pcmcia_device *p_dev, conf_reg_t *reg); |
397 | int pcmcia_deregister_client(client_handle_t handle); | 385 | int pcmcia_deregister_client(struct pcmcia_device *p_dev); |
398 | int pcmcia_get_configuration_info(client_handle_t handle, config_info_t *config); | 386 | int pcmcia_get_configuration_info(struct pcmcia_device *p_dev, config_info_t *config); |
399 | int pcmcia_get_first_window(window_handle_t *win, win_req_t *req); | 387 | int pcmcia_get_first_window(window_handle_t *win, win_req_t *req); |
400 | int pcmcia_get_next_window(window_handle_t *win, win_req_t *req); | 388 | int pcmcia_get_next_window(window_handle_t *win, win_req_t *req); |
401 | int pcmcia_get_status(client_handle_t handle, cs_status_t *status); | 389 | int pcmcia_get_status(struct pcmcia_device *p_dev, cs_status_t *status); |
402 | int pcmcia_get_mem_page(window_handle_t win, memreq_t *req); | 390 | int pcmcia_get_mem_page(window_handle_t win, memreq_t *req); |
403 | int pcmcia_map_mem_page(window_handle_t win, memreq_t *req); | 391 | int pcmcia_map_mem_page(window_handle_t win, memreq_t *req); |
404 | int pcmcia_modify_configuration(client_handle_t handle, modconf_t *mod); | 392 | int pcmcia_modify_configuration(struct pcmcia_device *p_dev, modconf_t *mod); |
405 | int pcmcia_register_client(client_handle_t *handle, client_reg_t *req); | 393 | int pcmcia_register_client(client_handle_t *handle, client_reg_t *req); |
406 | int pcmcia_release_configuration(client_handle_t handle); | 394 | int pcmcia_release_configuration(struct pcmcia_device *p_dev); |
407 | int pcmcia_release_io(client_handle_t handle, io_req_t *req); | 395 | int pcmcia_release_io(struct pcmcia_device *p_dev, io_req_t *req); |
408 | int pcmcia_release_irq(client_handle_t handle, irq_req_t *req); | 396 | int pcmcia_release_irq(struct pcmcia_device *p_dev, irq_req_t *req); |
409 | int pcmcia_release_window(window_handle_t win); | 397 | int pcmcia_release_window(window_handle_t win); |
410 | int pcmcia_request_configuration(client_handle_t handle, config_req_t *req); | 398 | int pcmcia_request_configuration(struct pcmcia_device *p_dev, config_req_t *req); |
411 | int pcmcia_request_io(client_handle_t handle, io_req_t *req); | 399 | int pcmcia_request_io(struct pcmcia_device *p_dev, io_req_t *req); |
412 | int pcmcia_request_irq(client_handle_t handle, irq_req_t *req); | 400 | int pcmcia_request_irq(struct pcmcia_device *p_dev, irq_req_t *req); |
413 | int pcmcia_request_window(client_handle_t *handle, win_req_t *req, window_handle_t *wh); | 401 | int pcmcia_request_window(struct pcmcia_device **p_dev, win_req_t *req, window_handle_t *wh); |
414 | int pcmcia_reset_card(client_handle_t handle, client_req_t *req); | 402 | int pcmcia_reset_card(struct pcmcia_device *p_dev, client_req_t *req); |
415 | int pcmcia_suspend_card(struct pcmcia_socket *skt); | 403 | int pcmcia_suspend_card(struct pcmcia_socket *skt); |
416 | int pcmcia_resume_card(struct pcmcia_socket *skt); | 404 | int pcmcia_resume_card(struct pcmcia_socket *skt); |
417 | int pcmcia_eject_card(struct pcmcia_socket *skt); | 405 | int pcmcia_eject_card(struct pcmcia_socket *skt); |