KMOD	= dfrig2491
SRCS	= dfrig2491.c
SRCS	+= ata_if.h bus_if.h device_if.h

# The production sys/dev/disk/nata/ata-lowlevel.c is #included into
# dfrig2491.c (only its five global entry points renamed; the static
# ata_tf_write under test is compiled verbatim).  opt_ata.h comes
# from the guest kernel build directory.
KCFLAGS+= -I/usr/src/sys/dev/disk/nata \
	  -I/usr/obj/usr/src/sys/X86_64_GENERIC \
	  -I${.CURDIR} -I${SYSDIR} -Wall \
	  -Wno-error=unused-variable -Wno-error=unused-function \
	  -Wno-error=array-bounds

.include <bsd.kmod.mk>
