aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mod_devicetable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mod_devicetable.h')
-rw-r--r--include/linux/mod_devicetable.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index d6eb7b2efc04..e9651cd8310c 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -175,4 +175,37 @@ struct serio_device_id {
175}; 175};
176 176
177 177
178/* PCMCIA */
179
180struct pcmcia_device_id {
181 __u16 match_flags;
182
183 __u16 manf_id;
184 __u16 card_id;
185
186 __u8 func_id;
187
188 /* for real multi-function devices */
189 __u8 function;
190
191 /* for pseude multi-function devices */
192 __u8 device_no;
193
194 const char * prod_id[4];
195 __u32 prod_id_hash[4];
196
197 /* not matched against */
198 kernel_ulong_t driver_info;
199};
200
201#define PCMCIA_DEV_ID_MATCH_MANF_ID 0x0001
202#define PCMCIA_DEV_ID_MATCH_CARD_ID 0x0002
203#define PCMCIA_DEV_ID_MATCH_FUNC_ID 0x0004
204#define PCMCIA_DEV_ID_MATCH_FUNCTION 0x0008
205#define PCMCIA_DEV_ID_MATCH_PROD_ID1 0x0010
206#define PCMCIA_DEV_ID_MATCH_PROD_ID2 0x0020
207#define PCMCIA_DEV_ID_MATCH_PROD_ID3 0x0040
208#define PCMCIA_DEV_ID_MATCH_PROD_ID4 0x0080
209#define PCMCIA_DEV_ID_MATCH_DEVICE_NO 0x0100
210
178#endif /* LINUX_MOD_DEVICETABLE_H */ 211#endif /* LINUX_MOD_DEVICETABLE_H */