blob: 341691390e86370bec5ccfd37b73b8aa9266c92d [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# Fusion MPT drivers; recognized debug defines...
2# MPT general:
Linus Torvalds1da177e2005-04-16 15:20:36 -07003#EXTRA_CFLAGS += -DMPT_DEBUG
4#EXTRA_CFLAGS += -DMPT_DEBUG_MSG_FRAME
5#EXTRA_CFLAGS += -DMPT_DEBUG_SG
Moore, Eric Dean 5f5affd2005-04-22 18:00:52 -04006#EXTRA_CFLAGS += -DMPT_DEBUG_EVENTS
Moore, Eric3a892be2006-03-14 09:14:03 -07007#EXTRA_CFLAGS += -DMPT_DEBUG_VERBOSE_EVENTS
Moore, Eric Dean 5f5affd2005-04-22 18:00:52 -04008#EXTRA_CFLAGS += -DMPT_DEBUG_INIT
9#EXTRA_CFLAGS += -DMPT_DEBUG_EXIT
10#EXTRA_CFLAGS += -DMPT_DEBUG_FAIL
11
Linus Torvalds1da177e2005-04-16 15:20:36 -070012#
13# driver/module specifics...
14#
15# For mptbase:
16#CFLAGS_mptbase.o += -DMPT_DEBUG_HANDSHAKE
Moore, Eric Dean 5f5affd2005-04-22 18:00:52 -040017#CFLAGS_mptbase.o += -DMPT_DEBUG_CONFIG
18#CFLAGS_mptbase.o += -DMPT_DEBUG_DL
Linus Torvalds1da177e2005-04-16 15:20:36 -070019#CFLAGS_mptbase.o += -DMPT_DEBUG_IRQ
Moore, Eric Dean 5f5affd2005-04-22 18:00:52 -040020#CFLAGS_mptbase.o += -DMPT_DEBUG_RESET
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#
22# For mptscsih:
Moore, Eric Dean 5f5affd2005-04-22 18:00:52 -040023#CFLAGS_mptscsih.o += -DMPT_DEBUG_DV
24#CFLAGS_mptscsih.o += -DMPT_DEBUG_NEGO
25#CFLAGS_mptscsih.o += -DMPT_DEBUG_TM
26#CFLAGS_mptscsih.o += -DMPT_DEBUG_SCSI
27#CFLAGS_mptscsih.o += -DMPT_DEBUG_REPLY
Linus Torvalds1da177e2005-04-16 15:20:36 -070028#
29# For mptctl:
30#CFLAGS_mptctl.o += -DMPT_DEBUG_IOCTL
31#
Michael Reed3bc7bf12006-01-25 18:05:18 -070032# For mptfc:
33#CFLAGS_mptfc.o += -DMPT_DEBUG_FC
Linus Torvalds1da177e2005-04-16 15:20:36 -070034
Eric Moore547f9a22006-06-27 14:42:12 -060035# For mptsas:
36#CFLAGS_mptsas.o += -DMPT_DEBUG_SAS
37#CFLAGS_mptsas.o += -DMPT_DEBUG_SAS_WIDE
38
39
Linus Torvalds1da177e2005-04-16 15:20:36 -070040#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC
41
Moore, Eric Dean d335cc32005-04-30 17:09:38 -050042obj-$(CONFIG_FUSION_SPI) += mptbase.o mptscsih.o mptspi.o
43obj-$(CONFIG_FUSION_FC) += mptbase.o mptscsih.o mptfc.o
Christoph Hellwig0c33b272005-09-09 16:27:19 +020044obj-$(CONFIG_FUSION_SAS) += mptbase.o mptscsih.o mptsas.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070045obj-$(CONFIG_FUSION_CTL) += mptctl.o
46obj-$(CONFIG_FUSION_LAN) += mptlan.o