diff options
author | Roland Dreier <rolandd@cisco.com> | 2006-04-02 14:39:20 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-04-02 14:39:20 -0700 |
commit | 227c939b00cf786b5e2e95fc904518206f478421 (patch) | |
tree | f62cd8a2f0663d3c9853eead57ba91dd9626a572 /drivers/infiniband/hw/mthca/Makefile | |
parent | f5545d24b8aa9fccd8071203e83bc9f4b26e17a6 (diff) | |
download | blackbird-op-linux-227c939b00cf786b5e2e95fc904518206f478421.tar.gz blackbird-op-linux-227c939b00cf786b5e2e95fc904518206f478421.zip |
IB/mthca: Always build debugging code unless CONFIG_EMBEDDED=y
Change the mthca debugging trace output code so that it can enabled
and disabled at runtime with the debug_level module parameter in
sysfs. Also, don't allow CONFIG_INFINIBAND_MTHCA_DEBUG to be disabled
unless CONFIG_EMBEDDED is selected. We want users (and especially
distros) to have this turned on unless they really need to save space,
because by the time we want debugging output, it's usually too late to
rebuild a kernel.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/Makefile')
-rw-r--r-- | drivers/infiniband/hw/mthca/Makefile | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/mthca/Makefile b/drivers/infiniband/hw/mthca/Makefile index 47ec5a7cba0b..e388d95d0cf1 100644 --- a/drivers/infiniband/hw/mthca/Makefile +++ b/drivers/infiniband/hw/mthca/Makefile @@ -1,7 +1,3 @@ -ifdef CONFIG_INFINIBAND_MTHCA_DEBUG -EXTRA_CFLAGS += -DDEBUG -endif - obj-$(CONFIG_INFINIBAND_MTHCA) += ib_mthca.o ib_mthca-y := mthca_main.o mthca_cmd.o mthca_profile.o mthca_reset.o \ |