ahci: set transfer mode according to the capabilities of connected drive

Use case: cf cards behind sata-ide bridge, which might not support
the default transfer mode.

Based on a patch by Werner Zeh <werner.zeh@siemens.com>,
with some minor tweaks applied.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2 files changed
tree: 63ce3d4c6b023ee2872f63ef83a8196e6ae718c5
  1. .gitignore
  2. COPYING
  3. COPYING.LESSER
  4. Makefile
  5. README
  6. docs/
  7. scripts/
  8. src/
  9. vgasrc/