lkml.org 
[lkml]   [2001]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: kernel2.2.x to kernel2.4.x
Date
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/

\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.049 / U:1.388 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site