All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: netdev@vger.kernel.org, Lennert Buytenhek <kernel@wantstofly.org>,
	Ivo Clarysse <ivo.clarysse@gmail.com>,
	Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Subject: Re: [PATCH] Add new cs89x0 driver
Date: Thu, 23 Apr 2009 09:03:19 +0200	[thread overview]
Message-ID: <20090423070319.GN21747@pengutronix.de> (raw)
In-Reply-To: <20090422225328.GA14729@mail.wantstofly.org>

On Thu, Apr 23, 2009 at 12:53:28AM +0200, Lennert Buytenhek wrote:
> On Wed, Apr 22, 2009 at 09:59:30AM +0200, Sascha Hauer wrote:
> 
> > While this is a very old chip it is still in use on some embedded
> > boards.  I see myself unable to fix the in Kernel driver to bring
> > it to driver model support, so this patch adds a new driver designed
> > to replace the old one, at least for non-ISA hardware.
> 
> I had the same thought initially when I started working on mv643xx_eth,
> but I decided to try and beat the existing driver into shape anyway.  The
> mv643xx_eth driver now is not too different from how I would have written
> it had I rewritten it from scratch, and refactoring it took about a
> hundred commits and probably a bunch more effort than just rewriting it
> would have taken, but in the end I probably _saved_ myself time by being
> able to (have users) bisect problems instead of having to spend time
> trying to figure out why driver A works but B doesn't or vice versa, not
> having to chase people to switch their platforms over to the new driver,
> etc.
> 
> (I'm not saying that there's absolutely no other way for you to go than
> to do the same thing -- it's just a thought.)

I've gone that way with the fec.c driver recently, now I'm trying the
other way ;)

The problem with the cs89x0 driver is that it is an ISA driver. I think
it will be hard to find testers owning an ISA card with a cs89x0 chip.
(If you, dear reader, are one of those, please speak up)
For the embedded users it's simple. There are some Freescale i.MX Board
which I own myself or stay in contact with people who have one and some
IXP boards.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

  reply	other threads:[~2009-04-23  7:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22  7:59 [PATCH] Add new cs89x0 driver Sascha Hauer
2009-04-22  7:59 ` [PATCH 1/2] Add an alternative " Sascha Hauer
2009-04-22  7:59   ` [PATCH 2/2] mx1ads: Add cs89x0 network support Sascha Hauer
2009-04-22  9:28   ` [PATCH 1/2] Add an alternative cs89x0 driver Ivo Clarysse
2009-04-22 12:18     ` Sascha Hauer
2009-04-22  9:42   ` Gilles Chanteperdrix
2009-04-22 12:20     ` Sascha Hauer
2009-04-22 12:25       ` Gilles Chanteperdrix
2009-04-22 13:05         ` Sascha Hauer
2009-08-26 10:46   ` Kurt Van Dijck
2009-09-07 10:24     ` Sascha Hauer
2009-09-07 12:35       ` Kurt Van Dijck
2009-09-07 13:21         ` Sascha Hauer
2009-10-16  9:37   ` Kurt Van Dijck
2009-04-22 22:53 ` [PATCH] Add new " Lennert Buytenhek
2009-04-23  7:03   ` Sascha Hauer [this message]
2009-10-20  9:55 ` Ben Dooks

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=20090423070319.GN21747@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=buytenh@wantstofly.org \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=ivo.clarysse@gmail.com \
    --cc=kernel@wantstofly.org \
    --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 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.