diff options
Diffstat (limited to 'include/linux/mod_devicetable.h')
| -rw-r--r-- | include/linux/mod_devicetable.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index f6977708585c..e0c393cc7240 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h | |||
| @@ -148,6 +148,17 @@ struct ccw_device_id { | |||
| 148 | #define CCW_DEVICE_ID_MATCH_DEVICE_TYPE 0x04 | 148 | #define CCW_DEVICE_ID_MATCH_DEVICE_TYPE 0x04 |
| 149 | #define CCW_DEVICE_ID_MATCH_DEVICE_MODEL 0x08 | 149 | #define CCW_DEVICE_ID_MATCH_DEVICE_MODEL 0x08 |
| 150 | 150 | ||
| 151 | /* s390 AP bus devices */ | ||
| 152 | struct ap_device_id { | ||
| 153 | __u16 match_flags; /* which fields to match against */ | ||
| 154 | __u8 dev_type; /* device type */ | ||
| 155 | __u8 pad1; | ||
| 156 | __u32 pad2; | ||
| 157 | kernel_ulong_t driver_info; | ||
| 158 | }; | ||
| 159 | |||
| 160 | #define AP_DEVICE_ID_MATCH_DEVICE_TYPE 0x01 | ||
| 161 | |||
| 151 | 162 | ||
| 152 | #define PNP_ID_LEN 8 | 163 | #define PNP_ID_LEN 8 |
| 153 | #define PNP_MAX_DEVICES 8 | 164 | #define PNP_MAX_DEVICES 8 |
| @@ -297,4 +308,16 @@ struct input_device_id { | |||
| 297 | kernel_ulong_t driver_info; | 308 | kernel_ulong_t driver_info; |
| 298 | }; | 309 | }; |
| 299 | 310 | ||
| 311 | /* EISA */ | ||
| 312 | |||
| 313 | #define EISA_SIG_LEN 8 | ||
| 314 | |||
| 315 | /* The EISA signature, in ASCII form, null terminated */ | ||
| 316 | struct eisa_device_id { | ||
| 317 | char sig[EISA_SIG_LEN]; | ||
| 318 | kernel_ulong_t driver_data; | ||
| 319 | }; | ||
| 320 | |||
| 321 | #define EISA_DEVICE_MODALIAS_FMT "eisa:s%s" | ||
| 322 | |||
| 300 | #endif /* LINUX_MOD_DEVICETABLE_H */ | 323 | #endif /* LINUX_MOD_DEVICETABLE_H */ |
