On Mon, 01 Feb 2010 12:24:37 -0800 akpm@xxxxxxxxxxxxxxxxxxxx wrote: > > The patch titled > ricoh_mmc-port-from-driver-to-pci-quirk-update > has been added to the -mm tree. Its filename is > ricoh_mmc-port-from-driver-to-pci-quirk-update.patch > > Before you just go and hit "reply", please: > a) Consider who else should be cc'ed > b) Prefer to cc a suitable mailing list as well > c) Ideally: find the original patch on the mailing list and do a > reply-to-all to that, adding suitable additional cc's > > *** Remember to use Documentation/SubmitChecklist when testing your > code *** > > See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find > out what to do about this > > The current -mm tree may be found at > http://userweb.kernel.org/~akpm/mmotm/ > > ------------------------------------------------------ > Subject: ricoh_mmc-port-from-driver-to-pci-quirk-update > From: Maxim Levitsky <maximlevitsky@xxxxxxxxx> > > This patch solves nasty problem original driver had. > Original goal of the ricoh_mmc, was to disable this device because > then, mmc cards can be read using standard SDHCI controller, > thus avoiding the need in 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 executed before the pci is enumerated, and > therefore solve that issue, also the same is preformed 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 > > Signed-off-by: Maxim Levitsky <maximlevitsky@xxxxxxxxx> > Cc: Philip Langdale <philipl@xxxxxxxxx> > Cc: Wolfram Sang <w.sang@xxxxxxxxxxxxxx> > Cc: <linux-mmc@xxxxxxxxxxxxxxx> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Acked-by: Philip Langdale <philipl@xxxxxxxxx> --phil -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html