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

Arjan van de Ven arjan at infradead.org
Tue Jun 28 23:53:18 EST 2005


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....




More information about the Linuxppc64-dev mailing list