Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750835AbVKJNKX (ORCPT ); Thu, 10 Nov 2005 08:10:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750833AbVKJNKX (ORCPT ); Thu, 10 Nov 2005 08:10:23 -0500 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:22759 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S1750835AbVKJNKV (ORCPT ); Thu, 10 Nov 2005 08:10:21 -0500 Date: Thu, 10 Nov 2005 14:09:30 +0100 From: Pavel Machek To: David Vrabel Cc: David Woodhouse , linux-mtd@lists.infradead.org, kernel list Subject: Re: latest mtd changes broke collie Message-ID: <20051110130930.GJ2401@elf.ucw.cz> References: <20051109221712.GA28385@elf.ucw.cz> <4372B7A8.5060904@mvista.com> <20051110095050.GC2021@elf.ucw.cz> <1131616948.27347.174.camel@baythorne.infradead.org> <20051110103823.GB2401@elf.ucw.cz> <1131619903.27347.177.camel@baythorne.infradead.org> <20051110105954.GE2401@elf.ucw.cz> <1131621090.27347.184.camel@baythorne.infradead.org> <20051110120708.GG2401@elf.ucw.cz> <437344E0.9040502@cantab.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <437344E0.9040502@cantab.net> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1184 Lines: 36 Hi! > > Ok, I got a little bit more forward. > > > > I created entry like this: > > { > > .mfr_id = 0x00b0, > > .dev_id = 0x00b0, > > .name = "Collie hack", > > .uaddr = { > > [0] = MTD_UADDR_UNNECESSARY, /* x8 */ > > }, > > .DevSize = SIZE_4MiB, > > .CmdSet = P_ID_INTEL_EXT, > > .NumEraseRegions= 1, > > .regions = { > > ERASEINFO(0x10000,8), > > } > > } > > > > (Which is probably wrong, I just made up the data) > > Shouldn't you get hold of the datasheet for the flash chips and fill in > this information correctly? I already have working sharp.c driver... And I do not even know manufacturer of the chip, just its ids. Pavel -- Thanks, Sharp! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/