All of lore.kernel.org
 help / color / mirror / Atom feed
From: Donald Becker <becker@scyld.com>
To: Jeff Garzik <jgarzik@mandrakesoft.com>
Cc: jamal <hadi@cyberus.ca>, <netdev@oss.sgi.com>
Subject: Re: [ANNOUNCE] NAPI patches for 2.4.19-rc1
Date: Thu, 11 Jul 2002 12:50:56 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0207111238570.2498-100000@beohost.scyld.com> (raw)
In-Reply-To: <3D2D9CC8.5050200@mandrakesoft.com>

On Thu, 11 Jul 2002, Jeff Garzik wrote:
> Donald Becker wrote:
> > The mdelay(300) is completely bogus.
...
> Ouch.  You are absolutely right, and I take the blame for not reviewing 
> more closely.  That's what I get for trusting vendors too much ;-)
> [D-Link has been the one patching sundance and dl2k for a while now]

Very, very few vendor patchs are worth applying.  They sometimes know of
otherwise undocumented chip bugs, but a lot of the actual code is bad.

It's not "maintaining" a driver when you just take a vendor modification
of a driver and assume it's OK.  You have to understand the changes and
evaluate if they make sense.

> I've been meaning to go through several drivers and fix up the stupid 
> assumptions they make about autonegotiation completion time.

Putting broken changes into the kernel with a plan to go back later and
clean them is a bad development methodology.

> > The driver also changes the transceiver settings to non-standard
> > values.
> Which lines of code are you referring to?

Removing "options" as a way to set the transceiver.

> This _might_ be a case where the docs are inaccurate, since the patch 
> was done by D-Link with access to the chip designers.

No, it's unrelated to specific chip.  It's a change that looks good when
you see only that driver, but the change makes it inconsistent will all
of the other drivers.  

-- 
Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993

  reply	other threads:[~2002-07-11 16:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-10 22:32 [ANNOUNCE] NAPI patches for 2.4.19-rc1 Jason Lunz
2002-07-10 22:56 ` Ben Greear
2002-07-11 13:20   ` Jason Lunz
2002-07-10 23:34 ` jamal
2002-07-11  0:41   ` Donald Becker
2002-07-11 14:57     ` Jeff Garzik
2002-07-11 16:50       ` Donald Becker [this message]
2002-07-11 17:17         ` Ben Greear
2002-07-11 18:31           ` Jeff Garzik
2002-07-11 22:31             ` Ben Greear
2002-07-12 15:11               ` Jason Lunz
2002-07-11 18:53           ` Donald Becker
2002-07-11 19:34         ` Jeff Garzik
2002-07-11 13:26   ` Jason Lunz
2002-07-11 13:39     ` Jeff Garzik
2002-07-11 13:44       ` Jason Lunz
2002-07-11 14:33         ` Donald Becker
2002-07-11 14:37         ` Jeff Garzik
2002-07-11 16:00 ` Robert Olsson

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=Pine.LNX.4.44.0207111238570.2498-100000@beohost.scyld.com \
    --to=becker@scyld.com \
    --cc=hadi@cyberus.ca \
    --cc=jgarzik@mandrakesoft.com \
    --cc=netdev@oss.sgi.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.