summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mic/host/mic_device.h
diff options
context:
space:
mode:
authorSudeep Dutt <sudeep.dutt@intel.com>2016-02-08 15:48:18 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-09 17:32:37 -0800
commitc74c9318a3a76c3714785bc06147dd207a9d0aa3 (patch)
tree56d278de4a1b07caa76d857131c4b6981a15959f /drivers/misc/mic/host/mic_device.h
parent8810df37762746657cfe84014a8f30758e8f366a (diff)
downloadlinux-c74c9318a3a76c3714785bc06147dd207a9d0aa3.tar.bz2
misc: mic: MIC host and card driver changes to enable VOP
This patch modifies the MIC host and card drivers to start using the VOP driver. The MIC host and card drivers now implement the VOP bus operations and register a VOP device on the VOP bus. MIC driver stack documentation is also updated to include the new VOP driver. 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/host/mic_device.h')
-rw-r--r--drivers/misc/mic/host/mic_device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/misc/mic/host/mic_device.h b/drivers/misc/mic/host/mic_device.h
index 8460de122929..52b12b22f4ae 100644
--- a/drivers/misc/mic/host/mic_device.h
+++ b/drivers/misc/mic/host/mic_device.h
@@ -29,6 +29,7 @@
#include <linux/miscdevice.h>
#include <linux/mic_bus.h>
#include "../bus/scif_bus.h"
+#include "../bus/vop_bus.h"
#include "../bus/cosm_bus.h"
#include "mic_intr.h"
@@ -68,6 +69,7 @@ extern struct cosm_hw_ops cosm_hw_ops;
* @dma_ch - Array of DMA channels
* @num_dma_ch - Number of DMA channels available
* @scdev: SCIF device on the SCIF virtual bus.
+ * @vpdev: Virtio over PCIe device on the VOP virtual bus.
* @cosm_dev: COSM device
*/
struct mic_device {
@@ -92,6 +94,7 @@ struct mic_device {
struct dma_chan *dma_ch[MIC_MAX_DMA_CHAN];
int num_dma_ch;
struct scif_hw_dev *scdev;
+ struct vop_device *vpdev;
struct cosm_device *cosm_dev;
};