mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[DRIVERS] Disable some drivers on PC-98 (#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
This commit is contained in:
@@ -128,6 +128,11 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
|
||||
|
||||
DPRINT("Parport DriverEntry\n");
|
||||
|
||||
if (IsNEC_98)
|
||||
{
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
DriverObject->DriverUnload = DriverUnload;
|
||||
DriverObject->DriverExtension->AddDevice = AddDevice;
|
||||
|
||||
|
||||
@@ -28,6 +28,11 @@ DriverEntry(
|
||||
{
|
||||
ULONG i;
|
||||
|
||||
if (IsNEC_98)
|
||||
{
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
DriverObject->DriverUnload = DriverUnload;
|
||||
DriverObject->DriverExtension->AddDevice = SerialAddDevice;
|
||||
|
||||
|
||||
@@ -1222,6 +1222,11 @@ DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
|
||||
|
||||
UNREFERENCED_PARAMETER(RegistryPath);
|
||||
|
||||
if (IsNEC_98)
|
||||
{
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
/*
|
||||
* Set up dispatch routines
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user