From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-out.m-online.net ([212.18.0.10]) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1LKyEi-0004Qe-6D for linux-mtd@lists.infradead.org; Thu, 08 Jan 2009 17:00:00 +0000 Message-ID: <4966310C.1010103@grandegger.com> Date: Thu, 08 Jan 2009 17:59:56 +0100 From: Wolfgang Grandegger MIME-Version: 1.0 To: David Woodhouse Subject: Re: [PATCH] CFI: remove major/minor version check for command set 0x0002 References: <496624A4.3050808@grandegger.com> <1231433317.28362.77.camel@macbook.infradead.org> In-Reply-To: <1231433317.28362.77.camel@macbook.infradead.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org, Nicolas Pitre List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , David Woodhouse wrote: > On Thu, 2009-01-08 at 11:47 -0500, Nicolas Pitre wrote: >>> The NOR Flash memory K8P2815UQB from Samsung uses the major version >>> number '0', which seems to be unusual but not illegal, IIUC. This >>> patch removes the major-minor version check to get this Flash memory >>> supported as well. >> Instead of removing the test entirely, I'd suggest you augment it with >> the manufacturer ID (cfi->mfr and cfi->id). Or better yet, just use >> that information to fix up the version number to something sensible. > > Couldn't you use a quirk to do the latter? The major/minor version number is not used anywhere else and therefore a quirk seems to be overkill too me. But we may want to keep the message: Unknown Amd/Fujitsu Extended Query version 0.0. Wolfgang.