aboutsummaryrefslogtreecommitdiff
path: root/src/clock.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2023-08-07 07:53:00 +0100
committerHelge Deller <deller@gmx.de>2023-09-16 16:29:36 +0200
commit6f5b0bce327dc75eeeebff097b5de0c535e57360 (patch)
treedd4a8b9d7d0b4f5cc34b7b73dce460d9d6eedd8f /src/clock.c
parenta0527d3de1354b482313757a0c8b4a5debf4d4c6 (diff)
downloadseabios-hppa-6f5b0bce327dc75eeeebff097b5de0c535e57360.zip
seabios-hppa-6f5b0bce327dc75eeeebff097b5de0c535e57360.tar.gz
seabios-hppa-6f5b0bce327dc75eeeebff097b5de0c535e57360.tar.bz2
esp-scsi: handle non-DMA SCSI commands with no data phase
The existing esp-scsi state machine checks for the STAT_TC bit to exit state 1 but in the case where there is no data phase, a non-DMA command is executed which doesn't set STAT_TC. This only works because QEMU currently always sets STAT_TC just after issuing every SCSI command. Update the esp-scsi state machine so that in the case where there is no data phase, we immediately execute CMD_ICCS instead of waiting for STAT_TC to be set which will never happen with a non-DMA CMD_SELATN command. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-ID: <20230807065300.366070-4-mark.cave-ayland@ilande.co.uk> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/clock.c')
0 files changed, 0 insertions, 0 deletions