linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ibm emac driver update
@ 2005-12-12 17:26 Simon Haynes
  2005-12-12 18:14 ` Eugene Surovegin
  2005-12-12 20:40 ` Wolfgang Denk
  0 siblings, 2 replies; 6+ messages in thread
From: Simon Haynes @ 2005-12-12 17:26 UTC (permalink / raw)
  To: linuxppc-embedded

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-12-13 17:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-12 17:26 ibm emac driver update Simon Haynes
2005-12-12 18:14 ` 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

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).