Skip to content

Commit a0552a4

Browse files
diseanbinarymaster
authored andcommitted
[DRIVERS] Exclude some drivers
1 parent 71fd909 commit a0552a4

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

drivers/input/i8042prt/i8042prt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ DriverEntry(
485485
{
486486
PI8042_DRIVER_EXTENSION DriverExtension;
487487
NTSTATUS Status;
488-
488+
return -1;
489489
Status = IoAllocateDriverObjectExtension(
490490
DriverObject,
491491
DriverObject,

drivers/parallel/parport/parport.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
125125
ULONG i;
126126

127127
DPRINT("Parport DriverEntry\n");
128-
128+
return -1;
129129
DriverObject->DriverUnload = DriverUnload;
130130
DriverObject->DriverExtension->AddDevice = AddDevice;
131131

drivers/serial/serial/serial.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ DriverEntry(
2727
IN PUNICODE_STRING RegPath)
2828
{
2929
ULONG i;
30-
30+
return -1;
3131
DriverObject->DriverUnload = DriverUnload;
3232
DriverObject->DriverExtension->AddDevice = SerialAddDevice;
3333

drivers/storage/floppy/fdc/fdc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
180180
IN PUNICODE_STRING RegistryPath)
181181
{
182182
DPRINT("FDC: DriverEntry()\n");
183-
183+
return -1;
184184
DriverObject->MajorFunction[IRP_MJ_CREATE] = FdcCreate;
185185
DriverObject->MajorFunction[IRP_MJ_CLOSE] = FdcClose;
186186
// DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = FdcDeviceControl;

drivers/storage/port/buslogic/BusLogic958.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ DriverEntry(IN PVOID DriverObject,
103103
UCHAR DeviceId[4] = { '1', '0', '4', '0' };
104104

105105
DebugPrint((TRACE,"\n BusLogic - Inside the DriverEntry function \n"));
106-
106+
return -1;
107107
// Zero out structure.
108108
for (i = 0; i < sizeof(HW_INITIALIZATION_DATA); i++)
109109
{

0 commit comments

Comments
 (0)