diff options
Diffstat (limited to 'drivers/message/fusion/Makefile')
-rw-r--r-- | drivers/message/fusion/Makefile | 44 |
1 files changed, 15 insertions, 29 deletions
diff --git a/drivers/message/fusion/Makefile b/drivers/message/fusion/Makefile index f6fdcaaefc89..1d2f9db813c1 100644 --- a/drivers/message/fusion/Makefile +++ b/drivers/message/fusion/Makefile | |||
@@ -1,52 +1,38 @@ | |||
1 | # | ||
2 | # Makefile for the LSI Logic Fusion MPT (Message Passing Technology) drivers. | ||
3 | # | ||
4 | # Note! If you want to turn on various debug defines for an extended period of | ||
5 | # time but don't want them lingering around in the Makefile when you pass it on | ||
6 | # to someone else, use the MPT_CFLAGS env variable (thanks Steve). -nromer | ||
7 | |||
8 | #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-{ LSI_LOGIC | ||
9 | |||
10 | # Architecture-specific... | ||
11 | # # intel | ||
12 | #EXTRA_CFLAGS += -g | ||
13 | # # sparc64 | ||
14 | #EXTRA_CFLAGS += -gstabs+ | ||
15 | |||
16 | EXTRA_CFLAGS += ${MPT_CFLAGS} | ||
17 | |||
18 | # Fusion MPT drivers; recognized debug defines... | 1 | # Fusion MPT drivers; recognized debug defines... |
19 | # MPT general: | 2 | # MPT general: |
20 | #EXTRA_CFLAGS += -DMPT_DEBUG_SCSI | ||
21 | #EXTRA_CFLAGS += -DMPT_DEBUG | 3 | #EXTRA_CFLAGS += -DMPT_DEBUG |
22 | #EXTRA_CFLAGS += -DMPT_DEBUG_MSG_FRAME | 4 | #EXTRA_CFLAGS += -DMPT_DEBUG_MSG_FRAME |
23 | #EXTRA_CFLAGS += -DMPT_DEBUG_SG | 5 | #EXTRA_CFLAGS += -DMPT_DEBUG_SG |
6 | #EXTRA_CFLAGS += -DMPT_DEBUG_EVENTS | ||
7 | #EXTRA_CFLAGS += -DMPT_DEBUG_INIT | ||
8 | #EXTRA_CFLAGS += -DMPT_DEBUG_EXIT | ||
9 | #EXTRA_CFLAGS += -DMPT_DEBUG_FAIL | ||
10 | |||
24 | 11 | ||
25 | # | 12 | # |
26 | # driver/module specifics... | 13 | # driver/module specifics... |
27 | # | 14 | # |
28 | # For mptbase: | 15 | # For mptbase: |
29 | #CFLAGS_mptbase.o += -DMPT_DEBUG_HANDSHAKE | 16 | #CFLAGS_mptbase.o += -DMPT_DEBUG_HANDSHAKE |
17 | #CFLAGS_mptbase.o += -DMPT_DEBUG_CONFIG | ||
18 | #CFLAGS_mptbase.o += -DMPT_DEBUG_DL | ||
30 | #CFLAGS_mptbase.o += -DMPT_DEBUG_IRQ | 19 | #CFLAGS_mptbase.o += -DMPT_DEBUG_IRQ |
20 | #CFLAGS_mptbase.o += -DMPT_DEBUG_RESET | ||
31 | # | 21 | # |
32 | # For mptscsih: | 22 | # For mptscsih: |
33 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_SCANDV | 23 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_DV |
34 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_RESET | 24 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_NEGO |
35 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_NEH | 25 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_TM |
26 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_SCSI | ||
27 | #CFLAGS_mptscsih.o += -DMPT_DEBUG_REPLY | ||
36 | # | 28 | # |
37 | # For mptctl: | 29 | # For mptctl: |
38 | #CFLAGS_mptctl.o += -DMPT_DEBUG_IOCTL | 30 | #CFLAGS_mptctl.o += -DMPT_DEBUG_IOCTL |
39 | # | 31 | # |
40 | # For mptlan: | ||
41 | #CFLAGS_mptlan.o += -DMPT_LAN_IO_DEBUG | ||
42 | # | ||
43 | # For isense: | ||
44 | |||
45 | # EXP... | ||
46 | ##mptscsih-objs := scsihost.o scsiherr.o | ||
47 | 32 | ||
48 | #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC | 33 | #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC |
49 | 34 | ||
50 | obj-$(CONFIG_FUSION) += mptbase.o mptscsih.o | 35 | obj-$(CONFIG_FUSION_SPI) += mptbase.o mptscsih.o mptspi.o |
36 | obj-$(CONFIG_FUSION_FC) += mptbase.o mptscsih.o mptfc.o | ||
51 | obj-$(CONFIG_FUSION_CTL) += mptctl.o | 37 | obj-$(CONFIG_FUSION_CTL) += mptctl.o |
52 | obj-$(CONFIG_FUSION_LAN) += mptlan.o | 38 | obj-$(CONFIG_FUSION_LAN) += mptlan.o |