[PARPORT]

Reduce the minimum I/O-Range size for parallel ports to 4. This fixes port detection on VMware.
Found by Colin Finck.

svn path=/trunk/; revision=68579
This commit is contained in:
Eric Kohl
2015-07-26 19:30:21 +00:00
parent e6d1e20049
commit 184bf48b97
+1 -1
View File
@@ -161,7 +161,7 @@ FdoStartDevice(IN PDEVICE_OBJECT DeviceObject,
if (DeviceExtension->BaseAddress == 0)
{
if (PartialDescriptor->u.Port.Length < 8)
if (PartialDescriptor->u.Port.Length < 4)
return STATUS_INSUFFICIENT_RESOURCES;
DeviceExtension->BaseAddress = PartialDescriptor->u.Port.Start.u.LowPart;