qla2xxx: ISP27xx fwdump template remove high frequency debug logs.
authorJoe Carnuccio <joe.carnuccio@qlogic.com>
Thu, 25 Sep 2014 09:16:34 +0000 (05:16 -0400)
committerChristoph Hellwig <hch@lst.de>
Thu, 25 Sep 2014 12:25:01 +0000 (14:25 +0200)
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_tmpl.c

index 55edaa2a0f3f6eccf2f28be4bf6cf275b3b55f1c..61bd49f4f7bf4cb9715909cd9ef1d2304b0b2565 100644 (file)
@@ -64,7 +64,7 @@
  * |                              |                    | 0xb13c-0xb140  |
  * |                              |                    | 0xb149                |
  * | MultiQ                       |       0xc00c       |               |
- * | Misc                         |       0xd212       | 0xd017                |
+ * | Misc                         |       0xd212       | 0xd011-0xd017 |
  * |                              |                    | 0xd020                |
  * |                              |                    | 0xd030-0xd0ff |
  * |                              |                    | 0xd101-0xd1fe |
index 29271cc7659aa4fd25016f1c40fd7afbb37e14c4..6da9dd272eb316012249697349421d5e79731099 100644 (file)
@@ -151,8 +151,6 @@ qla27xx_read8(void *window, void *buf, ulong *len)
 
        if (buf) {
                value = RD_REG_BYTE((__iomem void *)window);
-               ql_dbg(ql_dbg_misc, NULL, 0xd011,
-                   "%s: -> %x\n", __func__, value);
        }
        qla27xx_insert32(value, buf, len);
 }
@@ -164,8 +162,6 @@ qla27xx_read16(void *window, void *buf, ulong *len)
 
        if (buf) {
                value = RD_REG_WORD((__iomem void *)window);
-               ql_dbg(ql_dbg_misc, NULL, 0xd012,
-                   "%s: -> %x\n", __func__, value);
        }
        qla27xx_insert32(value, buf, len);
 }
@@ -177,8 +173,6 @@ qla27xx_read32(void *window, void *buf, ulong *len)
 
        if (buf) {
                value = RD_REG_DWORD((__iomem void *)window);
-               ql_dbg(ql_dbg_misc, NULL, 0xd013,
-                   "%s: -> %x\n", __func__, value);
        }
        qla27xx_insert32(value, buf, len);
 }
@@ -197,10 +191,6 @@ qla27xx_read_reg(__iomem struct device_reg_24xx *reg,
 {
        void *window = (void *)reg + offset;
 
-       if (buf) {
-               ql_dbg(ql_dbg_misc, NULL, 0xd014,
-                   "%s: @%x\n", __func__, offset);
-       }
        qla27xx_read32(window, buf, len);
 }
 
@@ -211,8 +201,6 @@ qla27xx_write_reg(__iomem struct device_reg_24xx *reg,
        __iomem void *window = reg + offset;
 
        if (buf) {
-               ql_dbg(ql_dbg_misc, NULL, 0xd015,
-                   "%s: @%x <- %x\n", __func__, offset, data);
                WRT_REG_DWORD(window, data);
        }
 }
@@ -225,11 +213,6 @@ qla27xx_read_window(__iomem struct device_reg_24xx *reg,
        void *window = (void *)reg + offset;
        void (*readn)(void *, void *, ulong *) = qla27xx_read_vector(width);
 
-       if (buf) {
-               ql_dbg(ql_dbg_misc, NULL, 0xd016,
-                   "%s: base=%x offset=%x count=%x width=%x\n",
-                   __func__, addr, offset, count, width);
-       }
        qla27xx_write_reg(reg, IOBASE_ADDR, addr, buf);
        while (count--) {
                qla27xx_insert32(addr, buf, len);