Skip to contentSkip to conversation

nftl via spia nand

DISCUSSION peter romero 1 participant 1 message Jul 23, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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 <[email protected]>