summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorjimharris <jimharris@FreeBSD.org>2013-07-19 21:40:57 +0000
committerjimharris <jimharris@FreeBSD.org>2013-07-19 21:40:57 +0000
commit52bfa150c78aa1855a2cc5fccfc5beb84f57b16d (patch)
treeaf2bfcd29c3c4b521e2556f71dfd744f3a8c6df2 /sys/modules
parent0ccd4d5781fdb67fda3917d5ffccf80806d0d9fb (diff)
downloadFreeBSD-src-52bfa150c78aa1855a2cc5fccfc5beb84f57b16d.zip
FreeBSD-src-52bfa150c78aa1855a2cc5fccfc5beb84f57b16d.tar.gz
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
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/nvme/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/modules/nvme/Makefile b/sys/modules/nvme/Makefile
index 17004bc..ae727a7 100644
--- a/sys/modules/nvme/Makefile
+++ b/sys/modules/nvme/Makefile
@@ -12,6 +12,7 @@ SRCS = nvme.c \
nvme_qpair.c \
nvme_sysctl.c \
nvme_test.c \
+ nvme_util.c \
\
bus_if.h \
device_if.h \
OpenPOWER on IntegriCloud