Re: [PATCH] net: add driver for the NIC on Cell Blades

From: Arjan van de Ven
Date: Tue Jun 28 2005 - 08:58:32 EST


On Tue, 2005-06-28 at 15:28 +0200, Arnd Bergmann wrote:
>
> +static void
> +spider_net_rx_irq_off(struct spider_net_card *card)
> +{
> + u32 regvalue;
> + unsigned long flags;
> +
> + spin_lock_irqsave(&card->intmask_lock, flags);
> + regvalue = spider_net_read_reg(card, SPIDER_NET_GHIINT0MSK);
> + regvalue &= ~SPIDER_NET_RXINT;
> + spider_net_write_reg(card, SPIDER_NET_GHIINT0MSK, regvalue);
> + spin_unlock_irqrestore(&card->intmask_lock, flags);
> +}

I think you have a PCI posting bug here....

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