diff --git a/Makefile b/Makefile index 8c2af416d..e322a681f 100644 --- a/Makefile +++ b/Makefile @@ -264,6 +264,7 @@ debug2release: patch -p0 isp_dblev = isp_debug; + } else { +- isp->isp_dblev = ISP_LOGCONFIG|ISP_LOGINFO|ISP_LOGWARN|ISP_LOGERR; ++ isp->isp_dblev = ISP_LOGERR; + } + + pci_read_config_word(pdev, PCI_COMMAND, &cmd); +diff -uprN -X/home/stasiu/work/linux-2.6/Documentation/dontdiff qla_isp/linux/isp_scst.c qla_isp-1.0.0/linux/isp_scst.c +--- qla_isp/linux/isp_scst.c 2008-07-08 09:38:11.000000000 +0200 ++++ qla_isp-1.0.0/linux/isp_scst.c 2008-07-06 12:49:07.000000000 +0200 +@@ -156,7 +156,7 @@ struct bus { + struct scst_proc_data proc_data; + }; + +-#define DEBUG 1 ++//#define DEBUG 1 + + #ifdef DEBUG + #define SDprintk if (debug) printk diff --git a/qla_isp/linux/isp_pci.c b/qla_isp/linux/isp_pci.c index d5cffdd16..2e404cdd5 100644 --- a/qla_isp/linux/isp_pci.c +++ b/qla_isp/linux/isp_pci.c @@ -548,7 +548,7 @@ isplinux_pci_init_one(struct Scsi_Host *host) if (isp_debug) { isp->isp_dblev = isp_debug; } else { - isp->isp_dblev = ISP_LOGCONFIG|ISP_LOGINFO|ISP_LOGWARN|ISP_LOGERR; + isp->isp_dblev = ISP_LOGERR; } pci_read_config_word(pdev, PCI_COMMAND, &cmd); diff --git a/qla_isp/linux/isp_scst.c b/qla_isp/linux/isp_scst.c index 29f8e7dbe..39dfe89c7 100644 --- a/qla_isp/linux/isp_scst.c +++ b/qla_isp/linux/isp_scst.c @@ -156,7 +156,7 @@ struct bus { struct scst_proc_data proc_data; }; -#define DEBUG 1 +//#define DEBUG 1 #ifdef DEBUG #define SDprintk if (debug) printk