]> Git Repo - qemu.git/commit
esp: fix PDMA target selection
authorMark Cave-Ayland <[email protected]>
Thu, 4 Mar 2021 22:10:48 +0000 (22:10 +0000)
committerMark Cave-Ayland <[email protected]>
Sun, 7 Mar 2021 10:39:05 +0000 (10:39 +0000)
commit496913153a9d5d0b200c2ac30a541f9f294f55aa
treefc3ded64485eb3b21bf9835e2ef93b274ae821bb
parentc7bce09c0595b235ad367a12bae54cb04b33025b
esp: fix PDMA target selection

Currently the target selection for PDMA is done after the SCSI command has been
delivered which is not correct. Perform target selection as part of the initial
get_cmd() call when the command is submitted: if no target is present, don't
raise DRQ.

If the target is present then switch to the command phase since the MacOS toolbox
ROM checks for this before attempting to submit the SCSI command.

Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>
Message-Id: <20210304221103[email protected]>
hw/scsi/esp.c
This page took 0.026436 seconds and 4 git commands to generate.