mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 14:43:58 +08:00
e3976af5a4
All files in this driver directory contain the following notice: See LICENSE.qla4xxx for copyright and licensing details. LICENSE.qla4xxx can be found in Documentation/scsi/. The file contains: - A copyright notice This copyright notice is redundant as all files contain the same copyright notice already - A license notice You may modify and redistribute the device driver code under the GNU General Public License (a copy of which is attached hereto as Exhibit A) published by the Free Software Foundation (version 2). - The full GPLv2 license text This can be replaced with the corresponding SPDX license identifier (GPL-2.0-only) in the source files which reference this license file. - The full GPLv2 license text A redundant copy of LICENSES/preferred/GPL-2.0 Remove the notices and add the SPDX license identifier GPL-2.0-only to the source files. Finally remove the now redundant LICENSE.qla4xxx file. Reviewed-by: Richard Fontana <rfontana@redhat.com> Reviewed-by: Jilayne Lovejoy <opensource@jilayne.com> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Acked-by: Nilesh Javali <njavali@marvell.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
62 lines
1.6 KiB
C
62 lines
1.6 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* QLogic iSCSI HBA Driver
|
|
* Copyright (c) 2003-2012 QLogic Corporation
|
|
*/
|
|
|
|
/*
|
|
* Driver debug definitions.
|
|
*/
|
|
/* #define QL_DEBUG */ /* DEBUG messages */
|
|
/* #define QL_DEBUG_LEVEL_3 */ /* Output function tracing */
|
|
/* #define QL_DEBUG_LEVEL_4 */
|
|
/* #define QL_DEBUG_LEVEL_5 */
|
|
/* #define QL_DEBUG_LEVEL_7 */
|
|
/* #define QL_DEBUG_LEVEL_9 */
|
|
|
|
#define QL_DEBUG_LEVEL_2 /* ALways enable error messagess */
|
|
#if defined(QL_DEBUG)
|
|
#define DEBUG(x) do {x;} while (0);
|
|
#else
|
|
#define DEBUG(x) do {} while (0);
|
|
#endif
|
|
|
|
#if defined(QL_DEBUG_LEVEL_2)
|
|
#define DEBUG2(x) do {if(ql4xextended_error_logging == 2) x;} while (0);
|
|
#define DEBUG2_3(x) do {x;} while (0);
|
|
#else /* */
|
|
#define DEBUG2(x) do {} while (0);
|
|
#endif /* */
|
|
|
|
#if defined(QL_DEBUG_LEVEL_3)
|
|
#define DEBUG3(x) do {if(ql4xextended_error_logging == 3) x;} while (0);
|
|
#else /* */
|
|
#define DEBUG3(x) do {} while (0);
|
|
#if !defined(QL_DEBUG_LEVEL_2)
|
|
#define DEBUG2_3(x) do {} while (0);
|
|
#endif /* */
|
|
#endif /* */
|
|
#if defined(QL_DEBUG_LEVEL_4)
|
|
#define DEBUG4(x) do {x;} while (0);
|
|
#else /* */
|
|
#define DEBUG4(x) do {} while (0);
|
|
#endif /* */
|
|
|
|
#if defined(QL_DEBUG_LEVEL_5)
|
|
#define DEBUG5(x) do {x;} while (0);
|
|
#else /* */
|
|
#define DEBUG5(x) do {} while (0);
|
|
#endif /* */
|
|
|
|
#if defined(QL_DEBUG_LEVEL_7)
|
|
#define DEBUG7(x) do {x; } while (0)
|
|
#else /* */
|
|
#define DEBUG7(x) do {} while (0)
|
|
#endif /* */
|
|
|
|
#if defined(QL_DEBUG_LEVEL_9)
|
|
#define DEBUG9(x) do {x;} while (0);
|
|
#else /* */
|
|
#define DEBUG9(x) do {} while (0);
|
|
#endif /* */
|