nftl via spia nand

peter romero promero at ste-el.de
Mon Jul 23 08:37:11 EDT 2001


Hi,

I try to get NFTL via nand (spia.c) on running.

The access is via adress databus and I/O controll.

Who init this->wq ? 
I did it in spia with "init_waitqueue_head(&this->wq);"!

Is the SPIA board a Multiprocessor Board ? 
why spin_lock_bh ?

when i start schedul in nand.c :
 ..
 ..
 default:
         set_current_state (TASK_UNINTERRUPTIBLE);
         add_wait_queue (&this->wq, &wait);
         spin_unlock_bh (&this->chip_lock);
-                schedule();

         remove_wait_queue (&this->wq, &wait);
         goto retry;
 };

who wakes it up???

thanks in advance....

romero <promero at ste-el.de>





More information about the linux-mtd mailing list