Displaying 2 results from an estimated 2 matches for "irq_assigned".
2011 Feb 15
4
[PATCH]: Staging: hv: Allocate the vmbus irq dynamically
...MBUS_IRQ;
/* Set up per device attributes in /sys/bus/vmbus/devices/<bus device> */
static struct device_attribute vmbus_device_attrs[] = {
@@ -467,6 +485,7 @@ static int vmbus_bus_init(void)
struct vm_device *dev_ctx = &vmbus_drv.device_ctx;
int ret;
unsigned int vector;
+ bool irq_assigned = false;
DPRINT_INFO(VMBUS, "+++++++ HV Driver version = %s +++++++",
HV_DRV_VERSION);
@@ -517,20 +536,42 @@ static int vmbus_bus_init(void)
goto cleanup;
}
- /* Get the interrupt resource */
- ret = request_irq(vmbus_irq, vmbus_isr, IRQF_SAMPLE_RANDOM,
- driver->...
2011 Feb 15
4
[PATCH]: Staging: hv: Allocate the vmbus irq dynamically
...MBUS_IRQ;
/* Set up per device attributes in /sys/bus/vmbus/devices/<bus device> */
static struct device_attribute vmbus_device_attrs[] = {
@@ -467,6 +485,7 @@ static int vmbus_bus_init(void)
struct vm_device *dev_ctx = &vmbus_drv.device_ctx;
int ret;
unsigned int vector;
+ bool irq_assigned = false;
DPRINT_INFO(VMBUS, "+++++++ HV Driver version = %s +++++++",
HV_DRV_VERSION);
@@ -517,20 +536,42 @@ static int vmbus_bus_init(void)
goto cleanup;
}
- /* Get the interrupt resource */
- ret = request_irq(vmbus_irq, vmbus_isr, IRQF_SAMPLE_RANDOM,
- driver->...