xref: /openbmc/linux/drivers/message/fusion/Makefile (revision 547f9a21)
11da177e4SLinus Torvalds# Fusion MPT drivers; recognized debug defines...
21da177e4SLinus Torvalds#  MPT general:
31da177e4SLinus Torvalds#EXTRA_CFLAGS += -DMPT_DEBUG
41da177e4SLinus Torvalds#EXTRA_CFLAGS += -DMPT_DEBUG_MSG_FRAME
51da177e4SLinus Torvalds#EXTRA_CFLAGS += -DMPT_DEBUG_SG
65f5affddSMoore, Eric Dean #EXTRA_CFLAGS += -DMPT_DEBUG_EVENTS
73a892befSMoore, Eric#EXTRA_CFLAGS += -DMPT_DEBUG_VERBOSE_EVENTS
85f5affddSMoore, Eric Dean #EXTRA_CFLAGS += -DMPT_DEBUG_INIT
95f5affddSMoore, Eric Dean #EXTRA_CFLAGS += -DMPT_DEBUG_EXIT
105f5affddSMoore, Eric Dean #EXTRA_CFLAGS += -DMPT_DEBUG_FAIL
115f5affddSMoore, Eric Dean 
121da177e4SLinus Torvalds
131da177e4SLinus Torvalds#
141da177e4SLinus Torvalds# driver/module specifics...
151da177e4SLinus Torvalds#
161da177e4SLinus Torvalds#  For mptbase:
171da177e4SLinus Torvalds#CFLAGS_mptbase.o += -DMPT_DEBUG_HANDSHAKE
185f5affddSMoore, Eric Dean #CFLAGS_mptbase.o += -DMPT_DEBUG_CONFIG
195f5affddSMoore, Eric Dean #CFLAGS_mptbase.o += -DMPT_DEBUG_DL
201da177e4SLinus Torvalds#CFLAGS_mptbase.o += -DMPT_DEBUG_IRQ
215f5affddSMoore, Eric Dean #CFLAGS_mptbase.o += -DMPT_DEBUG_RESET
221da177e4SLinus Torvalds#
231da177e4SLinus Torvalds#  For mptscsih:
245f5affddSMoore, Eric Dean #CFLAGS_mptscsih.o += -DMPT_DEBUG_DV
255f5affddSMoore, Eric Dean #CFLAGS_mptscsih.o += -DMPT_DEBUG_NEGO
265f5affddSMoore, Eric Dean #CFLAGS_mptscsih.o += -DMPT_DEBUG_TM
275f5affddSMoore, Eric Dean #CFLAGS_mptscsih.o += -DMPT_DEBUG_SCSI
285f5affddSMoore, Eric Dean #CFLAGS_mptscsih.o += -DMPT_DEBUG_REPLY
291da177e4SLinus Torvalds#
301da177e4SLinus Torvalds#  For mptctl:
311da177e4SLinus Torvalds#CFLAGS_mptctl.o += -DMPT_DEBUG_IOCTL
321da177e4SLinus Torvalds#
333bc7bf1dSMichael Reed#  For mptfc:
343bc7bf1dSMichael Reed#CFLAGS_mptfc.o += -DMPT_DEBUG_FC
351da177e4SLinus Torvalds
36547f9a21SEric Moore#  For mptsas:
37547f9a21SEric Moore#CFLAGS_mptsas.o += -DMPT_DEBUG_SAS
38547f9a21SEric Moore#CFLAGS_mptsas.o += -DMPT_DEBUG_SAS_WIDE
39547f9a21SEric Moore
40547f9a21SEric Moore
411da177e4SLinus Torvalds#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC
421da177e4SLinus Torvalds
43d335cc38SMoore, Eric Dean obj-$(CONFIG_FUSION_SPI)	+= mptbase.o mptscsih.o mptspi.o
44d335cc38SMoore, Eric Dean obj-$(CONFIG_FUSION_FC)		+= mptbase.o mptscsih.o mptfc.o
450c33b27dSChristoph Hellwigobj-$(CONFIG_FUSION_SAS)	+= mptbase.o mptscsih.o mptsas.o
461da177e4SLinus Torvaldsobj-$(CONFIG_FUSION_CTL)	+= mptctl.o
471da177e4SLinus Torvaldsobj-$(CONFIG_FUSION_LAN)	+= mptlan.o
48