netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Kok, Auke" <auke-jan.h.kok@intel.com>
To: netdev@vger.kernel.org
Cc: Jeff Garzik <jeff@garzik.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Jason Lunz <lunz@reflexsecurity.com>,
	Mark McLoughlin <markmc@redhat.com>,
	e1000-devel@lists.sourceforge.net,
	Arjan van de Ven <arjan@linux.intel.com>,
	"Ronciak, John" <john.ronciak@intel.com>
Subject: RFR: New e1000 driver (e1000new), was: Re: e1000: backport ich9 support from 7.5.5 ?
Date: Fri, 29 Jun 2007 16:24:39 -0700	[thread overview]
Message-ID: <468594B7.6070309@intel.com> (raw)
In-Reply-To: <4685838D.9080108@garzik.org>

Jeff Garzik wrote:
> Andrew Morton wrote:
>> On Fri, 29 Jun 2007 14:39:20 -0700
>> "Kok, Auke" <auke-jan.h.kok@intel.com> wrote:
>>
>>> That's why we want to introduce a second e1000 driver (named differently, pick 
>>> any name) that contains the new code base, side-by-side into the kernel with the 
>>> current e1000.
>> Sounds like a reasonable approach to me (it has plenty of precedent).  But
>> I forget what all the other issues were, so ignore me.
> 
> Given past history with duplicate drivers and the problems that they 
> cause -- I know, I've caused some of those problems :( -- I strongly 
> recommend against when it can be avoided.
> 
> Leaving e1000 with current hardware, and a new e1001 for newer hardware 
> should be easier to manage for all involved, without the headaches that 
> duplicate drivers cause.
> 
> An "e1001" approach also means we have a much greater chance of 
> encouraging Intel down the path of clean driver-ness.

ok, FWIW, here is this new driver:


I've posted this new driver (currently called "e1000new") on my git tree:

    git-pull git://lost.foo-projects.org/~ahkok/git/netdev-2.6 e1000new

