mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Disabled disk-change notification because it was breaking on Model 30 controllers; read/write is starting to work as a result
svn path=/trunk/; revision=8626
This commit is contained in:
parent
c29a4bda2e
commit
1984d3c175
2 changed files with 7 additions and 2 deletions
|
@ -885,8 +885,9 @@ NTSTATUS NTAPI HwDiskChanged(PDRIVE_INFO DriveInfo,
|
|||
{
|
||||
if(!(Buffer & DIR_DISKETTE_CHANGE))
|
||||
{
|
||||
/* FIXME FIXME FIXME: This is wrong */
|
||||
KdPrint(("floppy: HdDiskChanged - Model30 - returning TRUE\n"));
|
||||
*DiskChanged = TRUE;
|
||||
*DiskChanged = FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -235,7 +235,7 @@ static NTSTATUS NTAPI RWDetermineMediaType(PDRIVE_INFO DriveInfo)
|
|||
return STATUS_UNSUCCESSFUL; /* if we can't even write to the controller, it's hopeless */
|
||||
}
|
||||
|
||||
/* Wait for the recalibrate to finish */
|
||||
/* Wait for the ReadID to finish */
|
||||
WaitForControllerInterrupt(DriveInfo->ControllerInfo);
|
||||
|
||||
if(HwReadIdResult(DriveInfo->ControllerInfo, NULL, NULL) != STATUS_SUCCESS)
|
||||
|
@ -280,6 +280,8 @@ static NTSTATUS NTAPI RWSeekToCylinder(PDRIVE_INFO DriveInfo,
|
|||
|
||||
PAGED_CODE();
|
||||
|
||||
KdPrint(("floppy: RWSeekToCylinder called drive 0x%x cylinder %d\n", DriveInfo, Cylinder));
|
||||
|
||||
/* Clear any spurious interrupts */
|
||||
KeClearEvent(&DriveInfo->ControllerInfo->SynchEvent);
|
||||
|
||||
|
@ -319,6 +321,8 @@ static NTSTATUS NTAPI RWSeekToCylinder(PDRIVE_INFO DriveInfo,
|
|||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
KdPrint(("floppy: RWSeekToCylinder: returning successfully, now on cyl %d\n", Cylinder));
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue