nvme - Check admin_cap
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 7 Jun 2016 21:14:46 +0000 (14:14 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 7 Jun 2016 21:14:46 +0000 (14:14 -0700)
commit70394f3fc7eef7464f17a594fdb1761670f93860
tree73b6546317ff82087153a13ebf2eeffd587d4302
parentcebf490d7fca532996f2e84aca9d94872cdf6369
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.
share/man/man4/nvme.4
sys/dev/disk/nvme/nvme.h
sys/dev/disk/nvme/nvme_admin.c
sys/dev/disk/nvme/nvme_chipset.h
sys/dev/disk/nvme/nvme_ident.h
sys/dev/disk/nvme/nvme_log.h