2011-02-11 22:25:57

by Manoj Iyer

[permalink] [raw]
Subject: [Patch] mmc: add ricoh 0xe823 pci id


This patch enables RICOH MMC card reader with pci id 0xe823.


2011-02-11 22:26:07

by Manoj Iyer

[permalink] [raw]
Subject: [PATCH] mmc: add ricoh e823 pci id

Signed-off-by: Manoj Iyer <[email protected]>
---
drivers/mmc/host/sdhci-pci.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index 0dc905b..f7e622c 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -547,6 +547,14 @@ static const struct pci_device_id pci_ids[] __devinitdata = {
},

{
+ .vendor = PCI_VENDOR_ID_RICOH,
+ .device = 0xe823,
+ .subvendor = PCI_ANY_ID,
+ .subdevice = PCI_ANY_ID,
+ .driver_data = (kernel_ulong_t)&sdhci_ricoh_mmc,
+ },
+
+ {
.vendor = PCI_VENDOR_ID_ENE,
.device = PCI_DEVICE_ID_ENE_CB712_SD,
.subvendor = PCI_ANY_ID,
--
1.7.1

2011-02-11 22:42:36

by Chris Ball

[permalink] [raw]
Subject: Re: [PATCH] mmc: add ricoh e823 pci id

Hi Manoj,

On Fri, Feb 11, 2011 at 04:25:31PM -0600, Manoj Iyer wrote:
> Signed-off-by: Manoj Iyer <[email protected]>
> ---
> drivers/mmc/host/sdhci-pci.c | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
> index 0dc905b..f7e622c 100644
> --- a/drivers/mmc/host/sdhci-pci.c
> +++ b/drivers/mmc/host/sdhci-pci.c
> @@ -547,6 +547,14 @@ static const struct pci_device_id pci_ids[] __devinitdata = {
> },
>
> {
> + .vendor = PCI_VENDOR_ID_RICOH,
> + .device = 0xe823,
> + .subvendor = PCI_ANY_ID,
> + .subdevice = PCI_ANY_ID,
> + .driver_data = (kernel_ulong_t)&sdhci_ricoh_mmc,
> + },
> +
> + {
> .vendor = PCI_VENDOR_ID_ENE,
> .device = PCI_DEVICE_ID_ENE_CB712_SD,
> .subvendor = PCI_ANY_ID,

Thanks, pushed to mmc-next for .39.

--
Chris Ball <[email protected]> <http://printf.net/>
One Laptop Per Child

2011-02-12 17:29:37

by Arnd Bergmann

[permalink] [raw]
Subject: Re: [PATCH] mmc: add ricoh e823 pci id

On Friday 11 February 2011 23:42:34 Chris Ball wrote:
> >
> > {
> > + .vendor = PCI_VENDOR_ID_RICOH,
> > + .device = 0xe823,
> > + .subvendor = PCI_ANY_ID,
> > + .subdevice = PCI_ANY_ID,
> > + .driver_data = (kernel_ulong_t)&sdhci_ricoh_mmc,
> > + },
> > +
> > + {
> > .vendor = PCI_VENDOR_ID_ENE,
> > .device = PCI_DEVICE_ID_ENE_CB712_SD,
> > .subvendor = PCI_ANY_ID,
>
> Thanks, pushed to mmc-next for .39.

Wouldn't this be a candidate for -stable as well?

Arnd

2011-02-12 17:34:17

by Chris Ball

[permalink] [raw]
Subject: Re: [PATCH] mmc: add ricoh e823 pci id

On Sat, Feb 12, 2011 at 06:29:26PM +0100, Arnd Bergmann wrote:
> On Friday 11 February 2011 23:42:34 Chris Ball wrote:
> > >
> > > {
> > > + .vendor = PCI_VENDOR_ID_RICOH,
> > > + .device = 0xe823,
> > > + .subvendor = PCI_ANY_ID,
> > > + .subdevice = PCI_ANY_ID,
> > > + .driver_data = (kernel_ulong_t)&sdhci_ricoh_mmc,
> > > + },
> > > +
> > > + {
> > > .vendor = PCI_VENDOR_ID_ENE,
> > > .device = PCI_DEVICE_ID_ENE_CB712_SD,
> > > .subvendor = PCI_ANY_ID,
> >
> > Thanks, pushed to mmc-next for .39.
>
> Wouldn't this be a candidate for -stable as well?

Yes, makes sense, will add a stable tag. Thanks,

--
Chris Ball <[email protected]> <http://printf.net/>
One Laptop Per Child