RE: kernel2.2.x to kernel2.4.x

Dunlap, Randy (randy.dunlap@intel.com)
Thu, 17 May 2001 12:19:27 -0700


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

~Randy

> -----Original Message-----
> From: jalaja devi [mailto:jala_74@yahoo.com]
>
> How can I handle this from kernel2.2 to kernel2.4
>
> Can I replace like this??
>
> if (test_and_set_bit (0, (void *)&dev->tbusy)){ return
> EBUSY;} ========== with netif_stop_queue (dev);
>
> clear_bit ((void *)&dev->tbusy); ===== with
> netif_start_queue(dev);
>
> Thanks
> Jalaja
>
> --- Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> > > I tried porting a network driver from kernel2.2.x
> > to
> > > 2.4. When i tried loading the driver, it shows the
> > > unresolved symbols for
> > > copy_to_user_ret
> >
> > if(copy_to_user(...))
> > return -EFAULT
> >
> > > outs
> >
> > Has not gone away, your includes are wrong
> >
> > > __bad_udelay
> >
> > You are using too large a udelay use mdelay
> > -
> > To unsubscribe from this list: send the line
> > "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at
> > http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

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