search for: vmbus_bus_release

Displaying 14 results from an estimated 14 matches for "vmbus_bus_release".

2011 Mar 10
1
[PATCH 10/21] Staging: hv: Cleanup root device handling
...static int vmbus_match(struct device *device, struct device_driver *driver); @@ -60,7 +61,6 @@ static int vmbus_uevent(struct device *device, struct kobj_uevent_env *env); static irqreturn_t vmbus_isr(int irq, void *dev_id); static void vmbus_device_release(struct device *device); -static void vmbus_bus_release(struct device *device); static ssize_t vmbus_show_device_attr(struct device *dev, struct device_attribute *dev_attr, @@ -117,54 +117,6 @@ static struct vmbus_driver_context vmbus_drv = { static const char *driver_name = "hyperv"; -/* - * Windows vmbus does not defined t...
2011 Mar 10
1
[PATCH 10/21] Staging: hv: Cleanup root device handling
...static int vmbus_match(struct device *device, struct device_driver *driver); @@ -60,7 +61,6 @@ static int vmbus_uevent(struct device *device, struct kobj_uevent_env *env); static irqreturn_t vmbus_isr(int irq, void *dev_id); static void vmbus_device_release(struct device *device); -static void vmbus_bus_release(struct device *device); static ssize_t vmbus_show_device_attr(struct device *dev, struct device_attribute *dev_attr, @@ -117,54 +117,6 @@ static struct vmbus_driver_context vmbus_drv = { static const char *driver_name = "hyperv"; -/* - * Windows vmbus does not defined t...
2011 Feb 26
2
[PATCH 3/6] Staging: hv: Cleanup hyperv_device variable names
...*/ - dev_ctx->device.parent = NULL; + dev->device.parent = NULL; /* NULL; vmbus_remove() does not get invoked */ - dev_ctx->device.bus = &vmbus_drv_ctx->bus; + dev->device.bus = &vmbus_drv_ctx->bus; /* Setup the device dispatch table */ - dev_ctx->device.release = vmbus_bus_release; + dev->device.release = vmbus_bus_release; /* Setup the bus as root device */ - ret = device_register(&dev_ctx->device); + ret = device_register(&dev->device); if (ret) { DPRINT_ERR(VMBUS_DRV, "ERROR - Unable to register vmbus root device"); @@ -590,17 +5...
2011 Feb 26
2
[PATCH 3/6] Staging: hv: Cleanup hyperv_device variable names
...*/ - dev_ctx->device.parent = NULL; + dev->device.parent = NULL; /* NULL; vmbus_remove() does not get invoked */ - dev_ctx->device.bus = &vmbus_drv_ctx->bus; + dev->device.bus = &vmbus_drv_ctx->bus; /* Setup the device dispatch table */ - dev_ctx->device.release = vmbus_bus_release; + dev->device.release = vmbus_bus_release; /* Setup the bus as root device */ - ret = device_register(&dev_ctx->device); + ret = device_register(&dev->device); if (ret) { DPRINT_ERR(VMBUS_DRV, "ERROR - Unable to register vmbus root device"); @@ -590,17 +5...
2010 Mar 04
1
[PATCH 1/1] Stage: hv: Corrected all header comments to follow kernel-doc format-CORRECTED
...static int vmbus_remove(struct device *child_device) return 0; } -/** +/* * vmbus_shutdown - Shutdown a vmbus device */ static void vmbus_shutdown(struct device *child_device) @@ -855,7 +881,7 @@ static void vmbus_shutdown(struct device *child_device) return; } -/** +/* * vmbus_bus_release - Final callback release of the vmbus root device */ static void vmbus_bus_release(struct device *device) @@ -869,7 +895,7 @@ static void vmbus_bus_release(struct device *device) DPRINT_EXIT(VMBUS_DRV); } -/** +/* * vmbus_device_release - Final callback release of the vmbus child dev...
2010 Mar 04
1
[PATCH 1/1] Stage: hv: Corrected all header comments to follow kernel-doc format-CORRECTED
...static int vmbus_remove(struct device *child_device) return 0; } -/** +/* * vmbus_shutdown - Shutdown a vmbus device */ static void vmbus_shutdown(struct device *child_device) @@ -855,7 +881,7 @@ static void vmbus_shutdown(struct device *child_device) return; } -/** +/* * vmbus_bus_release - Final callback release of the vmbus root device */ static void vmbus_bus_release(struct device *device) @@ -869,7 +895,7 @@ static void vmbus_bus_release(struct device *device) DPRINT_EXIT(VMBUS_DRV); } -/** +/* * vmbus_device_release - Final callback release of the vmbus child dev...
2010 Mar 04
3
[PATCH 1/1] Stage: hv: Corrected all header comments to follow kernel-doc format
...static int vmbus_remove(struct device *child_device) return 0; } -/** +/* * vmbus_shutdown - Shutdown a vmbus device */ static void vmbus_shutdown(struct device *child_device) @@ -855,7 +881,7 @@ static void vmbus_shutdown(struct device *child_device) return; } -/** +/* * vmbus_bus_release - Final callback release of the vmbus root device */ static void vmbus_bus_release(struct device *device) @@ -869,7 +895,7 @@ static void vmbus_bus_release(struct device *device) DPRINT_EXIT(VMBUS_DRV); } -/** +/* * vmbus_device_release - Final callback release of the vmbus child dev...
2010 Mar 04
3
[PATCH 1/1] Stage: hv: Corrected all header comments to follow kernel-doc format
...static int vmbus_remove(struct device *child_device) return 0; } -/** +/* * vmbus_shutdown - Shutdown a vmbus device */ static void vmbus_shutdown(struct device *child_device) @@ -855,7 +881,7 @@ static void vmbus_shutdown(struct device *child_device) return; } -/** +/* * vmbus_bus_release - Final callback release of the vmbus root device */ static void vmbus_bus_release(struct device *device) @@ -869,7 +895,7 @@ static void vmbus_bus_release(struct device *device) DPRINT_EXIT(VMBUS_DRV); } -/** +/* * vmbus_device_release - Final callback release of the vmbus child dev...
2011 Mar 15
16
[PATCH 00/12] Staging: hv: Cleanup vmbus driver - Phase II
This patch-set fixes the following issues in the vmbus driver (vmbus_drv.c): Make vmbus driver a platform pci device and cleanup root device management and irq allocation (patches 1/12 through 3/12): 1) Make vmbus driver a platform pci driver. 2) Cleanup root device management. 3) Leverage the pci model for allocating irq. General cleanup of vmbus driver (patches 4/12 though 12/12): 1)
2011 Mar 15
16
[PATCH 00/12] Staging: hv: Cleanup vmbus driver - Phase II
This patch-set fixes the following issues in the vmbus driver (vmbus_drv.c): Make vmbus driver a platform pci device and cleanup root device management and irq allocation (patches 1/12 through 3/12): 1) Make vmbus driver a platform pci driver. 2) Cleanup root device management. 3) Leverage the pci model for allocating irq. General cleanup of vmbus driver (patches 4/12 though 12/12): 1)
2011 Feb 24
4
[PATCH ] Staging: hv: Hyper-V driver cleanup
...*/ - dev_ctx->device.parent = NULL; + hv_dev->device.parent = NULL; /* NULL; vmbus_remove() does not get invoked */ - dev_ctx->device.bus = &vmbus_drv_ctx->bus; + hv_dev->device.bus = &vmb_drv->bus; /* Setup the device dispatch table */ - dev_ctx->device.release = vmbus_bus_release; + hv_dev->device.release = vmbus_bus_release; /* Setup the bus as root device */ - ret = device_register(&dev_ctx->device); + ret = device_register(&hv_dev->device); if (ret) { DPRINT_ERR(VMBUS_DRV, "ERROR - Unable to register vmbus root device"); fr...
2011 Feb 24
4
[PATCH ] Staging: hv: Hyper-V driver cleanup
...*/ - dev_ctx->device.parent = NULL; + hv_dev->device.parent = NULL; /* NULL; vmbus_remove() does not get invoked */ - dev_ctx->device.bus = &vmbus_drv_ctx->bus; + hv_dev->device.bus = &vmb_drv->bus; /* Setup the device dispatch table */ - dev_ctx->device.release = vmbus_bus_release; + hv_dev->device.release = vmbus_bus_release; /* Setup the bus as root device */ - ret = device_register(&dev_ctx->device); + ret = device_register(&hv_dev->device); if (ret) { DPRINT_ERR(VMBUS_DRV, "ERROR - Unable to register vmbus root device"); fr...
2011 Feb 26
1
[PATCH 2/6] Staging: hv: Rename vm_device to hyperv_device
...;driver); - struct vm_device *device_ctx = - device_to_vm_device(child_device); + struct hyperv_device *device_ctx = + device_to_hyperv_device(child_device); /* Let the specific open-source driver handles the probe if it can */ if (driver_ctx->probe) { @@ -1008,7 +1008,7 @@ static void vmbus_bus_release(struct device *device) */ static void vmbus_device_release(struct device *device) { - struct vm_device *device_ctx = device_to_vm_device(device); + struct hyperv_device *device_ctx = device_to_hyperv_device(device); kfree(device_ctx); diff --git a/drivers/staging/hv/vmbus_private.h b/driv...
2011 Feb 26
1
[PATCH 2/6] Staging: hv: Rename vm_device to hyperv_device
...;driver); - struct vm_device *device_ctx = - device_to_vm_device(child_device); + struct hyperv_device *device_ctx = + device_to_hyperv_device(child_device); /* Let the specific open-source driver handles the probe if it can */ if (driver_ctx->probe) { @@ -1008,7 +1008,7 @@ static void vmbus_bus_release(struct device *device) */ static void vmbus_device_release(struct device *device) { - struct vm_device *device_ctx = device_to_vm_device(device); + struct hyperv_device *device_ctx = device_to_hyperv_device(device); kfree(device_ctx); diff --git a/drivers/staging/hv/vmbus_private.h b/driv...