Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7de064eb authored by Milko Krachounov's avatar Milko Krachounov Committed by Pierre Ossman
Browse files

sdhci: add ene controller id



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: default avatarMilko Krachounov <milko@3mhz.net>
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 98ccf149
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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)
	},
+1 −0
Original line number Diff line number Diff line
@@ -2000,6 +2000,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