[ros-diffs] [cgutman] 47726: [ACPI] - Store the interrupt data as the vector and level - Fixes resource conflict issues

cgutman at svn.reactos.org cgutman at svn.reactos.org
Wed Jun 9 23:15:18 CET 2010


Author: cgutman
Date: Wed Jun  9 22:15:17 2010
New Revision: 47726

URL: http://svn.reactos.org/svn/reactos?rev=47726&view=rev
Log:
[ACPI]
- Store the interrupt data as the vector and level
- Fixes resource conflict issues

Modified:
    trunk/reactos/drivers/bus/acpi/buspdo.c

Modified: trunk/reactos/drivers/bus/acpi/buspdo.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/buspdo.c?rev=47726&r1=47725&r2=47726&view=diff
==============================================================================
--- trunk/reactos/drivers/bus/acpi/buspdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/buspdo.c [iso-8859-1] Wed Jun  9 22:15:17 2010
@@ -744,8 +744,8 @@
 					(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 @@
 					(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++;




More information about the Ros-diffs mailing list