Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # Fusion MPT drivers; recognized debug defines... |
| 2 | # MPT general: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | #EXTRA_CFLAGS += -DMPT_DEBUG |
| 4 | #EXTRA_CFLAGS += -DMPT_DEBUG_MSG_FRAME |
| 5 | #EXTRA_CFLAGS += -DMPT_DEBUG_SG |
Moore, Eric Dean | 5f5affd | 2005-04-22 18:00:52 -0400 | [diff] [blame] | 6 | #EXTRA_CFLAGS += -DMPT_DEBUG_EVENTS |
Moore, Eric | 3a892be | 2006-03-14 09:14:03 -0700 | [diff] [blame] | 7 | #EXTRA_CFLAGS += -DMPT_DEBUG_VERBOSE_EVENTS |
Moore, Eric Dean | 5f5affd | 2005-04-22 18:00:52 -0400 | [diff] [blame] | 8 | #EXTRA_CFLAGS += -DMPT_DEBUG_INIT |
| 9 | #EXTRA_CFLAGS += -DMPT_DEBUG_EXIT |
| 10 | #EXTRA_CFLAGS += -DMPT_DEBUG_FAIL |
| 11 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | # |
| 13 | # driver/module specifics... |
| 14 | # |
| 15 | # For mptbase: |
| 16 | #CFLAGS_mptbase.o += -DMPT_DEBUG_HANDSHAKE |
Moore, Eric Dean | 5f5affd | 2005-04-22 18:00:52 -0400 | [diff] [blame] | 17 | #CFLAGS_mptbase.o += -DMPT_DEBUG_CONFIG |
| 18 | #CFLAGS_mptbase.o += -DMPT_DEBUG_DL |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | #CFLAGS_mptbase.o += -DMPT_DEBUG_IRQ |
Moore, Eric Dean | 5f5affd | 2005-04-22 18:00:52 -0400 | [diff] [blame] | 20 | #CFLAGS_mptbase.o += -DMPT_DEBUG_RESET |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | # |
| 22 | # For mptscsih: |
Moore, Eric Dean | 5f5affd | 2005-04-22 18:00:52 -0400 | [diff] [blame] | 23 | #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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | # |
| 29 | # For mptctl: |
| 30 | #CFLAGS_mptctl.o += -DMPT_DEBUG_IOCTL |
| 31 | # |
Michael Reed | 3bc7bf1 | 2006-01-25 18:05:18 -0700 | [diff] [blame] | 32 | # For mptfc: |
| 33 | #CFLAGS_mptfc.o += -DMPT_DEBUG_FC |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 34 | |
Eric Moore | 547f9a2 | 2006-06-27 14:42:12 -0600 | [diff] [blame] | 35 | # For mptsas: |
| 36 | #CFLAGS_mptsas.o += -DMPT_DEBUG_SAS |
| 37 | #CFLAGS_mptsas.o += -DMPT_DEBUG_SAS_WIDE |
| 38 | |
| 39 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC |
| 41 | |
Moore, Eric Dean | d335cc3 | 2005-04-30 17:09:38 -0500 | [diff] [blame] | 42 | obj-$(CONFIG_FUSION_SPI) += mptbase.o mptscsih.o mptspi.o |
| 43 | obj-$(CONFIG_FUSION_FC) += mptbase.o mptscsih.o mptfc.o |
Christoph Hellwig | 0c33b27 | 2005-09-09 16:27:19 +0200 | [diff] [blame] | 44 | obj-$(CONFIG_FUSION_SAS) += mptbase.o mptscsih.o mptsas.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 45 | obj-$(CONFIG_FUSION_CTL) += mptctl.o |
| 46 | obj-$(CONFIG_FUSION_LAN) += mptlan.o |