summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2007-01-27 15:32:31 +0100
committerPierre Ossman <drzeus@drzeus.cx>2007-02-04 20:54:06 +0100
commit9e9dc5f29f2eb65153a15c4fdb12b4382e3a75b2 (patch)
treeef2145d81ba9a4b40cc975563e7dcb55c9d56de9 /include
parent11354d03afe9dd0d114e078057158baad4b4eee9 (diff)
downloadop-kernel-dev-9e9dc5f29f2eb65153a15c4fdb12b4382e3a75b2.zip
op-kernel-dev-9e9dc5f29f2eb65153a15c4fdb12b4382e3a75b2.tar.gz
mmc: Power quirk for ENE controllers
Support for these devices was broken for 2.6.18-rc1 and later by commit 146ad66eac836c0b976c98f428d73e1f6a75270d, which added voltage level support. This restores the previous behaviour for these devices by ensuring that when the voltage is changed, only one write to set the voltage is performed. It may be that both writes are needed if the voltage is being changed between two non-zero values or that it's safe to ensure that only one write is done if the hardware only supports one voltage; I don't know whether either is the case nor can I test since I have only the one SD reader (1524:0550), and it supports just the one voltage. Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci_ids.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 3d1d210..d37f46a 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1971,6 +1971,7 @@
#define PCI_DEVICE_ID_TOPIC_TP560 0x0000
#define PCI_VENDOR_ID_ENE 0x1524
+#define PCI_DEVICE_ID_ENE_CB712_SD 0x0550
#define PCI_DEVICE_ID_ENE_1211 0x1211
#define PCI_DEVICE_ID_ENE_1225 0x1225
#define PCI_DEVICE_ID_ENE_1410 0x1410
OpenPOWER on IntegriCloud