diff options
| author | 2026-09-04 19:26:36 +1000 | |
|---|---|---|
| committer | 2026-09-23 05:14:06 -0600 | |
| commit | 01bff87152e6748fbac9ccd645d3d5f490d75ddc (patch) | |
| tree | bcc562f00a1fc4aba359d451a61ba03485472ffd /scripts/Makefile.thinlto | |
| parent | swim: Simplify return value initialization (diff) | |
swim: Check for CRC errors
After reading either the sector header or sector data, examine that flag
in the handshake register which holds the result of the CRC calculation.
CRC validation has to take place with the last byte still in the FIFO.
This flag can't be checked by the caller because by then all bytes will
have been retrieved from the FIFO. Return an error code when appropriate.
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/9bfcd0414192d1b95803c16701d62732ff6e8f3f.1788513997.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