It contains a single git-commit with the following content (on top of current 
master branch from Jeff's netdev tree):

---
commit d2ec375736ac23a3432534112e0f8fc172ee9db4
Author: Auke Kok <auke-jan.h.kok@intel.com>
Date:   Fri Jun 29 15:48:04 2007 -0700

     e1000new: new e1000 driver for current e1000 hardware

     This driver is a cleaned up version of the current e1000 driver. It
     introduces a fully rewritten abstraction between MAC, PHY, NVM
     and other low-level hardware features such as manageability. Per-
     hardware family specific code.

     Mac type checks are almost completely eliminated and replaced with
     hardware feature/issue or capability flags. This allows us much
     easier going forward to add new hardware support or debug issues.

     Finally, the driver structures were reorganized and restructured
     to align better and remove holes. tx and rx structures are now
     basically the same and simplify setup code etc.

     Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>

:100644 100644 7d57f4a... 0bad8f3... M  drivers/net/Kconfig
:100644 100644 a77affa... 0b58e78... M  drivers/net/Makefile
:000000 100644 0000000... 5bdf481... A  drivers/net/e1000new/80003es2lan.c
:000000 100644 0000000... f139050... A  drivers/net/e1000new/80003es2lan.h
:000000 100644 0000000... 1279521... A  drivers/net/e1000new/82540.c
:000000 100644 0000000... dc20510... A  drivers/net/e1000new/82541.c
:000000 100644 0000000... 5fab7ff... A  drivers/net/e1000new/82541.h
:000000 100644 0000000... e18a1be... A  drivers/net/e1000new/82542.c
:000000 100644 0000000... dad89ae... A  drivers/net/e1000new/82543.c
:000000 100644 0000000... 6d14aba... A  drivers/net/e1000new/82543.h
:000000 100644 0000000... 3283841... A  drivers/net/e1000new/82571.c
:000000 100644 0000000... 5912f47... A  drivers/net/e1000new/82571.h
:000000 100644 0000000... 703d938... A  drivers/net/e1000new/Makefile
:000000 100644 0000000... 2de032e... A  drivers/net/e1000new/api.c
:000000 100644 0000000... e429f8c... A  drivers/net/e1000new/api.h
:000000 100644 0000000... 59f34db... A  drivers/net/e1000new/defines.h
:000000 100644 0000000... 71b775d... A  drivers/net/e1000new/e1000.h
:000000 100644 0000000... 803ed2c... A  drivers/net/e1000new/ethtool.c
:000000 100644 0000000... 848debc... A  drivers/net/e1000new/hw.h
:000000 100644 0000000... e5adbff... A  drivers/net/e1000new/ich8lan.c
:000000 100644 0000000... 557858f... A  drivers/net/e1000new/ich8lan.h
:000000 100644 0000000... 8f589a3... A  drivers/net/e1000new/mac.c
:000000 100644 0000000... 075e326... A  drivers/net/e1000new/mac.h
:000000 100644 0000000... 3b6f6bc... A  drivers/net/e1000new/main.c
:000000 100644 0000000... e5fee2e... A  drivers/net/e1000new/manage.c
:000000 100644 0000000... 27606ea... A  drivers/net/e1000new/manage.h
:000000 100644 0000000... 2c9ccb4... A  drivers/net/e1000new/nvm.c
:000000 100644 0000000... e59c8ad... A  drivers/net/e1000new/nvm.h
:000000 100644 0000000... 3c943f1... A  drivers/net/e1000new/param.c
:000000 100644 0000000... 45338ef... A  drivers/net/e1000new/phy.c
:000000 100644 0000000... 957957d... A  drivers/net/e1000new/phy.h
:000000 100644 0000000... 669ad03... A  drivers/net/e1000new/regs.h
---


You can also get it through http:

http://foo-projects.org/~sofar/e1000new.patch      [883KB]
http://foo-projects.org/~sofar/e1000new.patch.bz2  [121KB]

Unfortunately it's too big to send directly to the list.

While I understand everyone's reservation for going a certain course forward, I 
would really appreciate it if people would review this driver and give it 
attention. Any feedback is appreciated, and whatever course we might end up 
going, can be used.

Thanks,

Auke

  reply	other threads:[~2007-06-29 23:24 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-29 17:29 e1000: backport ich9 support from 7.5.5 ? Mark McLoughlin
2007-06-29 17:50 ` Jason Lunz
2007-06-29 19:51   ` Kok, Auke
2007-06-29 20:22     ` Jason Lunz
2007-06-29 20:59     ` Jeff Garzik
2007-06-30 21:24     ` Mark McLoughlin
2007-07-02 23:52       ` Williams, Mitch A
2007-07-03  0:10         ` Rick Jones
2007-07-03  0:55           ` Jason Lunz
2007-07-03  1:44             ` Kok, Auke
2007-07-03  7:15         ` Christoph Hellwig
2007-07-03 13:13           ` [E1000-devel] " Jeff Garzik
2007-06-29 20:55   ` Jeff Garzik
2007-06-29 21:39     ` Kok, Auke
2007-06-29 22:03       ` Andrew Morton
2007-06-29 22:11         ` Jeff Garzik
2007-06-29 23:24           ` Kok, Auke [this message]
2007-06-29 23:38             ` RFR: New e1000 driver (e1000new), was: " Arjan van de Ven
2007-07-08 18:20               ` Jeff Garzik
2007-07-08 20:14                 ` Arjan van de Ven
2007-07-08 22:01                   ` [E1000-devel] " Jonathan Lundell
2007-06-30  3:32             ` Roland Dreier
2007-07-08 18:20               ` Jeff Garzik
2007-07-06 19:07             ` Jeff Garzik
2007-07-07  0:13               ` Kok, Auke
2007-07-07 12:23                 ` James Chapman
2007-07-08 18:41                   ` James Chapman
2007-07-07 18:59               ` Andrew Grover
2007-06-29 23:57           ` Andrew Grover
2007-06-30  0:02             ` Andrew Grover
2007-06-30  0:09             ` Jeff Garzik
2007-06-30  1:29               ` Jim McCullough
2007-06-30  1:31                 ` Jim McCullough
2007-06-30  2:34                 ` [E1000-devel] " Kok, Auke
2007-06-30  2:31               ` Kok, Auke
2007-06-30  8:25                 ` Christoph Hellwig
2007-07-03 22:48                   ` Splitting e1000 (Was: Re: e1000: backport ich9 support from 7.5.5 ?) Kok, Auke
2007-07-05 18:32                     ` Kok, Auke
2007-07-06  0:22                     ` Jeff Garzik
2007-07-07  0:14                       ` Kok, Auke
2007-07-07 13:58                         ` James Chapman
2007-07-07 19:04                         ` Francois Romieu
2007-07-07 21:54                           ` Kok, Auke
2007-07-08  1:32                             ` Stephen Hemminger
2007-07-08 10:07                               ` James Chapman
2007-07-08 16:29                               ` Arjan van de Ven
2007-07-08 18:06                                 ` Jeff Garzik
2007-07-08 19:24                                   ` Andrew Grover
2007-07-09 17:56                                     ` Jeff Garzik
2007-07-08 20:05                                   ` Arjan van de Ven
2007-07-09 18:39                                     ` Jeff Garzik
2007-07-09 18:46                                       ` Stephen Hemminger
2007-07-09 19:36                                       ` Arjan van de Ven
2007-07-09 20:46                                       ` Kok, Auke
2007-07-09 22:26                                         ` Jeff Garzik
2007-07-13 21:45                                           ` Kok, Auke
2007-07-13 22:08                                             ` Jeff Garzik
2007-07-13 22:13                                               ` Kok, Auke
2007-07-08 18:08                               ` Jeff Garzik
2007-07-08 17:41                         ` Jeff Garzik
2007-06-30 14:31                 ` e1000: backport ich9 support from 7.5.5 ? James Chapman
2007-06-30 16:29                   ` Kok, Auke
2007-07-01 10:45                     ` James Chapman
2007-06-30  8:26             ` Christoph Hellwig
2007-06-29 22:16         ` Kok, Auke
2007-06-29 22:07       ` Jeff Garzik
2007-06-29 21:39   ` Andy Gospodarek

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=468594B7.6070309@intel.com \
    --to=auke-jan.h.kok@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=arjan@linux.intel.com \
    --cc=e1000-devel@lists.sourceforge.net \
    --cc=jeff@garzik.org \
    --cc=john.ronciak@intel.com \
    --cc=lunz@reflexsecurity.com \
    --cc=markmc@redhat.com \
    --cc=netdev@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;
as well as URLs for NNTP newsgroup(s).