[PATCH] [2.6.23] nand_flash_dev - add manufacturer ID

Egor N. Martovetsky egor at pasemi.com
Thu Jul 5 14:55:29 EDT 2007


Ok.

hopefully there will not be too many manufacturer-specific or 
device-specific
hacks needed in the future.

David Woodhouse wrote:

>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.
>
>  
>


-- 
Egor N. Martovetsky




More information about the linux-mtd mailing list