227c939b00
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>
18 lines
618 B
Plaintext
18 lines
618 B
Plaintext
config INFINIBAND_MTHCA
|
|
tristate "Mellanox HCA support"
|
|
depends on PCI && INFINIBAND
|
|
---help---
|
|
This is a low-level driver for Mellanox InfiniHost host
|
|
channel adapters (HCAs), including the MT23108 PCI-X HCA
|
|
("Tavor") and the MT25208 PCI Express HCA ("Arbel").
|
|
|
|
config INFINIBAND_MTHCA_DEBUG
|
|
bool "Verbose debugging output" if EMBEDDED
|
|
depends on INFINIBAND_MTHCA
|
|
default y
|
|
---help---
|
|
This option causes debugging code to be compiled into the
|
|
mthca driver. The output can be turned on via the
|
|
debug_level module parameter (which can also be set after
|
|
the driver is loaded through sysfs).
|