From: Go Taniguchi <go@turbolinux.co.jp>
To: jgarzik@mandrakesoft.com, linux-kernel@vger.kernel.org
Cc: akpm@zip.com.au
Subject: [PATCH] fixup pcnet32 workaround xSeries250
Date: Tue, 28 May 2002 13:50:26 +0900 [thread overview]
Message-ID: <20020528135026.4e669b53.go@turbolinux.co.jp> (raw)
Hi,
I have sent the update patch for pcnet32 which included the workaround for xSeries250
on the other day.
However, the workaround has the problem with 79C970A 10M full duplex cards
which causes the netowrk slowing-down.
To solve this problem, the workaound is set to be turned on for "79C975" only.
Please apply.
-- GO!
--- linux/drivers/net/pcnet32.c.orig Mon May 27 17:15:12 2002
+++ linux/drivers/net/pcnet32.c Tue May 28 12:35:29 2002
@@ -847,8 +847,9 @@
if (lp->options == (PCNET32_PORT_FD | PCNET32_PORT_AUI))
val |= 2;
} else if (lp->options & PCNET32_PORT_ASEL) {
- /* workaround for xSeries250 */
- val |= 3;
+ /* workaround of xSeries250, turn on for 79C975 only */
+ i = ((lp->a.read_csr(ioaddr, 88) | (lp->a.read_csr(ioaddr,89) << 16)) >> 12) & 0xffff;
+ if (i == 0x2627) val |= 3;
}
lp->a.write_bcr (ioaddr, 9, val);
}
next reply other threads:[~2002-05-28 4:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-28 4:50 Go Taniguchi [this message]
2002-05-30 6:14 ` Jeff Garzik
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=20020528135026.4e669b53.go@turbolinux.co.jp \
--to=go@turbolinux.co.jp \
--cc=akpm@zip.com.au \
--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®