[PATCH] pcnet32 workaround for IBM xSeries250

From: Go Taniguchi (go@turbolinux.co.jp)
Date: Tue Feb 12 2002 - 06:45:02 EST


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/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:48 EST