diff options
Diffstat (limited to 'drivers/misc/mic/common/mic_dev.h')
-rw-r--r-- | drivers/misc/mic/common/mic_dev.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/misc/mic/common/mic_dev.h b/drivers/misc/mic/common/mic_dev.h index 0b58c46045dc..50776772ebdf 100644 --- a/drivers/misc/mic/common/mic_dev.h +++ b/drivers/misc/mic/common/mic_dev.h | |||
@@ -21,6 +21,19 @@ | |||
21 | #ifndef __MIC_DEV_H__ | 21 | #ifndef __MIC_DEV_H__ |
22 | #define __MIC_DEV_H__ | 22 | #define __MIC_DEV_H__ |
23 | 23 | ||
24 | /* The maximum number of MIC devices supported in a single host system. */ | ||
25 | #define MIC_MAX_NUM_DEVS 128 | ||
26 | |||
27 | /** | ||
28 | * enum mic_hw_family - The hardware family to which a device belongs. | ||
29 | */ | ||
30 | enum mic_hw_family { | ||
31 | MIC_FAMILY_X100 = 0, | ||
32 | MIC_FAMILY_X200, | ||
33 | MIC_FAMILY_UNKNOWN, | ||
34 | MIC_FAMILY_LAST | ||
35 | }; | ||
36 | |||
24 | /** | 37 | /** |
25 | * struct mic_mw - MIC memory window | 38 | * struct mic_mw - MIC memory window |
26 | * | 39 | * |