From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp102.sbc.mail.mud.yahoo.com ([68.142.198.201]) by canuck.infradead.org with smtp (Exim 4.62 #1 (Red Hat Linux)) id 1FuzYH-0005UG-5D for linux-mtd@lists.infradead.org; Mon, 26 Jun 2006 18:27:39 -0400 From: David Brownell To: "Josh Boyer" Subject: Re: DataFlash & writesize Date: Mon, 26 Jun 2006 15:27:25 -0700 References: <4497A89F.4010202@yandex.ru> <200606261333.11632.david-b@pacbell.net> <625fc13d0606261442p605d2291q5ec4b0ad4868e7b3@mail.gmail.com> In-Reply-To: <625fc13d0606261442p605d2291q5ec4b0ad4868e7b3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606261527.25777.david-b@pacbell.net> Cc: "Artem B. Bityutskiy" , Linux MTD List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Monday 26 June 2006 2:42 pm, Josh Boyer wrote: > On 6/26/06, David Brownell wrote: > > On Friday 23 June 2006 3:43 am, Artem B. Bityutskiy wrote: > > > On Fri, 2006-06-23 at 12:27 +0200, Andrew Victor wrote: > > > > Since the writesize change is now in mainline git, here is a trivial > > > > patch to set mtd->writesize for DataFlash. > > > > [writesize = erasesize = pagesize] > > > > > > > > > > Andrew, > > > > > > I made the same yesterday and it is in GIT, but thank you anyway! > > > > What are the intended semantics for "writesize" by the way? ? > > I noticed I was getting that first BUG_ON in mtdcore:add_mtd_device > > since, with NOR CFI cmdset 1 flash, with current GIT. Seems like > > writesie should have been set up already. > > Which git tree and when? Kernel.org GIT tree, pulled yesterday. > That was a bug that should have been fixed > last week in the mtd-2.6.git tree. And it should also go to Linus > ASAP. > > josh >