[feisty-2.6.20] ENE CB-712/4 SD card reader patch - working

Amit Kucheria amit at ubuntu.com
Wed Jul 11 22:22:32 UTC 2007


On 7/12/07, jonash <freetekno23 at gmail.com> wrote:
>
> 2007/7/11, Amit Kucheria <amit.kucheria at verdurent.com>:
> > On 7/11/07, psyspace <freetekno23 at gmail.com> wrote:
> > > Hi there,
> > >
> > > Please consider the following patch for proper ENE card reader support,
> > > lots of people complain about it.
> >
> > Looks simple enough that it will go into the next kernel release. Has
> > this been pushed upstream?
>
> No

Could you do that? Or request the original author to do it.

Regards,
Amit

> > > diff -ruN linux-source-2.6.20/drivers/mmc/host/sdhci.c
> > > linux-source-2.6.20-patched/drivers/mmc/host/sdhci.c
> > > --- linux-source-2.6.20/drivers/mmc/host/sdhci.c
> 2007-04-12
> > > 19:15:58.000000000 +0200
> > > +++ linux-source-2.6.20-patched/drivers/mmc/host/sdhci.c
>    2007-07-10
> > > 20:37:35.000000000 +0200
> > > @@ -70,6 +70,14 @@
> > >                 .driver_data    = SDHCI_QUIRK_SINGLE_POWER_WRITE,
> > >         },
> > >
> > > +       {
> > > +               .vendor         = PCI_VENDOR_ID_ENE,
> > > +               .device         = PCI_DEVICE_ID_ENE_CB712_SD_2,
> > > +               .subvendor      = PCI_ANY_ID,
> > > +               .subdevice      = PCI_ANY_ID,
> > > +               .driver_data    = SDHCI_QUIRK_SINGLE_POWER_WRITE,
> > > +       },
> > > +
> > >         {       /* Generic SD host controller */
> > >
> PCI_DEVICE_CLASS((PCI_CLASS_SYSTEM_SDHCI << 8), 0xFFFF00)
> > >         },
> > > diff -ruN linux-source-2.6.20/include/linux/pci_ids.h
> > > linux-source-2.6.20-patched/include/linux/pci_ids.h
> > > --- linux-source-2.6.20/include/linux/pci_ids.h 2007-04-12
> > > 19:16: 22.000000000 +0200
> > > +++ linux-source-2.6.20-patched/include/linux/pci_ids.h 2007-07-10
> > > 20:38:41.000000000 +0200
> > > @@ -1987,6 +1987,7 @@
> > >
> > >  #define PCI_VENDOR_ID_ENE              0x1524
> > >  #define PCI_DEVICE_ID_ENE_CB712_SD     0x0550
> > > +#define PCI_DEVICE_ID_ENE_CB712_SD_2   0x0551
> > >  #define PCI_DEVICE_ID_ENE_1211         0x1211
> > >  #define PCI_DEVICE_ID_ENE_1225         0x1225
> > >  #define PCI_DEVICE_ID_ENE_1410         0x1410
> > >
> >
>
>




More information about the kernel-team mailing list