[ACPI]
authorCameron Gutman <aicommander@gmail.com>
Wed, 9 Jun 2010 22:15:17 +0000 (22:15 +0000)
committerCameron Gutman <aicommander@gmail.com>
Wed, 9 Jun 2010 22:15:17 +0000 (22:15 +0000)
- Store the interrupt data as the vector and level
- Fixes resource conflict issues

svn path=/trunk/; revision=47726

reactos/drivers/bus/acpi/buspdo.c

index 84bd1d8..69d7632 100644 (file)
@@ -744,8 +744,8 @@ Bus_PDO_QueryResources(
                                        (irq_data->Sharable == ACPI_SHARED ? CmResourceShareShared : CmResourceShareDeviceExclusive);
                                        ResourceDescriptor->Flags =
                                        (irq_data->Triggering == ACPI_LEVEL_SENSITIVE ? CM_RESOURCE_INTERRUPT_LEVEL_SENSITIVE : CM_RESOURCE_INTERRUPT_LATCHED);
-                                       ResourceDescriptor->u.Interrupt.Level = irq_data->Interrupts[i];
-                                       ResourceDescriptor->u.Interrupt.Vector = 0;
+                                       ResourceDescriptor->u.Interrupt.Level =
+                                       ResourceDescriptor->u.Interrupt.Vector = irq_data->Interrupts[i];
                                        ResourceDescriptor->u.Interrupt.Affinity = (KAFFINITY)(-1);
 
                                        ResourceDescriptor++;
@@ -763,8 +763,8 @@ Bus_PDO_QueryResources(
                                        (irq_data->Sharable == ACPI_SHARED ? CmResourceShareShared : CmResourceShareDeviceExclusive);
                                        ResourceDescriptor->Flags =
                                        (irq_data->Triggering == ACPI_LEVEL_SENSITIVE ? CM_RESOURCE_INTERRUPT_LEVEL_SENSITIVE : CM_RESOURCE_INTERRUPT_LATCHED);
-                                       ResourceDescriptor->u.Interrupt.Level = irq_data->Interrupts[i];
-                                       ResourceDescriptor->u.Interrupt.Vector = 0;
+                                       ResourceDescriptor->u.Interrupt.Level =
+                                       ResourceDescriptor->u.Interrupt.Vector = irq_data->Interrupts[i];
                                        ResourceDescriptor->u.Interrupt.Affinity = (KAFFINITY)(-1);
 
                                        ResourceDescriptor++;