linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: ian@opensource.wolfsonmicro.com (Ian Lartey)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] Adding cs89x0, standard ethernet driver for iMX31 platform.
Date: Wed, 13 Oct 2010 16:25:13 +0100	[thread overview]
Message-ID: <1286983514.1799.8974.camel@Tapajos> (raw)
In-Reply-To: <20101001124918.GM784@pengutronix.de>

On Fri, 2010-10-01 at 14:49 +0200, Uwe Kleine-K?nig wrote:
> On Fri, Oct 01, 2010 at 11:46:36AM +0100, Ian Lartey wrote:
> > On Thu, 2010-09-30 at 20:23 +0200, Uwe Kleine-K?nig wrote:
> > > On Thu, Sep 30, 2010 at 04:47:35PM +0100, Ian Lartey wrote:
> > > > Signed-off-by: Ian Lartey <ian@opensource.wolfsonmicro.com>
> > > > ---
> > > >  arch/arm/configs/mx3_defconfig |    2 ++
> > > >  1 files changed, 2 insertions(+), 0 deletions(-)
> > > > 
> > > > diff --git a/arch/arm/configs/mx3_defconfig b/arch/arm/configs/mx3_defconfig
> > > > index 161f907..b0b3409 100644
> > > > --- a/arch/arm/configs/mx3_defconfig
> > > > +++ b/arch/arm/configs/mx3_defconfig
> > > > @@ -68,6 +68,8 @@ CONFIG_NET_ETHERNET=y
> > > >  CONFIG_SMSC911X=y
> > > >  CONFIG_DNET=y
> > > >  CONFIG_FEC=y
> > > > +CONFIG_CS89x0=y
> > > > +CONFIG_CS89x0_NONISA_IRQ=y
> > > >  # CONFIG_NETDEV_1000 is not set
> > > >  # CONFIG_NETDEV_10000 is not set
> > > >  # CONFIG_INPUT is not set
> > > This change is bad for two reasons:
> > > 
> > >  - I just tested a kernel with CONFIG_CS89x0=y on a Phytec Phycore
> > >    pcm043 using your updated defconfig and it barfs:
> > > 
> > > 	[.....]
> > 
> > Ouch, I'll see if I can correct that. (Needs to be done before I can add
> > the config file change). Uwe I don't have another i.MX3 (apart from the
> > i.MV31ADS) would you be able to test further changes for me please to
> > help catch this kind of thing ?
> I'm not sure if I have access to an mx31ads, but we have several i.MX
> machines in our lab.  And I'm willing to give my comments to a general
> cs89x0 cleanup.  (This drivers was one of the first things I saw when I
> started kernel development.  Back then I gave up trying to understand
> it. :-)  So maybe if you don't come around fixing it I might have some
> energy to do it now with more knowledge about the kernel in general and
> having seen *much* ugly code.

I've had a look round but I cannot get a handle on fixing the issue.
I only have an i.mx31ads that failure doesn't occur, sorry I hope you
have more success than me.


For now I'll resubmit PATCH 1/2 with the changes to  board-mx31ads.h and
board-mx31ads.c but I'll not resubmit this patch to mx3_defconfig so
nobody will get it by default.

Does this seem OK to you ?

Cheers,
       Ian.

  reply	other threads:[~2010-10-13 15:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 15:47 [PATCH 1/2] Fixing ethernet driver compilation error for i.MX31 ADS board Ian Lartey
2010-09-30 15:47 ` [PATCH 2/2] Adding cs89x0, standard ethernet driver for iMX31 platform Ian Lartey
2010-09-30 18:23   ` Uwe Kleine-König
2010-10-01 10:46     ` Ian Lartey
2010-10-01 12:49       ` Uwe Kleine-König
2010-10-13 15:25         ` Ian Lartey [this message]
2010-10-13 16:11           ` Uwe Kleine-König
2010-10-13 16:32             ` Ian Lartey
2010-09-30 18:14 ` [PATCH 1/2] Fixing ethernet driver compilation error for i.MX31 ADS board Uwe Kleine-König
2010-10-01 10:33   ` Ian Lartey
2010-10-01 12:42     ` Uwe Kleine-König

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=1286983514.1799.8974.camel@Tapajos \
    --to=ian@opensource.wolfsonmicro.com \
    --cc=linux-arm-kernel@lists.infradead.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).