aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia/ss.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pcmcia/ss.h')
-rw-r--r--include/pcmcia/ss.h25
1 files changed, 3 insertions, 22 deletions
diff --git a/include/pcmcia/ss.h b/include/pcmcia/ss.h
index 764281b2921..626b63c33d9 100644
--- a/include/pcmcia/ss.h
+++ b/include/pcmcia/ss.h
@@ -19,7 +19,6 @@
19#include <linux/sched.h> /* task_struct, completion */ 19#include <linux/sched.h> /* task_struct, completion */
20#include <linux/mutex.h> 20#include <linux/mutex.h>
21 21
22#include <pcmcia/cs_types.h>
23#include <pcmcia/cs.h> 22#include <pcmcia/cs.h>
24#ifdef CONFIG_CARDBUS 23#ifdef CONFIG_CARDBUS
25#include <linux/pci.h> 24#include <linux/pci.h>
@@ -162,17 +161,10 @@ struct pcmcia_socket {
162 u_int pci_irq; 161 u_int pci_irq;
163 struct pci_dev *cb_dev; 162 struct pci_dev *cb_dev;
164 163
165
166 /* socket setup is done so resources should be able to be allocated. 164 /* socket setup is done so resources should be able to be allocated.
167 * Only if set to 1, calls to find_{io,mem}_region are handled, and 165 * Only if set to 1, calls to find_{io,mem}_region are handled, and
168 * insertio events are actually managed by the PCMCIA layer.*/ 166 * insertio events are actually managed by the PCMCIA layer.*/
169 u8 resource_setup_done:1; 167 u8 resource_setup_done;
170
171 /* It's old if resource setup is done using adjust_resource_info() */
172 u8 resource_setup_old:1;
173 u8 resource_setup_new:1;
174
175 u8 reserved:5;
176 168
177 /* socket operations */ 169 /* socket operations */
178 struct pccard_operations *ops; 170 struct pccard_operations *ops;
@@ -218,15 +210,8 @@ struct pcmcia_socket {
218 * incorrectness and change */ 210 * incorrectness and change */
219 u8 device_count; 211 u8 device_count;
220 212
221 /* 16-bit state: */ 213 /* does the PCMCIA card consist of two pseudo devices? */
222 struct { 214 u8 pcmcia_pfc;
223 /* "master" ioctl is used */
224 u8 busy:1;
225 /* the PCMCIA card consists of two pseudo devices */
226 u8 has_pfc:1;
227
228 u8 reserved:6;
229 } pcmcia_state;
230 215
231 /* non-zero if PCMCIA card is present */ 216 /* non-zero if PCMCIA card is present */
232 atomic_t present; 217 atomic_t present;
@@ -234,10 +219,6 @@ struct pcmcia_socket {
234 /* IRQ to be used by PCMCIA devices. May not be IRQ 0. */ 219 /* IRQ to be used by PCMCIA devices. May not be IRQ 0. */
235 unsigned int pcmcia_irq; 220 unsigned int pcmcia_irq;
236 221
237#ifdef CONFIG_PCMCIA_IOCTL
238 struct user_info_t *user;
239 wait_queue_head_t queue;
240#endif /* CONFIG_PCMCIA_IOCTL */
241#endif /* CONFIG_PCMCIA */ 222#endif /* CONFIG_PCMCIA */
242 223
243 /* socket device */ 224 /* socket device */