54ecff8b84
Add a missing DELAY(1) in ata_wait. Change the info from ad_version, so the ATA version from the disk can be used to quantify the DAM modes valid for this drive, ie be more selective with turning DMA on on older disks that should not support it.. Fix the probe for BIOS enabled DMA in the generic case, master/slave was reversed in the test. Check the return for ata_command in all cases, and print warnings if it fails. Call ata_dmainit with all dmamodes off when falling back to PIO mode, that should take care of both the Promise & HPT366 controllers not being able to handle the fallback... Cleanup the printf's in the drivers, use the prober device name (if possible) instead of ataN-master/slave. |
||
---|---|---|
.. | ||
ata-all.c | ||
ata-all.h | ||
ata-disk.c | ||
ata-disk.h | ||
ata-dma.c | ||
atapi-all.c | ||
atapi-all.h | ||
atapi-cd.c | ||
atapi-cd.h | ||
atapi-fd.c | ||
atapi-fd.h | ||
atapi-tape.c | ||
atapi-tape.h |