- Store the device object we're attached to in the device extension.

svn path=/trunk/; revision=12224
This commit is contained in:
Filip Navara
2004-12-19 15:51:51 +00:00
parent e84c9310a5
commit c30b427a20
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -18,7 +18,7 @@
* If not, write to the Free Software Foundation,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id: videoprt.c,v 1.28 2004/11/24 11:12:19 ekohl Exp $
* $Id: videoprt.c,v 1.29 2004/12/19 15:51:51 navaraf Exp $
*/
#include "videoprt.h"
@@ -445,7 +445,8 @@ IntVideoPortFindAdapter(
}
if (PhysicalDeviceObject != NULL)
IoAttachDeviceToDeviceStack(DeviceObject, PhysicalDeviceObject);
DeviceExtension->NextDeviceObject = IoAttachDeviceToDeviceStack(
DeviceObject, PhysicalDeviceObject);
DPRINT("STATUS_SUCCESS\n");
return STATUS_SUCCESS;
+2 -1
View File
@@ -18,7 +18,7 @@
* If not, write to the Free Software Foundation,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id: videoprt.h,v 1.12 2004/12/18 22:14:39 blight Exp $
* $Id: videoprt.h,v 1.13 2004/12/19 15:51:51 navaraf Exp $
*/
#ifndef VIDEOPRT_H
@@ -70,6 +70,7 @@ typedef struct _VIDEO_PORT_DEVICE_EXTENSTION
{
PDEVICE_OBJECT PhysicalDeviceObject;
PDEVICE_OBJECT FunctionalDeviceObject;
PDEVICE_OBJECT NextDeviceObject;
UNICODE_STRING RegistryPath;
PKINTERRUPT InterruptObject;
KSPIN_LOCK InterruptSpinLock;