mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +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
11 lines
208 B
Makefile
11 lines
208 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= nvmecontrol
|
|
SRCS= nvmecontrol.c devlist.c firmware.c identify.c logpage.c \
|
|
perftest.c reset.c nvme_util.c
|
|
MAN= nvmecontrol.8
|
|
|
|
.PATH: ${.CURDIR}/../../sys/dev/nvme
|
|
|
|
.include <bsd.prog.mk>
|