From: p2@mind.be (Peter De Schrijver)
To: linux-kernel@vger.kernel.org
Subject: [PATCH] tulip driver
Date: Fri, 5 Jan 2001 19:42:02 +0100 [thread overview]
Message-ID: <20010105194202.A1831@mind.be> (raw)
[-- Attachment #1: Type: text/plain, Size: 361 bytes --]
Hi,
Attached you will find a patch to the tulip driver in Linux 2.4. This patch
will interpret a bit more of 21142 extended format type 3 info blocks in a
tulip SROM. This allows correct autonegotation of the builtin 21143 based
ethernet adapter on a digital PWS500a(u). Maybe a future version should do
a more thorough interpretation of the SROM.
Peter.
[-- Attachment #2: patch-tulip --]
[-- Type: text/plain, Size: 617 bytes --]
diff -rc linux.orig/drivers/net/tulip/eeprom.c linux/drivers/net/tulip/eeprom.c
*** linux.orig/drivers/net/tulip/eeprom.c Sat Dec 30 20:23:14 2000
--- linux/drivers/net/tulip/eeprom.c Fri Jan 5 19:02:36 2001
***************
*** 207,214 ****
--- 207,219 ----
p += (p[0] & 0x3f) + 1;
continue;
} else if (p[1] & 1) {
+ int gpr_len, reset_len;
+
mtable->has_mii = 1;
leaf->media = 11;
+ gpr_len=p[3]*2;
+ reset_len=p[4+gpr_len]*2;
+ new_advertise |= get_u16(&p[7+gpr_len+reset_len]);
} else {
mtable->has_nonmii = 1;
leaf->media = p[2] & 0x0f;
next reply other threads:[~2001-01-05 18:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-05 18:42 Peter De Schrijver [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-01-06 5:01 [patch] tulip driver Donald Becker
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=20010105194202.A1831@mind.be \
--to=p2@mind.be \
--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