[FLOPPY]
authorPierre Schweitzer <pierre@reactos.org>
Sun, 14 Feb 2016 19:53:47 +0000 (19:53 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 14 Feb 2016 19:53:47 +0000 (19:53 +0000)
commit78eb31503ac3a37208a090bbc99406f1b15b9556
treee84f4681ce6339e1910e4cd413878d6eef3f4af6
parent9a468d30e522133c97eb239bcf9d52209d6bbf0b
[FLOPPY]
When discovering floppy controlers, immediately probe controlers to check whether they have a disk and if so, what's its geometry.
This avoids waiting for the first read, which will obviously never happen because FSD will try other operations depending on not set geometry.

This implies a modification in RWDetermineMediaType() to avoid infinite wait, in case there's no disk at all in the controler.

Addendum to r70725

svn path=/trunk/; revision=70746
reactos/drivers/storage/floppy/floppy.c
reactos/drivers/storage/floppy/readwrite.c
reactos/drivers/storage/floppy/readwrite.h