diff options
author | jimharris <jimharris@FreeBSD.org> | 2013-07-19 21:40:57 +0000 |
---|---|---|
committer | jimharris <jimharris@FreeBSD.org> | 2013-07-19 21:40:57 +0000 |
commit | 52bfa150c78aa1855a2cc5fccfc5beb84f57b16d (patch) | |
tree | af2bfcd29c3c4b521e2556f71dfd744f3a8c6df2 /sys/conf | |
parent | 0ccd4d5781fdb67fda3917d5ffccf80806d0d9fb (diff) | |
download | FreeBSD-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/conf')
-rw-r--r-- | sys/conf/files.amd64 | 1 | ||||
-rw-r--r-- | sys/conf/files.i386 | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64 index 191f680..c898ef8 100644 --- a/sys/conf/files.amd64 +++ b/sys/conf/files.amd64 @@ -234,6 +234,7 @@ dev/nvme/nvme_ns_cmd.c optional nvme dev/nvme/nvme_qpair.c optional nvme dev/nvme/nvme_sysctl.c optional nvme dev/nvme/nvme_test.c optional nvme +dev/nvme/nvme_util.c optional nvme dev/nvram/nvram.c optional nvram isa dev/random/ivy.c optional random rdrand_rng dev/random/nehemiah.c optional random padlock_rng diff --git a/sys/conf/files.i386 b/sys/conf/files.i386 index f4d7928..9a27bde 100644 --- a/sys/conf/files.i386 +++ b/sys/conf/files.i386 @@ -243,6 +243,7 @@ dev/nvme/nvme_ns_cmd.c optional nvme dev/nvme/nvme_qpair.c optional nvme dev/nvme/nvme_sysctl.c optional nvme dev/nvme/nvme_test.c optional nvme +dev/nvme/nvme_util.c optional nvme dev/nvram/nvram.c optional nvram isa dev/pcf/pcf_isa.c optional pcf dev/random/ivy.c optional random rdrand_rng |