Go to the documentation of this file.
18 #include <linux/device.h>
19 #include <linux/sched.h>
23 #include <linux/pci.h>
27 #define SS_WRPROT 0x0001
28 #define SS_CARDLOCK 0x0002
29 #define SS_EJECTION 0x0004
30 #define SS_INSERTION 0x0008
31 #define SS_BATDEAD 0x0010
32 #define SS_BATWARN 0x0020
33 #define SS_READY 0x0040
34 #define SS_DETECT 0x0080
35 #define SS_POWERON 0x0100
37 #define SS_STSCHG 0x0400
38 #define SS_CARDBUS 0x0800
39 #define SS_3VCARD 0x1000
40 #define SS_XVCARD 0x2000
41 #define SS_PENDING 0x4000
42 #define SS_ZVCARD 0x8000
45 #define SS_CAP_PAGE_REGS 0x0001
46 #define SS_CAP_VIRTUAL_BUS 0x0002
47 #define SS_CAP_MEM_ALIGN 0x0004
48 #define SS_CAP_STATIC_MAP 0x0008
49 #define SS_CAP_PCCARD 0x4000
50 #define SS_CAP_CARDBUS 0x8000
63 #define SS_PWR_AUTO 0x0010
64 #define SS_IOCARD 0x0020
65 #define SS_RESET 0x0040
66 #define SS_DMA_MODE 0x0080
67 #define SS_SPKR_ENA 0x0100
68 #define SS_OUTPUT_ENA 0x0200
71 #define MAP_ACTIVE 0x01
72 #define MAP_16BIT 0x02
73 #define MAP_AUTOSZ 0x04
75 #define MAP_WRPROT 0x10
76 #define MAP_ATTRIB 0x20
77 #define MAP_USE_WAIT 0x40
78 #define MAP_PREFETCH 0x80
81 #define MAP_IOSPACE 0x20
84 #define HOOK_POWER_PRE 0x01
85 #define HOOK_POWER_POST 0x02
182 #ifdef CONFIG_CARDBUS
203 #if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
219 unsigned int pcmcia_irq;
245 #if defined(CONFIG_PCMCIA) || defined(CONFIG_PCMCIA_MODULE)
252 #define pccard_iodyn_ops pccard_static_ops
253 #define pccard_nonstatic_ops pccard_static_ops