OpenCores
URL https://opencores.org/ocsvn/test_project/test_project/trunk

Subversion Repositories test_project

[/] [test_project/] [trunk/] [linux_sd_driver/] [drivers/] [pcmcia/] [ds_internal.h] - Blame information for rev 62

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 62 marcus.erl
/* ds_internal.h - internal header for 16-bit PCMCIA devices management */
2
 
3
extern spinlock_t pcmcia_dev_list_lock;
4
extern struct bus_type pcmcia_bus_type;
5
 
6
extern struct pcmcia_device * pcmcia_get_dev(struct pcmcia_device *p_dev);
7
extern void pcmcia_put_dev(struct pcmcia_device *p_dev);
8
 
9
struct pcmcia_device * pcmcia_device_add(struct pcmcia_socket *s, unsigned int function);
10
 
11
extern int pcmcia_release_configuration(struct pcmcia_device *p_dev);
12
 
13
#ifdef CONFIG_PCMCIA_IOCTL
14
extern void __init pcmcia_setup_ioctl(void);
15
extern void __exit pcmcia_cleanup_ioctl(void);
16
extern void handle_event(struct pcmcia_socket *s, event_t event);
17
extern int handle_request(struct pcmcia_socket *s, event_t event);
18
#else
19
static inline void __init pcmcia_setup_ioctl(void) { return; }
20
static inline void __exit pcmcia_cleanup_ioctl(void) { return; }
21
static inline void handle_event(struct pcmcia_socket *s, event_t event) { return; }
22
static inline int handle_request(struct pcmcia_socket *s, event_t event) { return CS_SUCCESS; }
23
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.