/[linux-patches]/genpatches-2.6/trunk/2.6.12/2100_forcedeth-force-linkinit.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.12/2100_forcedeth-force-linkinit.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 142 - (show annotations) (download)
Sat Aug 20 12:09:21 2005 UTC (12 years, 10 months ago) by dsd
File size: 555 byte(s)
Fix intermittent network drop in forcedeth driver

1 forcedeth 042:
2 Fix lack of link speed initialization in the second (and later) nv_open call
3
4 --- 2.6/drivers/net/forcedeth.c 2005-08-06 19:59:56.000000000 +0200
5 +++ build-2.6/drivers/net/forcedeth.c 2005-08-06 19:59:06.000000000 +0200
6 @@ -2178,6 +2180,9 @@
7 writel(NVREG_MIISTAT_MASK, base + NvRegMIIStatus);
8 dprintk(KERN_INFO "startup: got 0x%08x.\n", miistat);
9 }
10 + /* set linkspeed to invalid value, thus force nv_update_linkspeed
11 + * to init hw */
12 + np->linkspeed = 0;
13 ret = nv_update_linkspeed(dev);
14 nv_start_rx(dev);
15 nv_start_tx(dev);

  ViewVC Help
Powered by ViewVC 1.1.20