Re: [PATCH 0/9] Macintosh II ADB driver fixes

From: Michael Ellerman
Date: Mon Jul 27 2020 - 03:26:55 EST

On Sun, 28 Jun 2020 14:23:12 +1000, Finn Thain wrote:
> Various issues with the via-macii driver have become apparent over the
> years. Some examples:
> - A Talk command response can be lost. This can result in phantom devices
> being probed or an incorrect device handler ID being retrieved.
> - A reply packet containing a null byte can get truncated. Such packets
> are sometimes generated by ADB keyboards.
> [...]

Applied to powerpc/next.

[1/9] macintosh/via-macii: Access autopoll_devs when inside lock
[2/9] macintosh/via-macii: Poll the device most likely to respond
[3/9] macintosh/via-macii: Handle /CTLR_IRQ signal correctly
[4/9] macintosh/via-macii: Remove read_done state
[5/9] macintosh/via-macii: Handle poll replies correctly
[6/9] macintosh/via-macii: Use bool type for reading_reply variable
[7/9] macintosh/via-macii: Use unsigned type for autopoll_devs variable
[8/9] macintosh/via-macii: Use the stack for reset request storage
[9/9] macintosh/via-macii: Clarify definition of macii_init()