diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-02-04 07:40:19 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-02-04 07:40:19 +0000 |
commit | 33263fc5f9ac8e8cb2b22d06af3ce5ac1dd815e4 (patch) | |
tree | 2d1b86a40bef0958a68cf1a2eafbeb0667a70543 /include/pcmcia | |
parent | 216f5f51aa02f8b113aa620ebc14a9631a217a00 (diff) |
Merge with Linux 2.3.32.
Diffstat (limited to 'include/pcmcia')
-rw-r--r-- | include/pcmcia/bulkmem.h | 12 | ||||
-rw-r--r-- | include/pcmcia/bus_ops.h | 2 | ||||
-rw-r--r-- | include/pcmcia/cistpl.h | 8 | ||||
-rw-r--r-- | include/pcmcia/cs.h | 36 |
4 files changed, 58 insertions, 0 deletions
diff --git a/include/pcmcia/bulkmem.h b/include/pcmcia/bulkmem.h index 09f0a4ddd..dcc84bf04 100644 --- a/include/pcmcia/bulkmem.h +++ b/include/pcmcia/bulkmem.h @@ -192,4 +192,16 @@ extern int MTDHelperEntry(int func, void *a1, void *a2); extern int MTDHelperEntry(int func, ...); #endif +int pcmcia_get_first_region(client_handle_t handle, region_info_t *rgn); +int pcmcia_get_next_region(client_handle_t handle, region_info_t *rgn); +int pcmcia_register_mtd(client_handle_t handle, mtd_reg_t *reg); +int pcmcia_register_erase_queue(client_handle_t *handle, eraseq_hdr_t *header); +int pcmcia_deregister_erase_queue(eraseq_handle_t eraseq); +int pcmcia_check_erase_queue(eraseq_handle_t eraseq); +int pcmcia_open_memory(client_handle_t *handle, open_mem_t *open); +int pcmcia_close_memory(memory_handle_t handle); +int pcmcia_read_memory(memory_handle_t handle, mem_op_t *req, caddr_t buf); +int pcmcia_write_memory(memory_handle_t handle, mem_op_t *req, caddr_t buf); +int pcmcia_copy_memory(memory_handle_t handle, copy_op_t *req); + #endif /* _LINUX_BULKMEM_H */ diff --git a/include/pcmcia/bus_ops.h b/include/pcmcia/bus_ops.h index bdbd34312..29e13547a 100644 --- a/include/pcmcia/bus_ops.h +++ b/include/pcmcia/bus_ops.h @@ -30,6 +30,8 @@ #ifndef _LINUX_BUS_OPS_H #define _LINUX_BUS_OPS_H +#include <linux/config.h> + #ifdef CONFIG_VIRTUAL_BUS typedef struct bus_operations { diff --git a/include/pcmcia/cistpl.h b/include/pcmcia/cistpl.h index 9ab70257c..00412858e 100644 --- a/include/pcmcia/cistpl.h +++ b/include/pcmcia/cistpl.h @@ -580,4 +580,12 @@ typedef struct cisdump_t { cisdata_t Data[CISTPL_MAX_CIS_SIZE]; } cisdump_t; +int pcmcia_get_first_tuple(client_handle_t handle, tuple_t *tuple); +int pcmcia_get_next_tuple(client_handle_t handle, tuple_t *tuple); +int pcmcia_get_tuple_data(client_handle_t handle, tuple_t *tuple); +int pcmcia_parse_tuple(client_handle_t handle, tuple_t *tuple, cisparse_t *parse); + +int pcmcia_validate_cis(client_handle_t handle, cisinfo_t *info); +int pcmcia_replace_cis(client_handle_t handle, cisdump_t *cis); + #endif /* LINUX_CISTPL_H */ diff --git a/include/pcmcia/cs.h b/include/pcmcia/cs.h index bd9968630..8a67a6f98 100644 --- a/include/pcmcia/cs.h +++ b/include/pcmcia/cs.h @@ -440,6 +440,42 @@ extern int CardServices(int func, void *a1, void *a2, void *a3); extern int CardServices(int func, ...); #endif +int pcmcia_access_configuration_register(client_handle_t handle, conf_reg_t *reg); +int pcmcia_bind_device(bind_req_t *req); +int pcmcia_bind_mtd(mtd_bind_t *req); +int pcmcia_deregister_client(client_handle_t handle); +int pcmcia_get_configuration_info(client_handle_t handle, config_info_t *config); +int pcmcia_get_card_services_info(servinfo_t *info); +int pcmcia_get_first_client(client_handle_t *handle, client_req_t *req); +int pcmcia_get_next_client(client_handle_t *handle, client_req_t *req); +int pcmcia_get_window(window_handle_t *handle, int idx, win_req_t *req); +int pcmcia_get_first_window(client_handle_t *handle, win_req_t *req); +int pcmcia_get_next_window(window_handle_t *win, win_req_t *req); +int pcmcia_get_status(client_handle_t handle, cs_status_t *status); +int pcmcia_get_mem_page(window_handle_t win, memreq_t *req); +int pcmcia_map_mem_page(window_handle_t win, memreq_t *req); +int pcmcia_modify_configuration(client_handle_t handle, modconf_t *mod); +int pcmcia_modify_window(window_handle_t win, modwin_t *req); +int pcmcia_register_client(client_handle_t *handle, client_reg_t *req); +int pcmcia_release_configuration(client_handle_t handle); +int pcmcia_release_io(client_handle_t handle, io_req_t *req); +int pcmcia_release_irq(client_handle_t handle, irq_req_t *req); +int pcmcia_release_window(window_handle_t win); +int pcmcia_request_configuration(client_handle_t handle, config_req_t *req); +int pcmcia_request_io(client_handle_t handle, io_req_t *req); +int pcmcia_request_irq(client_handle_t handle, irq_req_t *req); +int pcmcia_request_window(client_handle_t *handle, win_req_t *req); +int pcmcia_reset_card(client_handle_t handle, client_req_t *req); +int pcmcia_suspend_card(client_handle_t handle, client_req_t *req); +int pcmcia_resume_card(client_handle_t handle, client_req_t *req); +int pcmcia_eject_card(client_handle_t handle, client_req_t *req); +int pcmcia_insert_card(client_handle_t handle, client_req_t *req); +int pcmcia_set_event_mask(client_handle_t handle, eventmask_t *mask); +int pcmcia_report_error(client_handle_t handle, error_info_t *err); + +/* rsrc_mgr.c */ +int pcmcia_adjust_resource_info(client_handle_t handle, adjust_t *adj); + #endif /* __KERNEL__ */ #endif /* _LINUX_CS_H */ |