ide: clear SRST after SRST finishes
commit1a9925e3390b6adf1125e3abaa17c80ca012bede
authorJohn Snow <jsnow@redhat.com>
Tue, 20 Oct 2020 20:02:42 +0000 (20 16:02 -0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 27 Oct 2020 14:39:06 +0000 (27 10:39 -0400)
tree6a0c48403bee5780851ecb4f6f4d91a16bb0830c
parentb45bcd81e05dea2781f2164ca1c9dd86069502ea
ide: clear SRST after SRST finishes

The SRST protocol states that after diagnostics are complete and the
status is posted, we should clear the SRST bit if it should so happen to
be set.

The reset method itself should handle this, but just in case -- make our
intention explicit here.

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