summaryrefslogtreecommitdiff
path: root/mm/ptdump.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2020-06-28 07:23:12 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-07-26 16:34:25 +0300
commitb4d76c28eca369b8105fe3a0a9f396e3fbcd0dd5 (patch)
tree374217ed4bbb66de3bea15b9c9bd2545ed99a66f /mm/ptdump.c
parentf93bfeb55255bddaa16597e187a99ae6131b964a (diff)
downloadlinux-b4d76c28eca369b8105fe3a0a9f396e3fbcd0dd5.tar.xz
macintosh/via-macii: Handle /CTLR_IRQ signal correctly
I'm told that the /CTLR_IRQ signal from the ADB transceiver gets interpreted by MacOS to mean SRQ, bus timeout or end-of-packet depending on the circumstances, and that Linux's via-macii driver does not correctly interpret this signal. Instead, the via-macii driver interprets certain received byte values (0x00 and 0xFF) as signalling end of packet and bus timeout (respectively). Problem is, those values can also appear under other circumstances. This patch changes the bus timeout, end of packet and SRQ detection logic to bring it closer to the logic that MacOS reportedly uses. Fixes: 1da177e4c3f41 ("Linux-2.6.12-rc2") # v5.0+ Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Tested-by: Stan Johnson <userm57@yahoo.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/6541fda1d8db3ae87c3abe17d189a10dc96e2382.1593318192.git.fthain@telegraphics.com.au
Diffstat (limited to 'mm/ptdump.c')
0 files changed, 0 insertions, 0 deletions