netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rask Ingemann Lambertsen <rask@sygehus.dk>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: netdev@oss.sgi.com
Subject: Re: [RFR] new e100 driver
Date: Fri, 5 Dec 2003 16:43:47 +0100	[thread overview]
Message-ID: <20031205164347.B1291@sygehus.dk> (raw)
In-Reply-To: <20031205063842.GA23843@gtf.org>; from jgarzik@pobox.com on Fri, Dec 05, 2003 at 01:38:43AM -0500

On Fri, Dec 05, 2003 at 01:38:43AM -0500, Jeff Garzik wrote:
> 
> e100 3.0.9_dev just got checked into net-drivers-2.5-exp queue.  As I do
> occasionally (especially for smaller drivers), I post them for review
> and comment.

How would I build it? A patch for the Makefile is missing.

> Patches welcome in addition to comments.
> 
> One thing I am tempted to request is use of the new module_param()...

Does anybody have a macro that turns module_parm() into MODULE_PARM() for
2.4 compatibility?

>  *	References:
>  *		Intel 8255x 10/100 Mbps Ethernet Controller Family,
>  *		Open Source Software Developers Manual,
>  *		http://sourceforge.net/projects/e1000
[cut]
>  * 	Hardware padding of short packets to minimum packet size is
>  * 	enabled.  82557 pads with 7Eh, while the later controllers pad
>  * 	with 00h.

I would be nice if the documentation said so. A few days ago I spent half an
hour or so trying to figure out why frames sent by an 82558 were padded with
0x00 rather than the documented 0x7e (with no sign of skb_padto(), memset()
or anything similiar in the driver).

> enum mac {
> 	mac_82557_D100_A  = 0,
> 	mac_82557_D100_B  = 1,
> 	mac_82557_D100_C  = 2,
> 	mac_82558_D101_A4 = 4,
> 	mac_82558_D101_B0 = 5,
> 	mac_82559_D101M   = 8,
> 	mac_82559_D101S   = 9,
> 	mac_82550_D102    = 12,
> 	mac_82550_D102_C  = 13,
> 	mac_82550_D102_E  = 15,
> 	mac_unknown       = 0xFF,
> };

Nice for matching the D10* names with chip numbers.

-- 
Regards,
Rask Ingemann Lambertsen

  reply	other threads:[~2003-12-05 15:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-05  6:38 [RFR] new e100 driver Jeff Garzik
2003-12-05 15:43 ` Rask Ingemann Lambertsen [this message]
2003-12-05 18:01   ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2003-12-05 22:01 Feldman, Scott

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=20031205164347.B1291@sygehus.dk \
    --to=rask@sygehus.dk \
    --cc=jgarzik@pobox.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).