/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: Parallel Port Function Driver
+ * FILE: drivers/parallel/parport/parport.h
* PURPOSE: Parport driver header
*/
#include <ntddpar.h>
#include <stdio.h>
+#include "hardware.h"
+
//#define NDEBUG
#include <debug.h>
PDEVICE_OBJECT Pdo;
PDEVICE_OBJECT LowerDevice;
- ULONG ParallelPortNumber;
+ PDEVICE_OBJECT AttachedRawPdo;
+ PDEVICE_OBJECT AttachedPdo[2];
+
+ ULONG PortNumber;
- ULONG LptPort;
ULONG OpenCount;
ULONG BaseAddress;
{
COMMON_DEVICE_EXTENSION Common;
+ PDEVICE_OBJECT AttachedFdo;
+
+ ULONG PortNumber;
+ ULONG LptPort;
+
+ ULONG OpenCount;
+
} PDO_DEVICE_EXTENSION, *PPDO_DEVICE_EXTENSION;
+#define PARPORT_TAG 'trpP'
/* fdo.c */