From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Hunter Subject: Re: [RFC] [PATCH 1/2] mmc: split mmc_sd_init_card() Date: Thu, 03 Jun 2010 12:23:52 +0300 Message-ID: <4C0774A8.2030704@nokia.com> References: <1-1000-12432-1274803827-7569@rere.qmqm.pl> <20100528144027.3c868841.akpm@linux-foundation.org> <20100531155846.GA9493@rere.qmqm.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from smtp.nokia.com ([192.100.122.230]:44764 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751850Ab0FCJYN (ORCPT ); Thu, 3 Jun 2010 05:24:13 -0400 In-Reply-To: <20100531155846.GA9493@rere.qmqm.pl> Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: =?ISO-8859-2?Q?Micha=B3_Miros=B3aw?= Cc: Andrew Morton , "linux-mmc@vger.kernel.org" , "linux-kernel@vger.kernel.org" Micha=B3 Miros=B3aw wrote: > Thanks for your review! >=20 > On Fri, May 28, 2010 at 02:40:27PM -0700, Andrew Morton wrote: >> On Tue, 25 May 2010 18:10:28 +0200 (CEST) >> Micha__ Miros__aw wrote: >>> This is needed to avoid code duplication in SD-combo support. >> hm. Perhaps you could have told us a bit more about it than this. >>> +int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid) >>> +int mmc_sd_get_csd(struct mmc_host *host, struct mmc_card *card) >>> +int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card= , >>> +unsigned mmc_sd_get_max_clock(struct mmc_card *card) >>> +void mmc_sd_go_highspeed(struct mmc_card *card) >> These are global symbols, but they are not exported to (other) modul= es. >> That's odd. I'd have expected to see them either `static' or >> EXPORT_MODULE()d. >=20 > This is all contained in mmc_core.ko and needs not be exported to oth= er > modules. A SD-combo card is a SD (memory) and SDIO in one package - t= he > only changes needed are in initialization sequence, after which both > parts are mostly independent. That is a bit vague. An SD card is a memory. An SDIO "card" is an I/O connection made using the same physical interface as an SD card and a very similar protocal to SD cards (at least with respect to reading and writing). I do not understand how a card can be SD and SDIO. Are you sure you are not talking about a controller that support= s SD and SDIO? A lot of controllers do that. >=20 >> I'll take the lack of a signed-off-by: and the "RFC" as signal to no= t >> apply these patches. >=20 > I would like for this to get tested by other people first, but it loo= ks > like not many kernel developers use SD combo cards. >=20 > I'll resend the patches after applying your suggestions from the othe= r > mail. >=20 > Best Regards, > Micha=B3 Miros=B3aw >=20 > -- > To unsubscribe from this list: send the line "unsubscribe linux-mmc" = in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >=20