Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753765Ab0AHQQU (ORCPT ); Fri, 8 Jan 2010 11:16:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753679Ab0AHQQU (ORCPT ); Fri, 8 Jan 2010 11:16:20 -0500 Received: from usul.overt.org ([204.11.33.43]:39153 "EHLO usul.overt.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753671Ab0AHQQT (ORCPT ); Fri, 8 Jan 2010 11:16:19 -0500 X-Greylist: delayed 2163 seconds by postgrey-1.27 at vger.kernel.org; Fri, 08 Jan 2010 11:16:19 EST Date: Fri, 8 Jan 2010 07:40:01 -0800 From: Philip Langdale To: Maxim Levitsky Cc: Andrew Morton , Pierre Ossman , linux-kernel Subject: Re: [PATCH v2] port ricoh_mmc to be pci quirk Message-ID: <20100108074001.5df6c997@fido2.homeip.net> In-Reply-To: <1262964284.12577.27.camel@maxim-laptop> References: <1259021583.16650.9.camel@maxim-laptop> <20091123162119.3777e14d@fido2.homeip.net> <1259160947.10147.1.camel@maxim-laptop> <1259161121.10147.4.camel@maxim-laptop> <20091125085324.1ef9ae1f@fido2.homeip.net> <20091125113501.1f4d42b9.akpm@linux-foundation.org> <1259192401.15916.48.camel@maxim-laptop> <20091125173019.74d0ddb9@fido2.homeip.net> <1259279520.3991.5.camel@maxim-laptop> <1259279584.3991.6.camel@maxim-laptop> <20091126235551.2db699e3@fido2.homeip.net> <1262964284.12577.27.camel@maxim-laptop> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.18.3; i486-slackware-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Do-Not-RunX1: Yes Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1967 Lines: 48 On Fri, 08 Jan 2010 17:24:44 +0200 Maxim Levitsky wrote: > On Thu, 2009-11-26 at 23:55 -0800, Philip Langdale wrote: > > On Fri, 27 Nov 2009 01:53:04 +0200 > > Maxim Levitsky wrote: > > > > > >From 2d3002e29c329d76ca4e26d9f427814151a9648c Mon Sep 17 00:00:00 > > > >2001 > > > From: Maxim Levitsky > > > Date: Fri, 27 Nov 2009 00:53:28 +0200 > > > Subject: [PATCH] port ricoh_mmc to be pci quirk > > > > > > This patch solves nasty problem original driver has. > > > Original goal of the ricoh_mmc was to disable this device because > > > then, mmc cards can be read using standard SDHCI controller, > > > thus avoiding writing of yet another driver. > > > However, the act of disablement, makes other pci functions that > > > belong to this controller (xD and memstick) shift up one level, > > > thus pci core has now wrong idea about these devices. > > > > > > To fix this issue, this patch moves the driver into pci quirk > > > section, thus it is executes before the pci is enumerated, and > > > therefore solving that issue, also same sequence of commands is > > > performed on resume for same reasons. > > > > > > Also regardless of the above, this way is cleaner. > > > > > > You still need to set CONFIG_MMC_RICOH_MMC > > > to enable this quirk > > > > I like it. Only comment is that I'd like the printks to identify > > which controller is involved. If Andrew is happy with the CONFIG > > mechanism, then you've got an ack from me. > > > > Thanks for doing this. > > Hi, do you plan to include this patch in the kernel? That's Andrew's call, but to the extent that my opinion matters, I support it being included. --phil -- 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/