ide: perform SRST as early as possible
commitb45bcd81e05dea2781f2164ca1c9dd86069502ea
authorJohn Snow <jsnow@redhat.com>
Tue, 20 Oct 2020 20:02:41 +0000 (20 16:02 -0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 27 Oct 2020 14:39:06 +0000 (27 10:39 -0400)
tree9c604af40f2c07b89a373ca751a02a5262deaf8c
parent4ac4e7281a2dd1ca5158812198c4d2cbacf2ae25
ide: perform SRST as early as possible

We don't need to wait for the falling edge. We can set BSY as
soon as possible and begin immediately resetting the drive. Devices
don't appear to need to take any specific action on the falling edge.

Signed-off-by: John Snow <jsnow@redhat.com>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-id: 20201020200242.1497705-3-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
hw/ide/core.c