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 *)>tbusy)){ return > EBUSY;} == with

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 *)>tbusy)){ return EBUSY;} == with netif_stop_queue (dev); clear_bit ((void *)>tbusy); = with netif_start_queue(dev); Thanks Jalaja --- Alan Cox <[EMAIL PROTECTED]> wrote:

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-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;} == with

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

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

kernel2.2.x to kernel2.4.x

2001-05-15 Thread jalaja devi
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. Thanks in advance Jalaja

kernel2.2.x to kernel2.4.x

2001-05-15 Thread jalaja devi
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. Thanks in advance Jalaja

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 to unroll