[Prism54-devel] last checkin islpci_dev.c

Christopher Ruehl Christopher Ruehl <chris.ruehl@wiesbaden.vistec.net>
Tue, 17 Feb 2004 23:39:18 +0100


Hi all,

i read the last changes from islpci_dev.c (1.64) of cause running into 
problems with my RS6000 PPC maschine.

you set the 

 set_current_state(TASK_UNINTERRUPTIBLE);

for your task but this make the schedule_timeout() call return 
allways "0"

and 

 remaining = schedule_timeout(HZ); (near to line 379)
 if(remaining > 0) 

never reach the inner state!

the result code will ever be -ETIME
and the loader return uncomplete.

IMHO, the 
  set_current_state(TASK_INTERRUPTIBLE)
will be work better .. ? iam wrong?

greets chris


-- 
------------------------------------------------------------------------
  o.o 
  'v'    
 /   \  It's your choice - i use LINUX
  ~ ~ 
------------------------------------------------------------------------