]> Zhao Yanbai Git Server - minix.git/commit
ahci: more robustness against flaky devices
authorDavid van Moolenbroek <david@minix3.org>
Wed, 13 Feb 2013 14:29:44 +0000 (14:29 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Wed, 13 Feb 2013 14:29:44 +0000 (14:29 +0000)
commit9d89e72a5ce02a11154b4011f4ccf6ae17a90072
treeef92b65a9972d1e7fe314fb8b38412848bfb9923
parenteb89b33d39afea54862aee9986783a7f20463c8b
ahci: more robustness against flaky devices

- if supported, override BSY/DRQ flags and start the port anyway if it
  times out with DET=3h status during device detection;
- no longer rely on the device signature to be set; unless a valid
  signature is obtained, try both ATA and ATAPI device identification.
drivers/ahci/ahci.c
drivers/ahci/ahci.h