Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751194AbWIBQsf (ORCPT ); Sat, 2 Sep 2006 12:48:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751195AbWIBQsf (ORCPT ); Sat, 2 Sep 2006 12:48:35 -0400 Received: from smtp.osdl.org ([65.172.181.4]:62106 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1751194AbWIBQse (ORCPT ); Sat, 2 Sep 2006 12:48:34 -0400 Date: Sat, 2 Sep 2006 09:48:18 -0700 From: Andrew Morton To: Pierre Ossman Cc: Alex Dubov , linux-kernel@vger.kernel.org, Greg KH Subject: Re: Support for TI FlashMedia (pci id 104c:8033, 104c:803b) flash card readers Message-Id: <20060902094818.49e5e1b1.akpm@osdl.org> In-Reply-To: <44F967E8.9020503@drzeus.cx> References: <20060902085343.93521.qmail@web36708.mail.mud.yahoo.com> <44F967E8.9020503@drzeus.cx> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2295 Lines: 64 On Sat, 02 Sep 2006 13:15:52 +0200 Pierre Ossman wrote: > Andrew, the stuff meant for you is at the bottom. > Alex Dubov wrote: > > Hi there. > > I've made a couple of fixes to my flashmedia driver > > (http://developer.berlios.de/projects/tifmxx/) to the > > effect of much improved R/W speed in PIO mode and > > writing speed in DMA mode. > > > > The users will be pleased :) > > > I also tried to clean-up reverse engineering mess out > > of the code - it should be more readable now. > > > > Wonderful. Things are looking a lot better. I have a few questions though. > > The constants you've borrowed from OMAP, have you confirmed all of them? > If not, you should add a comment to those that are pure speculation so far. > > tifm_sd_op_flags() still use literals. Could you fix up some defines > there as well? > > tifm_sd_fetch_resp() could be redone as a for loop to make it more > obvious what's going on. Also, please don't put several statements on > one line. > > You should probably rename tifm_sd_set_data_to(). It isn't obvious that > 'to' stands for 'timeout'. Same thing with other instances of 'to'. > > We're also in the process of fixing this dreadfully slow write mess. > What I'd like to see from you is to double check that bytes_xfered is > set to the number of bytes successfully sent to the _card_, not the > controller. This is critical for correct handling of bus errors. > > > Next on my list is MemoryStick functionality. > > > > > > I would suggest finishing this and getting it merged to be your top > priority. There are quite a few people who would like to have this > hardware supported. Which brings me to... > > Andrew, we could use some help with how this driver should fit into the > kernel tree. The hardware is multi-function, so there will be a couple > of drivers, one for every function, and a common part. How has this been > organised in the past? > Greg would be a far better person that I for this. Is it a PCI device? -- VGER BF report: H 0 - 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/