]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add message when nvd disks are attached and detached.
authorjimharris <jimharris@FreeBSD.org>
Fri, 19 Jul 2013 21:40:57 +0000 (21:40 +0000)
committerjimharris <jimharris@FreeBSD.org>
Fri, 19 Jul 2013 21:40:57 +0000 (21:40 +0000)
commit52bfa150c78aa1855a2cc5fccfc5beb84f57b16d
treeaf2bfcd29c3c4b521e2556f71dfd744f3a8c6df2
parent0ccd4d5781fdb67fda3917d5ffccf80806d0d9fb
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.

Sponsored by: Intel
Reviewed by: carl
MFC after: 3 days
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