* [PATCH 1/1 V2] mmc: Enable MMC card reader for RICOH [1180:e823] @ 2011-05-26 16:19 Manoj Iyer 2011-05-26 16:19 ` [PATCH] " Manoj Iyer 0 siblings, 1 reply; 5+ messages in thread From: Manoj Iyer @ 2011-05-26 16:19 UTC (permalink / raw) To: linux-kernel; +Cc: linux-mmc, philipl, w.sang Please consider the following patch that enables reading MMC cards on RICOH [1180:e823] card reader. Thanks Manoj Iyer ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] mmc: Enable MMC card reader for RICOH [1180:e823] 2011-05-26 16:19 [PATCH 1/1 V2] mmc: Enable MMC card reader for RICOH [1180:e823] Manoj Iyer @ 2011-05-26 16:19 ` Manoj Iyer 2011-05-27 3:01 ` Chris Ball 0 siblings, 1 reply; 5+ messages in thread From: Manoj Iyer @ 2011-05-26 16:19 UTC (permalink / raw) To: linux-kernel; +Cc: linux-mmc, philipl, w.sang Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com> --- drivers/pci/quirks.c | 2 ++ include/linux/pci_ids.h | 1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index e8a1406..02145e9 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -2761,6 +2761,8 @@ static void ricoh_mmc_fixup_r5c832(struct pci_dev *dev) } DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_R5C832, ricoh_mmc_fixup_r5c832); DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_R5C832, ricoh_mmc_fixup_r5c832); +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_R5CE823, ricoh_mmc_fixup_r5c832); +DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_R5CE823, ricoh_mmc_fixup_r5c832); #endif /*CONFIG_MMC_RICOH_MMC*/ #if defined(CONFIG_DMAR) || defined(CONFIG_INTR_REMAP) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 24787b7..2269dac 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -1537,6 +1537,7 @@ #define PCI_DEVICE_ID_RICOH_RL5C476 0x0476 #define PCI_DEVICE_ID_RICOH_RL5C478 0x0478 #define PCI_DEVICE_ID_RICOH_R5C822 0x0822 +#define PCI_DEVICE_ID_RICOH_R5CE823 0xe823 #define PCI_DEVICE_ID_RICOH_R5C832 0x0832 #define PCI_DEVICE_ID_RICOH_R5C843 0x0843 -- 1.7.4.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] mmc: Enable MMC card reader for RICOH [1180:e823] 2011-05-26 16:19 ` [PATCH] " Manoj Iyer @ 2011-05-27 3:01 ` Chris Ball 2011-05-31 15:01 ` Manoj Iyer 0 siblings, 1 reply; 5+ messages in thread From: Chris Ball @ 2011-05-27 3:01 UTC (permalink / raw) To: Manoj Iyer; +Cc: linux-kernel, linux-mmc, philipl, w.sang Hi Manoj, On Thu, May 26 2011, Manoj Iyer wrote: > Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com> > --- > drivers/pci/quirks.c | 2 ++ > include/linux/pci_ids.h | 1 + > 2 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c > index e8a1406..02145e9 100644 > --- a/drivers/pci/quirks.c > +++ b/drivers/pci/quirks.c > @@ -2761,6 +2761,8 @@ static void ricoh_mmc_fixup_r5c832(struct pci_dev *dev) > } > DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_R5C832, ricoh_mmc_fixup_r5c832); > DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_R5C832, ricoh_mmc_fixup_r5c832); > +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_R5CE823, ricoh_mmc_fixup_r5c832); > +DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_R5CE823, ricoh_mmc_fixup_r5c832); > #endif /*CONFIG_MMC_RICOH_MMC*/ > > #if defined(CONFIG_DMAR) || defined(CONFIG_INTR_REMAP) > diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h > index 24787b7..2269dac 100644 > --- a/include/linux/pci_ids.h > +++ b/include/linux/pci_ids.h > @@ -1537,6 +1537,7 @@ > #define PCI_DEVICE_ID_RICOH_RL5C476 0x0476 > #define PCI_DEVICE_ID_RICOH_RL5C478 0x0478 > #define PCI_DEVICE_ID_RICOH_R5C822 0x0822 > +#define PCI_DEVICE_ID_RICOH_R5CE823 0xe823 > #define PCI_DEVICE_ID_RICOH_R5C832 0x0832 > #define PCI_DEVICE_ID_RICOH_R5C843 0x0843 Do you not need a corresponding entry in drivers/mmc/host/sdhci-pci.c's pci_device_id struct? Thanks, - Chris. -- Chris Ball <cjb@laptop.org> <http://printf.net/> One Laptop Per Child ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mmc: Enable MMC card reader for RICOH [1180:e823] 2011-05-27 3:01 ` Chris Ball @ 2011-05-31 15:01 ` Manoj Iyer 2011-05-31 15:05 ` Chris Ball 0 siblings, 1 reply; 5+ messages in thread From: Manoj Iyer @ 2011-05-31 15:01 UTC (permalink / raw) To: Chris Ball; +Cc: linux-kernel, linux-mmc, philipl, w.sang On Thu, 26 May 2011, Chris Ball wrote: > Hi Manoj, > > On Thu, May 26 2011, Manoj Iyer wrote: >> Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com> >> --- >> drivers/pci/quirks.c | 2 ++ >> include/linux/pci_ids.h | 1 + >> 2 files changed, 3 insertions(+), 0 deletions(-) >> >> diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c >> index e8a1406..02145e9 100644 >> --- a/drivers/pci/quirks.c >> +++ b/drivers/pci/quirks.c >> @@ -2761,6 +2761,8 @@ static void ricoh_mmc_fixup_r5c832(struct pci_dev *dev) >> } >> DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_R5C832, ricoh_mmc_fixup_r5c832); >> DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_R5C832, ricoh_mmc_fixup_r5c832); >> +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_R5CE823, ricoh_mmc_fixup_r5c832); >> +DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_R5CE823, ricoh_mmc_fixup_r5c832); >> #endif /*CONFIG_MMC_RICOH_MMC*/ >> >> #if defined(CONFIG_DMAR) || defined(CONFIG_INTR_REMAP) >> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h >> index 24787b7..2269dac 100644 >> --- a/include/linux/pci_ids.h >> +++ b/include/linux/pci_ids.h >> @@ -1537,6 +1537,7 @@ >> #define PCI_DEVICE_ID_RICOH_RL5C476 0x0476 >> #define PCI_DEVICE_ID_RICOH_RL5C478 0x0478 >> #define PCI_DEVICE_ID_RICOH_R5C822 0x0822 >> +#define PCI_DEVICE_ID_RICOH_R5CE823 0xe823 >> #define PCI_DEVICE_ID_RICOH_R5C832 0x0832 >> #define PCI_DEVICE_ID_RICOH_R5C843 0x0843 > > Do you not need a corresponding entry in drivers/mmc/host/sdhci-pci.c's > pci_device_id struct? > I believe there is an entry there already, introduced by this patch: https://lkml.org/lkml/2011/2/11/309 > Thanks, > > - Chris. > -- > Chris Ball <cjb@laptop.org> <http://printf.net/> > One Laptop Per Child > > -- ==================== Manoj Iyer Ubuntu/Canonical Hardware Enablement ==================== ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mmc: Enable MMC card reader for RICOH [1180:e823] 2011-05-31 15:01 ` Manoj Iyer @ 2011-05-31 15:05 ` Chris Ball 0 siblings, 0 replies; 5+ messages in thread From: Chris Ball @ 2011-05-31 15:05 UTC (permalink / raw) To: Manoj Iyer; +Cc: linux-kernel, linux-mmc, philipl, w.sang Hi, On Tue, May 31 2011, Manoj Iyer wrote: >> Do you not need a corresponding entry in drivers/mmc/host/sdhci-pci.c's >> pci_device_id struct? > > I believe there is an entry there already, introduced by this patch: > https://lkml.org/lkml/2011/2/11/309 I see, thanks; patch is queued for 3.0 with a stable@ tag. - Chris. -- Chris Ball <cjb@laptop.org> <http://printf.net/> One Laptop Per Child ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-05-31 15:05 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-05-26 16:19 [PATCH 1/1 V2] mmc: Enable MMC card reader for RICOH [1180:e823] Manoj Iyer 2011-05-26 16:19 ` [PATCH] " Manoj Iyer 2011-05-27 3:01 ` Chris Ball 2011-05-31 15:01 ` Manoj Iyer 2011-05-31 15:05 ` Chris Ball
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).