From: Joerg Mayer <jmayer@loplof.de>
To: linux-kernel@vger.kernel.org
Cc: jgarzik@mandrakesoft.com
Subject: Linkbeat detection for eepro100
Date: Mon, 28 Jan 2002 22:57:15 +0100 [thread overview]
Message-ID: <20020128225715.D17469@thot.informatik.uni-kl.de> (raw)
Hello,
based on Stefans (srompf@isg.de) patch (Interface operative status detection)
to this list, here is support for the eepro100 driver.
ciao
Joerg
--
Joerg Mayer <jmayer@loplof.de>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.
--- drivers/net/eepro100.c.distrib Mon Jan 28 22:22:34 2002
+++ drivers/net/eepro100.c Mon Jan 28 22:40:59 2002
@@ -1103,9 +1103,9 @@
mdio_read(ioaddr, phy_num, 1);
/* If link beat has returned... */
if (mdio_read(ioaddr, phy_num, 1) & 0x0004)
- dev->flags |= IFF_RUNNING;
+ netif_carrier_on(dev);
else
- dev->flags &= ~IFF_RUNNING;
+ netif_carrier_off(dev);
}
}
if (speedo_debug > 3) {
reply other threads:[~2002-01-28 21:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20020128225715.D17469@thot.informatik.uni-kl.de \
--to=jmayer@loplof.de \
--cc=jgarzik@mandrakesoft.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®