* no wait queue init in cfi_cmd0002
@ 2005-04-27 7:15 mike lee
0 siblings, 0 replies; only message in thread
From: mike lee @ 2005-04-27 7:15 UTC (permalink / raw)
To: linux-mtd
Dear all
I have added a line to cfi_cmdset_0002.c to solve kernel oops of my mapping driver. Actually, i can not find any init wait queue in cmdset_0002, when i add it back , the problem solved. I get mess because there is no problem when i port another amdflash. Please correct me if i am wrong.
I am using unpatched linux-2.6.10
struct mtd_info *cfi_cmdset_0002(struct map_info *map, int primary)
............
for (i=0; i< cfi->numchips; i++) {
cfi->chips[i].word_write_time = 1<<cfi->cfiq->WordWriteTimeoutTyp;
cfi->chips[i].buffer_write_time = 1<<cfi->cfiq->BufWriteTimeoutTyp;
cfi->chips[i].erase_time = 1<<cfi->cfiq->BlockEraseTimeoutTyp;
init_waitqueue_head(&cfi->chips[i].wq); //line added by mike,11/apr/2005
}
best regard
Mike,Lee
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-27 7:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-27 7:15 no wait queue init in cfi_cmd0002 mike lee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox