From 52bfa150c78aa1855a2cc5fccfc5beb84f57b16d Mon Sep 17 00:00:00 2001 From: jimharris Date: Fri, 19 Jul 2013 21:40:57 +0000 Subject: 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 --- sys/modules/nvme/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/modules') 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 \ -- cgit v1.1