Re: Regression: myri10ge driver in 2.6.26
From: Brice Goglin
Date: Wed Jul 23 2008 - 16:17:58 EST
Lukas Hejtmanek wrote:
> Hello,
>
> On Wed, Jul 23, 2008 at 10:17:54AM +0200, Brice Goglin wrote:
>
>> Thanks for testing, I just sent the patch to stable@
>>
>
> it seems, I got another problem with the driver from 2.6.26:
>
Does this help ?
--- linux.old/drivers/net/myri10ge/myri10ge.c 2008-07-23 17:13:20.000000000 +0200
+++ linux/drivers/net/myri10ge/myri10ge.c 2008-07-23 22:07:58.000000000 +0200
@@ -3126,6 +3126,8 @@ static int myri10ge_probe(struct pci_dev
mgp = netdev_priv(netdev);
mgp->dev = netdev;
+ mgp->ss.mgp = mgp;
+ mgp->ss.dev = mgp->dev;
netif_napi_add(netdev, &mgp->ss.napi, myri10ge_poll, myri10ge_napi_weight);
mgp->pdev = pdev;
mgp->csum_flag = MXGEFW_FLAGS_CKSUM;
--
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/