[PATCH] [2.6.23] nand_flash_dev - add manufacturer ID

David Woodhouse dwmw2 at infradead.org
Thu Jul 5 14:03:57 EDT 2007


On Thu, 2007-07-05 at 10:44 -0700, Egor N. Martovetsky wrote:
> Right now, there is no way to uniquely identify the device and assign
> options to it.  I saw that as a potential future problem.  Instead of
> adding code to nand_get_flash_type() to special treat our device, I
> thought it would be better to provide a general mechanism, which can
> be used to prevent this in the future.  This only affects the flashes
> that need to be special cased.  For the rest of them, manufacturer ID
> is not specified and the match occurs purely on Device ID - as
> before. 

Yeah, I can see the sense in what you're saying. I'm dubious about
having to duplicate various chip idents just to give separate options
though, when a single entry in the table along with some
manufacturer-specific code to mask out/in certain features would do the
same thing.

-- 
dwmw2




More information about the linux-mtd mailing list