diff options
author | Robert Love <robert.w.love@intel.com> | 2009-06-10 15:31:10 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-06-21 11:07:08 -0500 |
commit | 7414705ea4aef9ce438e547f3138a680d2d1096c (patch) | |
tree | c8c14a80e31dbecbd6a9d083369f3e5e11105756 /drivers/scsi/gvp11.c | |
parent | 650bd12b9e31ec51d7ad0df3c4f94d863b827976 (diff) |
libfc: Add runtime debugging with debug_logging module parameter
This patch adds the /sys/module/libfc/parameters/debug_logging
file to sysfs as a module parameter. It accepts an integer
bitmask for logging. Currently it supports:
bit
LSB 0 = general libfc debugging
1 = lport debugging
2 = disc debugging
3 = rport debugging
4 = fcp debugging
5 = EM debugging
6 = exch/seq debugging
7 = scsi logging (mostly error handling)
the other bits are not used at this time.
The patch converts all of the libfc source files to use
these new macros and removes the old FC_DBG macro.
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/gvp11.c')
0 files changed, 0 insertions, 0 deletions