#ifndef _LINUX_DS_H
#define _LINUX_DS_H
#ifdef __KERNEL__
#include <linux/mod_devicetable.h>
#endif
#include <pcmcia/device_id.h>
#ifdef __KERNEL__
#include <linux/device.h>
#include <linux/interrupt.h>
#include <pcmcia/ss.h>
#include <linux/atomic.h>
struct pcmcia_socket;
struct pcmcia_device;
struct config_t;
struct net_device;
struct pcmcia_dynids { … };
struct pcmcia_driver { … };
int pcmcia_register_driver(struct pcmcia_driver *driver);
void pcmcia_unregister_driver(struct pcmcia_driver *driver);
#define module_pcmcia_driver(__pcmcia_driver) …
enum { … };
struct pcmcia_device { … };
#define to_pcmcia_dev(n) …
#define to_pcmcia_drv(n) …
size_t pcmcia_get_tuple(struct pcmcia_device *p_dev, cisdata_t code,
u8 **buf);
int pcmcia_loop_tuple(struct pcmcia_device *p_dev, cisdata_t code,
int (*loop_tuple) (struct pcmcia_device *p_dev,
tuple_t *tuple,
void *priv_data),
void *priv_data);
int pcmcia_get_mac_from_cis(struct pcmcia_device *p_dev,
struct net_device *dev);
int pcmcia_parse_tuple(tuple_t *tuple, cisparse_t *parse);
int pcmcia_loop_config(struct pcmcia_device *p_dev,
int (*conf_check) (struct pcmcia_device *p_dev,
void *priv_data),
void *priv_data);
struct pcmcia_device *pcmcia_dev_present(struct pcmcia_device *p_dev);
int pcmcia_reset_card(struct pcmcia_socket *skt);
int pcmcia_read_config_byte(struct pcmcia_device *p_dev, off_t where, u8 *val);
int pcmcia_write_config_byte(struct pcmcia_device *p_dev, off_t where, u8 val);
int pcmcia_request_io(struct pcmcia_device *p_dev);
int __must_check pcmcia_request_irq(struct pcmcia_device *p_dev,
irq_handler_t handler);
int pcmcia_enable_device(struct pcmcia_device *p_dev);
int pcmcia_request_window(struct pcmcia_device *p_dev, struct resource *res,
unsigned int speed);
int pcmcia_release_window(struct pcmcia_device *p_dev, struct resource *res);
int pcmcia_map_mem_page(struct pcmcia_device *p_dev, struct resource *res,
unsigned int offset);
int pcmcia_fixup_vpp(struct pcmcia_device *p_dev, unsigned char new_vpp);
int pcmcia_fixup_iowidth(struct pcmcia_device *p_dev);
void pcmcia_disable_device(struct pcmcia_device *p_dev);
#define IO_DATA_PATH_WIDTH …
#define IO_DATA_PATH_WIDTH_8 …
#define IO_DATA_PATH_WIDTH_16 …
#define IO_DATA_PATH_WIDTH_AUTO …
#define WIN_MEMORY_TYPE_CM …
#define WIN_MEMORY_TYPE_AM …
#define WIN_DATA_WIDTH_8 …
#define WIN_DATA_WIDTH_16 …
#define WIN_ENABLE …
#define WIN_USE_WAIT …
#define WIN_FLAGS_MAP …
#define WIN_FLAGS_REQ …
#define PRESENT_OPTION …
#define PRESENT_STATUS …
#define PRESENT_PIN_REPLACE …
#define PRESENT_COPY …
#define PRESENT_EXT_STATUS …
#define PRESENT_IOBASE_0 …
#define PRESENT_IOBASE_1 …
#define PRESENT_IOBASE_2 …
#define PRESENT_IOBASE_3 …
#define PRESENT_IOSIZE …
#define CONF_ENABLE_IRQ …
#define CONF_ENABLE_SPKR …
#define CONF_ENABLE_PULSE_IRQ …
#define CONF_ENABLE_ESR …
#define CONF_ENABLE_IOCARD …
#define CONF_ENABLE_ZVCARD …
#define CONF_AUTO_CHECK_VCC …
#define CONF_AUTO_SET_VPP …
#define CONF_AUTO_AUDIO …
#define CONF_AUTO_SET_IO …
#define CONF_AUTO_SET_IOMEM …
#endif
#endif