mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guido Guenther <agx@sigxcpu.org>
To: linux-kernel@vger.kernel.org
Cc: jonmason@us.ibm.com
Subject: pcnet32: 79c976 with fiber optic
Date: Wed, 24 Nov 2004 18:14:28 +0100	[thread overview]
Message-ID: <20041124171427.GA29693@bogon.ms20.nix> (raw)

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

             reply	other threads:[~2004-11-24 23:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-24 17:14 Guido Guenther [this message]
2004-11-25 22:03 ` Alan Cox
2004-11-26  9:21   ` Guido Guenther

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041124171427.GA29693@bogon.ms20.nix \
    --to=agx@sigxcpu.org \
    --cc=jonmason@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®