libfcoe: Add fcoe_sysfs debug logging level

Add a macro to print fcoe_sysfs debug statements.

Signed-off-by: Robert Love <robert.w.love@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
This commit is contained in:
Robert Love
2012-11-27 06:53:24 +00:00
parent ef60f67434
commit 3993de6183
2 changed files with 15 additions and 3 deletions

View File

@@ -24,6 +24,13 @@
#include <scsi/fcoe_sysfs.h>
/*
* OK to include local libfcoe.h for debug_logging, but cannot include
* <scsi/libfcoe.h> otherwise non-netdev based fcoe solutions would have
* have to include more than fcoe_sysfs.h.
*/
#include "libfcoe.h"
static atomic_t ctlr_num;
static atomic_t fcf_num;