Skip to content

Commit f1ef706

Browse files
authored
[DRIVERS] Disable some drivers on PC-98 (reactos#8541)
These drivers expect PC/AT compatible hardware thus they are unsuitable for PC-98. Disable the drivers for the time being until we have a proper implementation. CORE-17977
1 parent 8785bed commit f1ef706

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

drivers/parallel/parport/parport.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
128128

129129
DPRINT("Parport DriverEntry\n");
130130

131+
if (IsNEC_98)
132+
{
133+
return STATUS_NOT_IMPLEMENTED;
134+
}
135+
131136
DriverObject->DriverUnload = DriverUnload;
132137
DriverObject->DriverExtension->AddDevice = AddDevice;
133138

drivers/serial/serial/serial.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ DriverEntry(
2828
{
2929
ULONG i;
3030

31+
if (IsNEC_98)
32+
{
33+
return STATUS_NOT_IMPLEMENTED;
34+
}
35+
3136
DriverObject->DriverUnload = DriverUnload;
3237
DriverObject->DriverExtension->AddDevice = SerialAddDevice;
3338

drivers/storage/floppy/floppy/floppy.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,6 +1222,11 @@ DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
12221222

12231223
UNREFERENCED_PARAMETER(RegistryPath);
12241224

1225+
if (IsNEC_98)
1226+
{
1227+
return STATUS_NOT_IMPLEMENTED;
1228+
}
1229+
12251230
/*
12261231
* Set up dispatch routines
12271232
*/

0 commit comments

Comments
 (0)