aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia/ss.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2010-08-15 01:06:31 -0400
committerLen Brown <len.brown@intel.com>2010-08-15 01:06:31 -0400
commit95ee46aa8698f2000647dfb362400fadbb5807cf (patch)
treee5a05c7297f997e191c73091934e42e3195c0e40 /include/pcmcia/ss.h
parentcfa806f059801dbe7e435745eb2e187c8bfe1e7f (diff)
parent92fa5bd9a946b6e7aab6764e7312e4e3d9bed295 (diff)
Merge branch 'linus' into release
Conflicts: drivers/acpi/debug.c Signed-off-by: Len Brown <len.brown@intel.com>
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 764281b29218..626b63c33d9e 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 */