[ros-diffs] [janderwald] 41623: - Callback routine expects fdo - Fix boot

janderwald at svn.reactos.org janderwald at svn.reactos.org
Sun Jun 28 10:31:03 CEST 2009


Author: janderwald
Date: Fri Jun 26 18:17:12 2009
New Revision: 41623

URL: http://svn.reactos.org/svn/reactos?rev=41623&view=rev
Log:
- Callback routine expects fdo
- Fix boot

Modified:
    trunk/reactos/drivers/wdm/audio/backpln/portcls/adapter.c

Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/adapter.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/portcls/adapter.c?rev=41623&r1=41622&r2=41623&view=diff
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/adapter.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/adapter.c [iso-8859-1] Fri Jun 26 18:17:12 2009
@@ -158,9 +158,9 @@
     /* initialize timer list */
     InitializeListHead(&portcls_ext->TimerList);
     /* initialize io timer */
-    IoInitializeTimer(PhysicalDeviceObject, PcIoTimerRoutine, NULL);
+    IoInitializeTimer(fdo, PcIoTimerRoutine, NULL);
     /* start the io timer */
-    IoStartTimer(PhysicalDeviceObject);
+    IoStartTimer(fdo);
 
     /* set io flags */
     fdo->Flags |= DO_DIRECT_IO | DO_POWER_PAGABLE;



More information about the Ros-diffs mailing list