aboutsummaryrefslogtreecommitdiff
path: root/kernel/cross.h
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2024-09-13 22:36:19 +0100
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2024-09-13 22:53:17 +0100
commitc3a19c1e54977a53027d6232050e1e3e39a98a1b (patch)
tree83caf8b2225c21d6944e83f66679db8d27b4f719 /kernel/cross.h
parent56fa1b2a72c71bc8aae0ac8599160ccdd1c77668 (diff)
downloadopenbios-master.zip
openbios-master.tar.gz
openbios-master.tar.bz2
esp: correctly terminate successful SCSI commandsHEADlatestmaster
An upcoming series for QEMU's ESP emulation will check that ESP commands are only issued according to their valid states as listed in the datasheet, and otherwise generate an illegal command interrupt. Currently if a SCSI command is expected to return no data or transfers data successfully, the ASC is not returned to its disconnected state. This means that any subsequent ESP initiator commands should be rejected until the SCSI bus transaction is terminated. Update the ESP driver so that if a SCSI command is successful then the ICCS and MSGACC commands are issued by the host to complete the SCSI transaction. This ensures that the ASC is returned to the disconnected state which allows the ESP to accept subsequent SCSI commands without generating an illegal command interrupt. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'kernel/cross.h')
0 files changed, 0 insertions, 0 deletions