lkml.org 
[lkml]   [2004]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectpcnet32: 79c976 with fiber optic
Hi,
I have a Allied Telesys using a 79c976 with a fibre optic connectior.
pcnet32 detects the card fine but looses the link when I ifup the
interface. If I use:

--- tmp/linux-2.6.9/drivers/net/pcnet32.c 2004-10-18 23:53:45.000000000 +0200
+++ linux-2.6.9/drivers/net/pcnet32.c 2004-11-24 15:52:27.000000000 +0100
@@ -1425,6 +1425,8 @@
val |= 0x10;
lp->a.write_csr (ioaddr, 124, val);

+ printk(KERN_DEBUG "pcnet32: Skipping AMD workaround\n");
+#if 0
/* 24 Jun 2004 according AMD, in order to change the PHY,
* DANAS (or DISPM for 79C976) must be set; then select the speed,
* duplex, and/or enable auto negotiation, and clear DANAS */
@@ -1446,6 +1448,7 @@
lp->a.write_bcr(ioaddr, 32, val);
}
}
+#endif

#ifdef DO_DXSUFLO
if (lp->dxsuflo) { /* Disable transmit stop on und
it works fine. Any idea what exactly causes the problem?
Cheers,
-- Guido
-
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 14:08    [W:0.048 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site