lkml.org 
[lkml]   [2001]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Porting network driver to 2.4.0
On Wed, 10 Jan 2001, Richard B. Johnson wrote:

> On Wed, 10 Jan 2001, Jonathan Earle wrote:
>
> > Hey all,
> >
> > Still working with kernel 2.4.0-test9 (other things we use require it for
> > now), and I was looking at a driver for a Znyx zx346q network card that I
> > grabbed from the znyx.com website. The driver is for a 2.2.x kernel, but
> > figuring I'd try it anyway, downloaded and tried to build it. It choked on
> > three struct net_device entries which are no longer present:
> >
> > zxe.c:1200: structure has no member named `tbusy'
> > zxe.c:1201: structure has no member named `interrupt'
> > zxe.c:1202: structure has no member named `start'
> > ...
> > make[2]: *** [zxe.o] Error 1
> >
> > Where do I go from here? Is there info somewhere to help with this? Is
> > this a bigger job than it looks on the surface?
> >
> > Cheers!
> > Jon
>
> You may be lucky. Comment out all references to those structure members
> and see if it works!

I doubt it's possible to get _that_ lucky ;-)

IIRC, this was the conversion from struct device -> struct net_device.
(Also IIRC, interrupt was a 'toss it' item.. grep patches to be sure)

-Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.051 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site