6733401935
Add decoding of the Device Self-test log page and the ability to start or abort a test. Reviewed by: imp, mav Tested by: Muhammad Ahmad <muhammad.ahmad@seagate.com> MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D27517
24 lines
489 B
Makefile
24 lines
489 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE=runtime
|
|
PROG= nvmecontrol
|
|
SRCS= comnd.c nvmecontrol.c
|
|
SRCS+= devlist.c firmware.c format.c identify.c logpage.c ns.c nsid.c
|
|
SRCS+= perftest.c power.c reset.c resv.c sanitize.c
|
|
SRCS+= passthru.c
|
|
SRCS+= identify_ext.c nvme_util.c nc_util.c
|
|
SRCS+= selftest.c
|
|
MAN= nvmecontrol.8
|
|
LDFLAGS+= -rdynamic
|
|
LIBADD+= util
|
|
SUBDIR= modules
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/nvme
|
|
|
|
.include <bsd.prog.mk>
|
|
.include <bsd.subdir.mk>
|