libfcoe: Add runtime debugging with module param debug_logging
authorRobert Love <robert.w.love@intel.com>
Wed, 10 Jun 2009 22:31:05 +0000 (15:31 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 21 Jun 2009 16:07:06 +0000 (11:07 -0500)
commit650bd12b9e31ec51d7ad0df3c4f94d863b827976
treecacba1840f5e7e146f8da22cd9e5cd807061040f
parentd5488eb9cd2b06f7dcca7053274edb337987c67c
libfcoe: Add runtime debugging with module param debug_logging

This patch adds a 'debug_logging' module parameter to
libfcoe.ko. It is an unsigned int that represents a bitmask of
available debug logging levels, each of which can be tuned at
runtime. Currently there are only two logging levels for this
module-

   bit
LSB 0 = libfcoe general logging
    1 = FIP logging

Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/fcoe/libfcoe.c