Displaying 2 results from an estimated 2 matches for "cd7be6f".
Did you mean:
8cd7be68
2014 Nov 09
1
[PATCH] virtio-pci: Reset device on shutdown
....com/show_bug.cgi?id=1128424
Cc: Ulrich Obergfell <uobergfe at redhat.com>
Signed-off-by: Fam Zheng <famz at redhat.com>
---
drivers/virtio/virtio_pci.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c
index d34ebfa..cd7be6f 100644
--- a/drivers/virtio/virtio_pci.c
+++ b/drivers/virtio/virtio_pci.c
@@ -743,6 +743,14 @@ out:
return err;
}
+static void virtio_pci_shutdown(struct pci_dev *pci_dev)
+{
+ struct virtio_pci_device *vp_dev = pci_get_drvdata(pci_dev);
+
+ vp_reset(&vp_dev->vdev);
+}
+
+
static void...
2014 Nov 09
1
[PATCH] virtio-pci: Reset device on shutdown
....com/show_bug.cgi?id=1128424
Cc: Ulrich Obergfell <uobergfe at redhat.com>
Signed-off-by: Fam Zheng <famz at redhat.com>
---
drivers/virtio/virtio_pci.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c
index d34ebfa..cd7be6f 100644
--- a/drivers/virtio/virtio_pci.c
+++ b/drivers/virtio/virtio_pci.c
@@ -743,6 +743,14 @@ out:
return err;
}
+static void virtio_pci_shutdown(struct pci_dev *pci_dev)
+{
+ struct virtio_pci_device *vp_dev = pci_get_drvdata(pci_dev);
+
+ vp_reset(&vp_dev->vdev);
+}
+
+
static void...