All pastes #615827 Raw Edit

Jon Svato

public c v1 · immutable
·published 2007-07-12 09:42 UTC
rendered paste body
/*A patch for proper ENE CB-712/4 SD card reader support.*/diff -ruN linux-source-2.6.20/drivers/mmc/host/sdhci.clinux-source-2.6.20-patched/drivers/mmc/host/sdhci.c--- linux-source-2.6.20/drivers/mmc/host/sdhci.c        2007-04-1219:15:58.000000000 +0200+++ linux-source-2.6.20-patched/drivers/mmc/host/sdhci.c        2007-07-1020: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.hlinux-source-2.6.20-patched/include/linux/pci_ids.h--- linux-source-2.6.20/include/linux/pci_ids.h 2007-04-1219:16:22.000000000 +0200+++ linux-source-2.6.20-patched/include/linux/pci_ids.h 2007-07-1020: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