This patch enables RICOH MMC card reader with pci id 0xe823.
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
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
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
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