summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mic
diff options
context:
space:
mode:
authorSudeep Dutt <sudeep.dutt@intel.com>2015-04-29 14:32:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-24 21:13:36 +0200
commitc9d5c53db959e587d8b59c6a202e2dca741baac4 (patch)
treee2d81c9b6162275d388c8c89fbb03b0a7958047e /drivers/misc/mic
parentmisc: mic: SCIF Peer Bus (diff)
downloadlinux-c9d5c53db959e587d8b59c6a202e2dca741baac4.tar.xz
linux-c9d5c53db959e587d8b59c6a202e2dca741baac4.zip
misc: mic: Common MIC header file changes in preparation for SCIF
Update mic_bootparam and define the maximum number of DMA channels Reviewed-by: Nikhil Rao <nikhil.rao@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mic')
-rw-r--r--drivers/misc/mic/common/mic_dev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/misc/mic/common/mic_dev.h b/drivers/misc/mic/common/mic_dev.h
index 92999c2bbf82..0b58c46045dc 100644
--- a/drivers/misc/mic/common/mic_dev.h
+++ b/drivers/misc/mic/common/mic_dev.h
@@ -48,4 +48,7 @@ struct mic_mw {
#define MIC_VIRTIO_PARAM_DEV_REMOVE 0x1
#define MIC_VIRTIO_PARAM_CONFIG_CHANGED 0x2
+/* Maximum number of DMA channels */
+#define MIC_MAX_DMA_CHAN 4
+
#endif