lkml.org 
[lkml]   [2002]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] pcnet32 workaround for IBM xSeries250
This is workaround for IBM xSeries250 onbord AMD79C975.
Auto negotiation failed with full duplex HUB.

If we set it to auto negotiation, this patch will be meaningless.
However, this patch is needed by auto-negotiation of full-duplex

The status is as follows:

setup HUB to half duplex. link OK
setup HUB to full duplex. link OK

Of course, AMD79C973 wrok too.
It's been tested by IBM staff too.

--- linux/drivers/net/pcnet32.c.orig Sun Jan 27 02:30:16 2002
+++ linux/drivers/net/pcnet32.c Sun Jan 27 02:37:16 2002
@@ -857,6 +857,9 @@
val |= 1;
if (lp->options == (PORT_FD | PORT_AUI))
val |= 2;
+ } else if (lp->options & PORT_ASEL) {
+ /* workaround for xSeries250 */
+ val |= 3;
}
lp->a.write_bcr (ioaddr, 9, val);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.022 / U:7.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site