Re: Porting network driver to 2.4.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux