In isl_38xx.c In routine isl38xx_trigger-device Move unnecessary udelay/register read. This is only required when hand-compiling the driver and setting VERBOSE > SHOW_ERROR_MESSAGES
Signed-off-by: Roger While <[EMAIL PROTECTED]>
diff -Naur linux-2.6.15rc1orig/drivers/net/wireless/prism54/isl_38xx.c linux-2.6.15rc1/drivers/net/wireless/prism54/isl_38xx.c --- linux-2.6.15rc1orig/drivers/net/wireless/prism54/isl_38xx.c 2005-11-14 11:34:59.000000000 +0100 +++ linux-2.6.15rc1/drivers/net/wireless/prism54/isl_38xx.c 2005-11-14 11:38:02.000000000 +0100 @@ -164,12 +164,12 @@ /* assert the Wakeup interrupt in the Device Interrupt Register */ isl38xx_w32_flush(device_base, ISL38XX_DEV_INT_WAKEUP, ISL38XX_DEV_INT_REG); + +#if VERBOSE > SHOW_ERROR_MESSAGES udelay(ISL38XX_WRITEIO_DELAY); /* perform another read on the Device Status Register */ reg = readl(device_base + ISL38XX_CTRL_STAT_REG); - -#if VERBOSE > SHOW_ERROR_MESSAGES do_gettimeofday(¤t_time); DEBUG(SHOW_TRACING, "%08li.%08li Device register read %08x\n", current_time.tv_sec, (long)current_time.tv_usec, reg);