[PATCH 4/4] drivers/net/sis900.c: Replacing yield() with a better alternative

2006-10-11 Thread Amol Lad
*Please check if timeout should be increased* Signed-off-by: Amol Lad <[EMAIL PROTECTED]> --- diff -uprN -X linux-2.6.19-rc1-orig/Documentation/dontdiff linux-2.6.19-rc1-orig/drivers/net/wireless/hostap/hostap_hw.c linux-2.6.19-rc1/drivers/net/wireless/hostap/hostap_hw.c --- linux-2.6.

[PATCH 1/4] drivers/net/depca.c: Replacing yield() with a better alternative

2006-10-11 Thread Amol Lad
le_timeout(). For this driver schedule_timeout_interruptible seems to be a better alternative Tested compile only Signed-off-by: Amol Lad <[EMAIL PROTECTED]> --- diff -uprN -X linux-2.6.19-rc1-orig/Documentation/dontdiff linux-2.6.19-rc1-orig/drivers/net/depca.c linux-2.6.19-rc1/drivers/net/depca.c -

[PATCH 2/4] drivers/net/sb1000.c: Replacing yield() with a better alternative

2006-10-11 Thread Amol Lad
cond_resched() seems to be a better alternative Signed-off-by: Amol Lad <[EMAIL PROTECTED]> --- diff -uprN -X linux-2.6.19-rc1-orig/Documentation/dontdiff linux-2.6.19-rc1-orig/drivers/net/sb1000.c linux-2.6.19-rc1/drivers/net/sb1000.c --- linux-2.6.19-rc1-orig/drivers/net/sb1000.c 2006

[PATCH 3/4] drivers/net/sis900.c: Replacing yield() with a better alternative

2006-10-11 Thread Amol Lad
*Please check if the timout value is ok or it should be increased* Signed-off-by: Amol Lad <[EMAIL PROTECTED]> --- diff -uprN -X linux-2.6.19-rc1-orig/Documentation/dontdiff linux-2.6.19-rc1-orig/drivers/net/sis900.c linux-2.6.19-rc1/drivers/net/sis900.c --- linux-2.6.19-rc1-orig/drive

[PATCH] drivers/net/depca.c: Replacing yield with a better function

2006-10-09 Thread Amol Lad
The change removes the 'manual' schedule_timeout and replaces it with schedule_timeout_uninterruptible Tested compile only with allmodconfig Signed-off-by: Amol Lad <[EMAIL PROTECTED]> --- depca.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) --- --- linux

[PATCH] ioremap balanced with iounmap for drivers/net

2006-09-24 Thread Amol Lad
Incorporated Auke's comments ioremap must be balanced by an iounmap and failing to do so can result in a memory leak. Tested (compilation only) with: - allmodconfig - Modifying drivers/net/Kconfig to make sure that the changed file is compiling without warning Signed-off-by: Amol Lad &l

[PATCH] ioremap balance with iounmap for drivers/net]

2006-09-24 Thread Amol Lad
ioremap must be balanced by an iounmap and failing to do so can result in a memory leak. Tested (compilation only) with: - allmodconfig - Modifying drivers/net/Kconfig to make sure that the changed file is compiling without warning Signed-off-by: Amol Lad <[EMAIL PROTECTED]> --- I