2011-03-21 09:58:24 +00:00
|
|
|
# $FreeBSD$
|
2017-03-04 10:10:17 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/dev/mlx4/mlx4_core
|
2015-01-17 16:36:39 +00:00
|
|
|
|
|
|
|
KMOD= mlx4
|
|
|
|
SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \
|
|
|
|
opt_inet.h opt_inet6.h \
|
2016-09-30 08:23:06 +00:00
|
|
|
mlx4_alloc.c \
|
|
|
|
mlx4_catas.c \
|
|
|
|
mlx4_cmd.c \
|
|
|
|
mlx4_cq.c \
|
|
|
|
mlx4_eq.c \
|
|
|
|
mlx4_fw.c \
|
2017-11-15 11:14:39 +00:00
|
|
|
mlx4_fw_qos.c \
|
2016-09-30 08:23:06 +00:00
|
|
|
mlx4_icm.c \
|
|
|
|
mlx4_intf.c \
|
|
|
|
mlx4_main.c \
|
|
|
|
mlx4_mcg.c \
|
|
|
|
mlx4_mr.c \
|
|
|
|
mlx4_pd.c \
|
|
|
|
mlx4_port.c \
|
|
|
|
mlx4_profile.c \
|
|
|
|
mlx4_qp.c \
|
|
|
|
mlx4_reset.c \
|
|
|
|
mlx4_sense.c \
|
|
|
|
mlx4_srq.c \
|
2017-11-15 11:14:39 +00:00
|
|
|
mlx4_resource_tracker.c
|
2011-03-21 09:58:24 +00:00
|
|
|
|
2017-03-04 10:10:17 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include
|
2017-11-21 09:08:27 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi
|
2017-03-04 10:10:17 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
|
2012-04-12 14:01:06 +00:00
|
|
|
|
2011-03-21 09:58:24 +00:00
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
|
2015-02-17 19:27:14 +00:00
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|