ds.h (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) ds.h (1ad275e3e7d253d44f03868e85977c908e334fed)
1/*
2 * ds.h -- 16-bit PCMCIA core support
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * The initial developer of the original code is David A. Hinds

--- 4 unchanged lines hidden (view full) ---

13 * (C) 2003 - 2004 Dominik Brodowski
14 */
15
16#ifndef _LINUX_DS_H
17#define _LINUX_DS_H
18
19#include <pcmcia/bulkmem.h>
20#include <pcmcia/cs_types.h>
1/*
2 * ds.h -- 16-bit PCMCIA core support
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * The initial developer of the original code is David A. Hinds

--- 4 unchanged lines hidden (view full) ---

13 * (C) 2003 - 2004 Dominik Brodowski
14 */
15
16#ifndef _LINUX_DS_H
17#define _LINUX_DS_H
18
19#include <pcmcia/bulkmem.h>
20#include <pcmcia/cs_types.h>
21#include <pcmcia/device_id.h>
22#include <linux/mod_devicetable.h>
21
22typedef struct tuple_parse_t {
23 tuple_t tuple;
24 cisdata_t data[255];
25 cisparse_t parse;
26} tuple_parse_t;
27
28typedef struct win_info_t {

--- 101 unchanged lines hidden (view full) ---

130struct pcmcia_socket;
131
132extern struct bus_type pcmcia_bus_type;
133
134struct pcmcia_driver {
135 dev_link_t *(*attach)(void);
136 void (*detach)(dev_link_t *);
137 struct module *owner;
23
24typedef struct tuple_parse_t {
25 tuple_t tuple;
26 cisdata_t data[255];
27 cisparse_t parse;
28} tuple_parse_t;
29
30typedef struct win_info_t {

--- 101 unchanged lines hidden (view full) ---

132struct pcmcia_socket;
133
134extern struct bus_type pcmcia_bus_type;
135
136struct pcmcia_driver {
137 dev_link_t *(*attach)(void);
138 void (*detach)(dev_link_t *);
139 struct module *owner;
140 struct pcmcia_device_id *id_table;
138 struct device_driver drv;
139};
140
141/* driver registration */
142int pcmcia_register_driver(struct pcmcia_driver *driver);
143void pcmcia_unregister_driver(struct pcmcia_driver *driver);
144
145struct pcmcia_device {

--- 22 unchanged lines hidden (view full) ---

168 event_callback_args_t *);
169 event_callback_args_t event_callback_args;
170 } client;
171
172 /* information about this device */
173 u8 has_manf_id:1;
174 u8 has_card_id:1;
175 u8 has_func_id:1;
141 struct device_driver drv;
142};
143
144/* driver registration */
145int pcmcia_register_driver(struct pcmcia_driver *driver);
146void pcmcia_unregister_driver(struct pcmcia_driver *driver);
147
148struct pcmcia_device {

--- 22 unchanged lines hidden (view full) ---

171 event_callback_args_t *);
172 event_callback_args_t event_callback_args;
173 } client;
174
175 /* information about this device */
176 u8 has_manf_id:1;
177 u8 has_card_id:1;
178 u8 has_func_id:1;
176 u8 reserved:5;
177
179
180 u8 allow_func_id_match:1;
181 u8 reserved:4;
182
178 u8 func_id;
179 u16 manf_id;
180 u16 card_id;
181
182 char * prod_id[4];
183
184 /* device driver wanted by cardmgr */
185 struct pcmcia_driver * cardmgr;

--- 15 unchanged lines hidden ---
183 u8 func_id;
184 u16 manf_id;
185 u16 card_id;
186
187 char * prod_id[4];
188
189 /* device driver wanted by cardmgr */
190 struct pcmcia_driver * cardmgr;

--- 15 unchanged lines hidden ---