OSDN Git Service

macintosh/adb-iop: Implement SRQ autopolling
authorFinn Thain <fthain@telegraphics.com.au>
Sat, 30 May 2020 23:17:03 +0000 (09:17 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 13:34:24 +0000 (23:34 +1000)
commitc66da95a39ec2bb95544c3def974d96e8c178f57
treee3f8613c23c2a99c743b4b302872f73b0d011ab9
parente2954e5f727fad126258e83259b513988973c166
macintosh/adb-iop: Implement SRQ autopolling

The adb_driver.autopoll method is needed during ADB bus scan and device
address assignment. Implement this method so that the IOP's list of
device addresses can be updated. When the list is empty, disable SRQ
autopolling.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Tested-by: Stan Johnson <userm57@yahoo.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/0fb7fdcd99d7820bb27faf1f27f7f6f1923914ef.1590880623.git.fthain@telegraphics.com.au
arch/m68k/include/asm/adb_iop.h
drivers/macintosh/adb-iop.c