From: "Michael S. Tsirkin" <[EMAIL PROTECTED]>

We don't need to write to the ECR to clear events when using MSI-X,
since we never read the ECR anyway.

Signed-off-by: Michael S. Tsirkin <[EMAIL PROTECTED]>
Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>

--- linux-bk.orig/drivers/infiniband/hw/mthca/mthca_eq.c        2005-01-23 
20:38:50.946247760 -0800
+++ linux-bk/drivers/infiniband/hw/mthca/mthca_eq.c     2005-01-23 
20:47:40.946675448 -0800
@@ -381,7 +381,6 @@
        struct mthca_eq  *eq  = eq_ptr;
        struct mthca_dev *dev = eq->dev;
 
-       writel(eq->ecr_mask, dev->hcr + MTHCA_ECR_CLR_OFFSET + 4);
        mthca_eq_int(dev, eq);
 
        /* MSI-X vectors always belong to us */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to