diff options
| author | salmonik <salmonik@tuta.io> | 2026-08-01 01:42:25 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-08-01 01:42:25 +0200 |
| commit | 3be5c6c8ee43a4c84e3a071831cbf87cc343f585 (patch) | |
| tree | 884071bc751b9f8b26ffa9a10140d635dcc4cbde /bins/paint/src | |
| parent | ahci: scan all ports; fat: mount first valid FAT32 disk (diff) | |
| download | rs-dos-3be5c6c8ee43a4c84e3a071831cbf87cc343f585.tar.gz rs-dos-3be5c6c8ee43a4c84e3a071831cbf87cc343f585.zip | |
ahci: skip ATAPI ports and fast-fail on device abort
A CD-ROM (or any ATAPI device) on a scanned port previously made the
driver spin the full 100M-iteration timeout on IDENTIFY, then log a
scary 'timed out' (QEMU leaves ATAPI aborts pending in PxCI instead of
completing the slot; tfd=0x441 = ABRT).
- skip a port up-front when firmware set PxCMD.ATAPI (bit 24)
- bail out of the completion poll as soon as PxTFD.ERR is set, clear
the error bits and any wedged slot, and report the abort instead of
timing out — the port scan stays fast with a CD attached
Diffstat (limited to 'bins/paint/src')
0 files changed, 0 insertions, 0 deletions
