mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 19:03:48 +01:00
52bfa150c7
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>
|