aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/mic/mpssd/mpssd.c
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 /Documentation/mic/mpssd/mpssd.c
parentmisc: mic: Enable VOP debugfs and driver build (diff)
downloadwireguard-linux-c74c9318a3a76c3714785bc06147dd207a9d0aa3.tar.xz
wireguard-linux-c74c9318a3a76c3714785bc06147dd207a9d0aa3.zip
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/mpssd.c')
-rw-r--r--Documentation/mic/mpssd/mpssd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/mic/mpssd/mpssd.c b/Documentation/mic/mpssd/mpssd.c
index aaeafa18d99b..518dece71578 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));