aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/cs_internal.h
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2008-08-31 09:20:26 -0400
committerDominik Brodowski <linux@dominikbrodowski.net>2008-08-31 09:25:47 -0400
commit994917f8b718f1cd7114317cc3cbf04fe46c1841 (patch)
tree18bcc749026fbd3216e68353a993f7c20880e5a0 /drivers/pcmcia/cs_internal.h
parent35200d865d49d0207b054074055e1487a0c28ae4 (diff)
pcmcia: card services header cleanup
16-bit PCMCIA device handling function definitions are moved to ds.h, internal definitions to cs_internal.h. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/cs_internal.h')
-rw-r--r--drivers/pcmcia/cs_internal.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/pcmcia/cs_internal.h b/drivers/pcmcia/cs_internal.h
index 2df8d8be1ff..d71eeee4992 100644
--- a/drivers/pcmcia/cs_internal.h
+++ b/drivers/pcmcia/cs_internal.h
@@ -174,10 +174,18 @@ int pcmcia_get_window(struct pcmcia_socket *s,
174 window_handle_t *handle, 174 window_handle_t *handle,
175 int idx, 175 int idx,
176 win_req_t *req); 176 win_req_t *req);
177int pccard_reset_card(struct pcmcia_socket *skt);
178int pccard_register_pcmcia(struct pcmcia_socket *s, struct pcmcia_callback *c); 177int pccard_register_pcmcia(struct pcmcia_socket *s, struct pcmcia_callback *c);
179struct pcmcia_socket *pcmcia_get_socket_by_nr(unsigned int nr); 178struct pcmcia_socket *pcmcia_get_socket_by_nr(unsigned int nr);
180 179
180int pcmcia_suspend_card(struct pcmcia_socket *skt);
181int pcmcia_resume_card(struct pcmcia_socket *skt);
182
183int pcmcia_eject_card(struct pcmcia_socket *skt);
184int pcmcia_insert_card(struct pcmcia_socket *skt);
185
186struct pcmcia_socket *pcmcia_get_socket(struct pcmcia_socket *skt);
187void pcmcia_put_socket(struct pcmcia_socket *skt);
188
181/* cistpl.c */ 189/* cistpl.c */
182int pcmcia_read_cis_mem(struct pcmcia_socket *s, int attr, 190int pcmcia_read_cis_mem(struct pcmcia_socket *s, int attr,
183 u_int addr, u_int len, void *ptr); 191 u_int addr, u_int len, void *ptr);
@@ -187,6 +195,8 @@ void release_cis_mem(struct pcmcia_socket *s);
187void destroy_cis_cache(struct pcmcia_socket *s); 195void destroy_cis_cache(struct pcmcia_socket *s);
188int pccard_read_tuple(struct pcmcia_socket *s, unsigned int function, 196int pccard_read_tuple(struct pcmcia_socket *s, unsigned int function,
189 cisdata_t code, void *parse); 197 cisdata_t code, void *parse);
198int pcmcia_replace_cis(struct pcmcia_socket *s,
199 const u8 *data, const size_t len);
190 200
191/* rsrc_mgr.c */ 201/* rsrc_mgr.c */
192int pcmcia_validate_mem(struct pcmcia_socket *s); 202int pcmcia_validate_mem(struct pcmcia_socket *s);