diff options
| author | 2026-09-04 19:26:36 +1000 | |
|---|---|---|
| committer | 2026-09-23 05:14:06 -0600 | |
| commit | 52981bb358d1b5c38040b00f81e2cf973f9148ad (patch) | |
| tree | c03e1302fb509c52bbbfa8ccc394864f5ed7986d /scripts/Makefile.thinlto | |
| parent | swim: Don't disable drive after every sector (diff) | |
swim: Perform ISM/IWM mode switching according to specs
The SWIM spec says, "MOTOREN must be low to switch modes" and "after
switching from ISM to IWM, the very first command must be a clear L7".
The ISM spec says, MOTOREN "must not be cleared until after the Action
bit is cleared". Perform those operations in the correct sequence.
When switching to ISM mode, the Mode register has to be selected with a
particular sequence of bit flips. Set q7 low then q6 low then mtrOff.
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Fixes: 8852ecd97488 ("m68k: mac - Add SWIM floppy support")
Signed-off-by: Finn Thain <fthain@linux-m68k.org>
Tested-by: Stan Johnson <userm57@yahoo.com>
Link: https://patch.msgid.link/75714ecc9a12d59511967dc9e24163dc8f3bbdd8.1788513996.git.fthain@linux-m68k.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
