linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Porting network driver to 2.4.0
@ 2001-01-10 20:40 Jonathan Earle
  2001-01-10 20:52 ` Richard B. Johnson
  2001-01-10 21:00 ` Andi Kleen
  0 siblings, 2 replies; 5+ messages in thread
From: Jonathan Earle @ 2001-01-10 20:40 UTC (permalink / raw)
  To: 'Linux Kernel List', 'Linux Network List'

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
-
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/

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

* Re: Porting network driver to 2.4.0
  2001-01-10 20:40 Porting network driver to 2.4.0 Jonathan Earle
@ 2001-01-10 20:52 ` Richard B. Johnson
  2001-01-11  5:43   ` Mike Galbraith
  2001-01-10 21:00 ` Andi Kleen
  1 sibling, 1 reply; 5+ messages in thread
From: Richard B. Johnson @ 2001-01-10 20:52 UTC (permalink / raw)
  To: Jonathan Earle; +Cc: 'Linux Kernel List', 'Linux Network List'

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!


Cheers,
Dick Johnson

Penguin : Linux version 2.4.0 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.


-
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/

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

* Re: Porting network driver to 2.4.0
  2001-01-10 20:40 Porting network driver to 2.4.0 Jonathan Earle
  2001-01-10 20:52 ` Richard B. Johnson
@ 2001-01-10 21:00 ` Andi Kleen
  2001-01-10 22:08   ` Manfred Spraul
  1 sibling, 1 reply; 5+ messages in thread
From: Andi Kleen @ 2001-01-10 21:00 UTC (permalink / raw)
  To: Jonathan Earle; +Cc: 'Linux Kernel List', 'Linux Network List'

On Wed, Jan 10, 2001 at 03:40:50PM -0500, Jonathan Earle wrote:
> 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?


Try http://www.firstfloor.org/~andi/softnet


-Andi
-
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/

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

* Re: Porting network driver to 2.4.0
  2001-01-10 21:00 ` Andi Kleen
@ 2001-01-10 22:08   ` Manfred Spraul
  0 siblings, 0 replies; 5+ messages in thread
From: Manfred Spraul @ 2001-01-10 22:08 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Jonathan Earle, 'Linux Kernel List',
	'Linux Network List'

Andi Kleen wrote:
> 
> On Wed, Jan 10, 2001 at 03:40:50PM -0500, Jonathan Earle wrote:
> > 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?
> 
> Try http://www.firstfloor.org/~andi/softnet
> 

I would ask someone from znxz.

I downloaded their driver, and there are at least a few comments about
2.3 compatibility

(and I also found a 5000 line hardware abstraction layer, and only 9 out
of the 15 kernel files are GPL, the rest is "All rights reserved".
Obiously their Makefile allows to compile the driver statically into the
kernel.)

--
	Manfred
-
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/

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

* Re: Porting network driver to 2.4.0
  2001-01-10 20:52 ` Richard B. Johnson
@ 2001-01-11  5:43   ` Mike Galbraith
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Galbraith @ 2001-01-11  5:43 UTC (permalink / raw)
  To: Richard B. Johnson
  Cc: Jonathan Earle, 'Linux Kernel List',
	'Linux Network List'

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/

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

end of thread, other threads:[~2001-01-11  5:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-10 20:40 Porting network driver to 2.4.0 Jonathan Earle
2001-01-10 20:52 ` Richard B. Johnson
2001-01-11  5:43   ` Mike Galbraith
2001-01-10 21:00 ` Andi Kleen
2001-01-10 22:08   ` Manfred Spraul

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