[feisty-2.6.20] ENE CB-712/4 SD card reader patch - working
psyspace
freetekno23 at gmail.com
Wed Jul 11 01:00:41 UTC 2007
Hi there,
Please consider the following patch for proper ENE card reader support,
lots of people complain about it.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Toto je digitálně podepsaná část zprávy
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20070711/268c17c6/attachment.sig>
More information about the kernel-team
mailing list