git: nvme - Check admin_cap
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Jun 7 14:16:07 PDT 2016
commit 70394f3fc7eef7464f17a594fdb1761670f93860
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Jun 7 14:14:46 2016 -0700
nvme - Check admin_cap
* Check admin command capabilities, do not attempt to query the controller
list or namespace list if namespace management is not supported.
NOTE: The Intel 750 returns total garbage for unsupported ns management
commands without return any error code in the status.
* Minor man-page fixes.
Summary of changes:
share/man/man4/nvme.4 | 4 +-
sys/dev/disk/nvme/nvme.h | 1 -
sys/dev/disk/nvme/nvme_admin.c | 82 ++++++++++++++++++++++++++++++----------
sys/dev/disk/nvme/nvme_chipset.h | 3 +-
sys/dev/disk/nvme/nvme_ident.h | 22 ++++++-----
sys/dev/disk/nvme/nvme_log.h | 11 ------
6 files changed, 79 insertions(+), 44 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/70394f3fc7eef7464f17a594fdb1761670f93860
--
DragonFly BSD source repository
More information about the Commits
mailing list