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

2001-05-17 Thread Dunlap, Randy
see http://www.firstfloor.org/~andi/softnet/ ~Randy > -Original Message- > From: jalaja devi [mailto:[EMAIL PROTECTED]] > > 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;} ==

Re: kernel2.2.x to kernel2.4.x

2001-05-17 Thread jalaja devi
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 <[EMAIL PROTECTED]

Re: kernel2.2.x to kernel2.4.x

2001-05-16 Thread Alan Cox
> 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

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

2001-05-15 Thread Dunlap, Randy
> From: jalaja devi [mailto:[EMAIL PROTECTED]] > > 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 > outs > __bad_udelay > > Could anyone please tell me the corresponding fxns in 2.4. You need