]> err.no Git - linux-2.6/commitdiff
sdhci: add ene controller id
authorMilko Krachounov <milko@3mhz.net>
Fri, 18 May 2007 23:18:03 +0000 (01:18 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Mon, 9 Jul 2007 19:23:08 +0000 (21:23 +0200)
ENE has a very weird design where an SDHCI device (0805) is presented
on the PCI bus, but that device is non-functional, and the real device
is hidden as a more generic device.

Signed-off-by: Milko Krachounov <milko@3mhz.net>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/sdhci.c
include/linux/pci_ids.h

index a359efdd77ebda58632a169728e6ce7ba6103d6f..5e9a6ce8355983f4a10d79d0692e7ce8cdf7c013 100644 (file)
@@ -70,6 +70,14 @@ static const struct pci_device_id pci_ids[] __devinitdata = {
                .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)
        },
index 5b1c9994f89a8084646270a584e3b6462eadc38e..75c4d4d068928158bb357885dae780bafad0e92c 100644 (file)
 
 #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