search for: example_prob

Displaying 1 result from an estimated 1 matches for "example_prob".

Did you mean: example_prog
2019 Apr 29
1
[RFC-PATCH] Introducing virtio-example.
...virtqueue_get_buf(vi->vq, &len); + + vi->in = *res; +} + + +//----------------------------------------------------------------------------- +// driver functions +//----------------------------------------------------------------------------- + + +static int example_probe(struct virtio_device *vdev) +{ + int retval; + struct virtexample_info *vi = NULL; + + /* create sysfiles for UI */ + retval = sysfs_create_group(&vdev->dev.kobj, &example_attr_group); + if (retval) { + pr_alert("failed to create group in /sys/bus/virtio/devic...