All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Haynes <simon@baydel.com>
To: linuxppc-embedded@ozlabs.org
Subject: ibm emac driver update
Date: Mon, 12 Dec 2005 17:26:34 +0000	[thread overview]
Message-ID: <200512121726.34944.simon@baydel.com> (raw)

I am running a Ebony board with linux-2.6.12-rc1 and I amd having intermittent 
network problems. Having searched the archives it would seem that the driver
for the IBM EMAC is buggy ? 

I have tried to patch my kernel with 

http://kernel.ebsname.net/emac/4xx_napi_emac.diff

I believe this is almost a total driver re-write. Is this correct ?

After having a couple of problems applying the patch, Kconfig and 
ibm_emac_core.c. I fixed up the original code and applied the patch.

On compilation the build fails with missing references to kzalloc,
which I guess I could easily fix with kmalloc and memset. 

However there is also an undefined field,  dcr_base, in the ocp_func_mal_data
structure.  This structure appears to be defined in include/asm/ibm_ocp.h and 
this file does not appear to be changed by the patch. I guess this patch is 
for a later kernel.

Can anyone point me in the direction of a suitable patch for this kernel ?

Many Thanks

Simon.

             reply	other threads:[~2005-12-12 18:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-12 17:26 Simon Haynes [this message]
2005-12-12 18:14 ` ibm emac driver update Eugene Surovegin
2005-12-13 14:35   ` Simon Haynes
2005-12-13 18:44   ` Simon Haynes
2005-12-12 20:40 ` Wolfgang Denk
2005-12-13  1:54   ` How to add external 16550 to TQM850L board? zhou.yutao

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=200512121726.34944.simon@baydel.com \
    --to=simon@baydel.com \
    --cc=linuxppc-embedded@ozlabs.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.