]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r253476:
authorjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 24 Jul 2013 22:48:29 +0000 (22:48 +0000)
committerjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 24 Jul 2013 22:48:29 +0000 (22:48 +0000)
commitd07f59a9591fa3a21bfaad6755cfd66ad43a0616
treeec52e8ae40ed9347d993146c9e255994ed54c903
parent6fd0bb6cd6711eae5b646fe51b6e8c5eab7bb5c5
MFC r253476:

  Add message when nvd disks are attached and detached.

  As part of this commit, add an nvme_strvis() function which borrows
  heavily from cam_strvis().  This will allow stripping of
  leading/trailing whitespace and also handle unprintable characters
  in model/serial numbers.  This function goes into a new nvme_util.c
  file which is used by both the driver and nvmecontrol.

Approved by: re (kib)
Sponsored by: Intel

git-svn-id: svn://svn.freebsd.org/base/stable/9@253631 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/nvmecontrol/Makefile
sbin/nvmecontrol/devlist.c
sbin/nvmecontrol/identify.c
sys/conf/files.amd64
sys/conf/files.i386
sys/dev/nvd/nvd.c
sys/dev/nvme/nvme.c
sys/dev/nvme/nvme.h
sys/dev/nvme/nvme_util.c [new file with mode: 0644]
sys/modules/nvme/Makefile