]> err.no Git - linux-2.6/commitdiff
ehea: Added logging off associated errors
authorThomas Klein <osstklei@de.ibm.com>
Mon, 22 Jan 2007 11:54:50 +0000 (12:54 +0100)
committerJeff Garzik <jeff@garzik.org>
Tue, 23 Jan 2007 05:59:21 +0000 (00:59 -0500)
Added logging of error events associated with a specific queue pair

Signed-off-by: Thomas Klein <tklein@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ehea/ehea_main.c

index 8281b30da32d8af56b07e5c301b8ffebc97e4371..22c81ae4f9adcaeeafe25b1cb2e53e629d69ce1a 100644 (file)
@@ -558,12 +558,12 @@ static irqreturn_t ehea_qp_aff_irq_handler(int irq, void *param)
        u32 qp_token;
 
        eqe = ehea_poll_eq(port->qp_eq);
-       ehea_debug("eqe=%p", eqe);
+
        while (eqe) {
-               ehea_debug("*eqe=%lx", *(u64*)eqe);
-               eqe = ehea_poll_eq(port->qp_eq);
                qp_token = EHEA_BMASK_GET(EHEA_EQE_QP_TOKEN, eqe->entry);
-               ehea_debug("next eqe=%p", eqe);
+               ehea_error("QP aff_err: entry=0x%lx, token=0x%x",
+                          eqe->entry, qp_token);
+               eqe = ehea_poll_eq(port->qp_eq);
        }
 
        return IRQ_HANDLED;