diff options
author | Sudeep Dutt <sudeep.dutt@intel.com> | 2016-02-08 15:48:18 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-09 17:32:37 -0800 |
commit | c74c9318a3a76c3714785bc06147dd207a9d0aa3 (patch) | |
tree | 56d278de4a1b07caa76d857131c4b6981a15959f /Documentation/mic/mpssd | |
parent | 8810df37762746657cfe84014a8f30758e8f366a (diff) | |
download | op-kernel-dev-c74c9318a3a76c3714785bc06147dd207a9d0aa3.zip op-kernel-dev-c74c9318a3a76c3714785bc06147dd207a9d0aa3.tar.gz |
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 'Documentation/mic/mpssd')
-rwxr-xr-x | Documentation/mic/mpssd/mpss | 2 | ||||
-rw-r--r-- | Documentation/mic/mpssd/mpssd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/mic/mpssd/mpss b/Documentation/mic/mpssd/mpss index 09ea9093..5fcf9fa 100755 --- a/Documentation/mic/mpssd/mpss +++ b/Documentation/mic/mpssd/mpss @@ -35,7 +35,7 @@ exec=/usr/sbin/mpssd sysfs="/sys/class/mic" -mic_modules="mic_host mic_x100_dma scif" +mic_modules="mic_host mic_x100_dma scif vop" start() { diff --git a/Documentation/mic/mpssd/mpssd.c b/Documentation/mic/mpssd/mpssd.c index aaeafa1..518dece 100644 --- a/Documentation/mic/mpssd/mpssd.c +++ b/Documentation/mic/mpssd/mpssd.c @@ -926,7 +926,7 @@ add_virtio_device(struct mic_info *mic, struct mic_device_desc *dd) char path[PATH_MAX]; int fd, err; - snprintf(path, PATH_MAX, "/dev/mic%d", mic->id); + snprintf(path, PATH_MAX, "/dev/vop_virtio%d", mic->id); fd = open(path, O_RDWR); if (fd < 0) { mpsslog("Could not open %s %s\n", path, strerror(errno)); |