public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* nftl via spia nand
@ 2001-07-23 12:37 peter romero
  0 siblings, 0 replies; only message in thread
From: peter romero @ 2001-07-23 12:37 UTC (permalink / raw)
  To: linux-mtd

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@ste-el.de>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-23 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-23 12:37 nftl via spia nand peter romero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox