All of lore.kernel.org
 help / color / mirror / Atom feed
* Additional arguments to <struct nand_chip.hwcontrol> and .dev_ready functions
@ 2003-07-11 14:49 Juergen Beisert
  2003-07-11 15:13 ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: Juergen Beisert @ 2003-07-11 14:49 UTC (permalink / raw)
  To: linux-mtd

Hello all,

I have written a driver for my NAND flash chip application using the mtd 
framework. It works fine when there is only one chip in one memory area 
present.
But if there are more than one NAND chip, you need more than one function for
    struct nand_chip.hwcontrol,
because this function don't know which chips control lines it should change.
Same with
    struct nand_chip.dev_ready.
For which chip it should wait?

Is it possible to add arguments, like a pointer to the struct nand_chip, to 
these functions? Then one of this function could handle more than one chip.

--JB

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-11 15:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-11 14:49 Additional arguments to <struct nand_chip.hwcontrol> and .dev_ready functions Juergen Beisert
2003-07-11 15:13 ` David Woodhouse
2003-07-11 15:47   ` Juergen Beisert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.