DragonFly-2.3.1.261.gc408a master sys/dev/disk/ahci ahci.c ahci_cam.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Jun 13 23:11:22 PDT 2009
commit c408a8b3d9268245f7f2af65399dd3f6d464d2a6
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(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c408a8b3d9268245f7f2af65399dd3f6d464d2a6
--
DragonFly BSD source repository
More information about the Commits
mailing list