DragonFly-184.108.40.2061.gc408a master sys/dev/disk/ahci ahci.c ahci_cam.c
dillon at crater.dragonflybsd.org
Sat Jun 13 23:11:22 PDT 2009
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat Jun 13 23:07:00 2009 -0700
AHCI - Bug fixes - primary port probe and TFD flushing.
* The primary port probe was skipping the software reset step.
* ahci_flush_tfd() was looping on the SERR.DIAG.X bit with a 10ms delay,
but on some parts this bit gets re-set very quickly if the port is
in a COMRESET state. Remove the loop, just use an if() instead.
Reported-by: Sepherosa Ziehau
Summary of changes:
sys/dev/disk/ahci/ahci.c | 17 +++++++----------
sys/dev/disk/ahci/ahci_cam.c | 5 ++++-
2 files changed, 11 insertions(+), 11 deletions(-)
DragonFly BSD source repository
More information about the Commits