mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
38441bd9a9
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
22 lines
283 B
Makefile
22 lines
283 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/nvme
|
|
|
|
KMOD = nvme
|
|
|
|
SRCS = nvme.c \
|
|
nvme_ctrlr.c \
|
|
nvme_ctrlr_cmd.c \
|
|
nvme_ns.c \
|
|
nvme_ns_cmd.c \
|
|
nvme_qpair.c \
|
|
nvme_sysctl.c \
|
|
nvme_test.c \
|
|
nvme_util.c \
|
|
\
|
|
bus_if.h \
|
|
device_if.h \
|
|
pci_if.h
|
|
|
|
.include <bsd.kmod.mk>
|