OSDN Git Service

escc: fix STATUS_SYNC bit in R_STATUS register
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 3 Sep 2021 11:32:23 +0000 (12:32 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 8 Sep 2021 10:09:45 +0000 (11:09 +0100)
commit15a2a1a4d1eecc74a87e1552f5cc4e3668375715
tree39489f0bc88170c01d02979d89bdd69b672fcb54
parent99b0f0584132d942547046bc064478db5bcbe7c5
escc: fix STATUS_SYNC bit in R_STATUS register

After an SDLC "Enter hunt" command has been sent the STATUS_SYNC bit should remain
high until the flag byte has been detected. Whilst the ESCC device doesn't yet
implement SDLC mode, without this change the active low STATUS_SYNC is constantly
asserted causing the MacOS OpenTransport extension to hang on startup as it thinks
it is constantly receiving LocalTalk responses during its initial negotiation
phase.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20210903113223.19551-10-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/char/escc.c