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