Mark Cave-Ayland 2006904938 mac_via: workaround NetBSD ADB bus enumeration issue
NetBSD assumes it can send its first ADB command after sending the ADB_BUSRESET
command in ADB_STATE_NEW without changing the state back to ADB_STATE_IDLE
first as detailed in the ADB protocol.

Add a workaround to detect this condition at the start of ADB enumeration
and send the next command written to SR after a ADB_BUSRESET onto the bus
regardless, even if we don't detect a state transition to ADB_STATE_NEW.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231004083806.757242-16-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2023-10-06 10:33:43 +02:00
..
2023-10-05 09:01:01 -04:00
2023-10-03 07:43:44 -04:00
2023-09-21 11:31:16 +03:00
2023-10-05 09:01:01 -04:00
2023-09-21 11:31:16 +03:00
2023-10-05 09:01:01 -04:00
2023-09-21 11:31:16 +03:00
2023-10-05 09:01:01 -04:00
2023-09-21 11:31:16 +03:00
2023-10-05 09:01:01 -04:00
2023-09-21 11:31:16 +03:00
2023-09-21 11:31:16 +03:00
2023-10-05 09:01:01 -04:00
2023-09-06 11:14:55 -04:00
2023-08-31 19:47:43 +02:00
2023-09-21 11:31:16 +03:00
2023-07-25 17:14:07 +03:00
2023-09-21 11:31:16 +03:00
2023-09-20 07:54:34 +03:00
2023-09-07 14:01:29 -04:00
2023-10-04 18:15:06 -04:00
2023-09-08 13:08:52 +03:00