@param This - A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.\r
@param Controller - The handle of the controller to test.\r
@param NumberOfChildren - Number of child device.\r
- @param RemainingDevicePath - A pointer to the remaining portion of a device path.\r
+ @param ChildHandleBuffer - A pointer to the remaining portion of a device path.\r
\r
@retval EFI_SUCCESS - Operation successfully\r
@retval EFI_DEVICE_ERROR - Cannot stop the driver successfully\r
do {\r
Lsr.Data = READ_LSR (SerialDevice->IsaIo, SerialDevice->BaseAddress);\r
\r
- if (FeaturePcdGet (PcdNtEmulatorEnable)) {\r
- //\r
- // This is required for NT to avoid a forever-spin...\r
- // This would be better if READ_LSR was a polling operation\r
- // that would timeout.\r
- //\r
- Lsr.Bits.THRE = 1;\r
- }\r
//\r
// Flush incomming data to prevent a an overrun during a long write\r
//\r
WRITE_SCR (SerialDevice->IsaIo, SerialDevice->BaseAddress, 0xAA);\r
\r
if (READ_SCR (SerialDevice->IsaIo, SerialDevice->BaseAddress) != 0xAA) {\r
- if (!FeaturePcdGet (PcdNtEmulatorEnable)) {\r
- Status = FALSE;\r
- }\r
+ Status = FALSE;\r
}\r
\r
WRITE_SCR (SerialDevice->IsaIo, SerialDevice->BaseAddress, 0x55);\r
\r
if (READ_SCR (SerialDevice->IsaIo, SerialDevice->BaseAddress) != 0x55) {\r
- if (!FeaturePcdGet (PcdNtEmulatorEnable)) {\r
- Status = FALSE;\r
- }\r
+ Status = FALSE;\r
}\r
//\r
// Restore SCR\r