Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754508AbYFTRIo (ORCPT ); Fri, 20 Jun 2008 13:08:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753906AbYFTRIh (ORCPT ); Fri, 20 Jun 2008 13:08:37 -0400 Received: from server.drzeus.cx ([85.8.24.28]:48621 "EHLO smtp.drzeus.cx" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753568AbYFTRIh (ORCPT ); Fri, 20 Jun 2008 13:08:37 -0400 Date: Fri, 20 Jun 2008 19:08:33 +0200 From: Pierre Ossman To: Ben Dooks Cc: linux-kernel@vger.kernel.org, Ben Dooks Subject: Re: MMC: card test driver should not be builtin with other card support Message-ID: <20080620190833.04e664d5@mjolnir.drzeus.cx> In-Reply-To: <20080620110115.GB21835@fluff.org.uk> References: <20080620105802.173598466@fluff.org.uk> <20080620110115.GB21835@fluff.org.uk> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.13.3; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1250 Lines: 33 On Fri, 20 Jun 2008 12:01:15 +0100 Ben Dooks wrote: > On Fri, Jun 20, 2008 at 11:58:02AM +0100, ben@fluff.org.uk wrote: > > The mmc test driver and mmc block driver will attempt to bind > > to any card present in the system, which means only one of these > > drivers will end up with the card. If either one of these is selected > > as builtin, ensure the other does not get built. > > > > This is what I would have liked to have done in Kconfig, but of course > the system fails with a circular dependency error. Is there any way > to get this done without some horrible hacks? > AFAIK, you can manually control the driver binding using sysfs. Should be solvable for the rootfs case using an initrd. Rgds -- -- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org rdesktop, core developer http://www.rdesktop.org WARNING: This correspondence is being monitored by the Swedish government. Use end-to-end encryption where possible. -- 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/