2014-05-02 20:25:09 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2017-03-04 10:10:17 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/dev/mpr
|
2014-05-02 20:25:09 +00:00
|
|
|
|
|
|
|
KMOD= mpr
|
|
|
|
SRCS= mpr_pci.c mpr.c mpr_sas.c mpr_table.c mpr_user.c
|
|
|
|
SRCS+= mpr_config.c mpr_mapping.c mpr_sas_lsi.c
|
2018-04-06 17:35:35 +00:00
|
|
|
SRCS+= opt_cam.h
|
2014-05-02 20:25:09 +00:00
|
|
|
SRCS+= device_if.h bus_if.h pci_if.h
|
|
|
|
|
|
|
|
#CFLAGS += -DMPR_DEBUG
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
|
|
|
|
CWARNFLAGS.mpr_sas.c= ${NO_WUNNEEDED_INTERNAL_DECL}
|
|
|
|
# XXX Work around clang warning, until maintainer approves fix.
|
|
|
|
CWARNFLAGS.mpr_mapping.c= ${NO_WSOMETIMES_UNINITIALIZED}
|