reactos/drivers/storage
Joachim Henze b5fc7d12c9 [0.4.7][DISK] Properly implement querying partition information for partition 0.
In spite of what was implemented in our NT DDK sample, this is a legit operation.

This may have been turned legit starting NT5 (reminder, our implementation is
NT4 based...). So, in this situation, just return the information about the whole
disk (and not a random size) and also, mark everything with default values.

See disk_new for an example of how it works in NT5+.

Fix picked from 0.4.8-dev-507-g b9b461bde9
And it was for master linked against CORE-14124 although it was not directly
related to that regression.
My motivation to port back that commit of Pierre on its own is, that it kills a lot of
logspam of the kind:
(../drivers/storage/class/disk/disk.c:2257) HACK: Handling partition 0 request!
multiple times each boot.

This syncs the whole disk module 100% to the state of 0.4.8 and that state
remained quite settled for the years to come afterwards.
2022-10-05 01:22:00 +02:00
..
class [0.4.7][DISK] Properly implement querying partition information for partition 0. 2022-10-05 01:22:00 +02:00
classpnp Remove unwanted .gitignore files. 2017-10-04 10:28:36 +02:00
fdc Add .keep guard files in order to restore lost but empty directories we had with SVN. 2017-10-04 10:28:36 +02:00
floppy [0.4.7][FLOPPY] Don't wait forever while trying to determine media type. CORE-12908 2021-11-16 03:06:56 +01:00
ide [0.4.7][UNIATA] Workaround random crashes on Virtual PC (#3377) CORE-12441 CORE-17371 2021-11-16 22:34:46 +01:00
inc
port [STORPORT] Get the interrupt from the resource list, connect it and call the miniports HwInterrupt routine. 2017-10-23 23:21:58 +02:00
scsiport
storahci [STORAHCI] Make the storahci driver build on gcc and add it to the build. 2017-10-13 21:52:38 +02:00
CMakeLists.txt [STORAHCI] Make the storahci driver build on gcc and add it to the build. 2017-10-13 21:52:38 +02:00