git: ahci - Adjust a few things
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Dec 19 10:20:53 PST 2016
commit 0e589b85686434c5a4deb4cf3514d3e9f02df367
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sun Dec 18 16:45:06 2016 -0800
ahci - Adjust a few things
* These changes have no effect on known AHCI devices but are a good idea.
* As suggested in the AHCI spec 10.1.2, zero out the memory pointed to
by the FB and CL port dma addresses.
* Write to FB before FBU, and to CLB before CLBU, just in case hardware
clears the upper bits on a write to the lower bits (no known AHCI
hardware does this but its something that is commonly implemented in
other hw so...).
* Improved I/O error reporting.
Summary of changes:
sys/dev/disk/ahci/ahci.c | 10 +++++++---
sys/dev/disk/ahci/ahci.h | 3 +++
sys/dev/disk/ahci/ahci_attach.c | 14 +++++++++-----
sys/dev/disk/ahci/ahci_cam.c | 17 ++++++++++++++---
sys/dev/disk/ahci/atascsi.h | 1 +
5 files changed, 34 insertions(+), 11 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0e589b85686434c5a4deb4cf3514d3e9f02df367
--
DragonFly BSD source repository
More information about the Commits
mailing list