summaryrefslogtreecommitdiff
path: root/drivers/misc/mic/common/mic_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/mic/common/mic_device.h')
-rw-r--r--drivers/misc/mic/common/mic_device.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/misc/mic/common/mic_device.h b/drivers/misc/mic/common/mic_device.h
index 6440e9d58d3a..01eb74faae6b 100644
--- a/drivers/misc/mic/common/mic_device.h
+++ b/drivers/misc/mic/common/mic_device.h
@@ -41,4 +41,11 @@ struct mic_mw {
#define MIC_DPLO_SPAD 14
#define MIC_DPHI_SPAD 15
+/*
+ * These values are supposed to be in the config_change field of the
+ * device page when the host sends a config change interrupt to the card.
+ */
+#define MIC_VIRTIO_PARAM_DEV_REMOVE 0x1
+#define MIC_VIRTIO_PARAM_CONFIG_CHANGED 0x2
+
#endif