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:
Vizzini 2004-03-10 19:35:04 +00:00
parent c29a4bda2e
commit 1984d3c175
2 changed files with 7 additions and 2 deletions

View file

@ -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
{

View file

@ -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;
}