mirror of
https://github.com/reactos/reactos.git
synced 2026-06-20 03:17:20 +08:00
[FLOPPY]
Check for controller configuration status. CORE-10761 #comment Please retest. svn path=/trunk/; revision=70606
This commit is contained in:
@@ -680,7 +680,11 @@ InitController(PCONTROLLER_INFO ControllerInfo)
|
||||
TRACE_(FLOPPY, "InitController called with Controller 0x%p\n", ControllerInfo);
|
||||
|
||||
/* Get controller in a known state */
|
||||
HwConfigure(ControllerInfo, FALSE, TRUE, TRUE, 0, 0);
|
||||
if(HwConfigure(ControllerInfo, FALSE, TRUE, TRUE, 0, 0) != STATUS_SUCCESS)
|
||||
{
|
||||
WARN_(FLOPPY, "InitController: unable to configure controller\n");
|
||||
return STATUS_IO_DEVICE_ERROR;
|
||||
}
|
||||
|
||||
/* Get the controller version */
|
||||
ControllerVersion = HwGetVersion(ControllerInfo);
|
||||
|
||||
Reference in New Issue
Block a user