Skip to contentSkip to conversation

mmc: sdhci-pci: Add another PCI ID for an Intel eMMC host controller

PATCH Applied Adrian Hunter 2 participants 2 messages Oct 6, 2015 – Oct 8, 2015

Subsystems (2)
lore
Share & tools
lore

Adrian Hunter

author maintainer
#0 lore raw

PATCH 1/1 mmc: sdhci-pci: Add another PCI ID for an Intel eMMC host controller

Add another PCI ID for an Intel eMMC host controller.

---
 drivers/mmc/host/sdhci-pci.c | 8 ++++++++
 drivers/mmc/host/sdhci-pci.h | 1 +
 2 files changed, 9 insertions(+)
drivers/mmc/host/sdhci-pci.c +8 -0
index b3b0a3e4fca1..7ccd4220076c 100644
@@ -1113,6 +1113,14 @@ static const struct pci_device_id pci_ids[] = {
 	},
 
 	{
+		.vendor		= PCI_VENDOR_ID_INTEL,
+		.device		= PCI_DEVICE_ID_INTEL_DNV_EMMC,
+		.subvendor	= PCI_ANY_ID,
+		.subdevice	= PCI_ANY_ID,
+		.driver_data	= (kernel_ulong_t)&sdhci_intel_byt_emmc,
+	},
+
+	{
 		.vendor		= PCI_VENDOR_ID_O2,
 		.device		= PCI_DEVICE_ID_O2_8120,
 		.subvendor	= PCI_ANY_ID,
drivers/mmc/host/sdhci-pci.h +1 -0
index 541f1cad5247..cd4f4d74377e 100644
@@ -24,6 +24,7 @@
 #define PCI_DEVICE_ID_INTEL_SPT_EMMC	0x9d2b
 #define PCI_DEVICE_ID_INTEL_SPT_SDIO	0x9d2c
 #define PCI_DEVICE_ID_INTEL_SPT_SD	0x9d2d
+#define PCI_DEVICE_ID_INTEL_DNV_EMMC	0x19db
 
 /*
  * PCI registers
Signature · 1 line
1.9.1
Applied
#1 lore raw
Quoted 3 lines · Adrian Hunter

Add another PCI ID for an Intel eMMC host controller.

Thanks, applied for next.

I fixed the rebase myself, as drivers/mmc/host/sdhci-pci.c were renamed to drivers/mmc/host/sdhci-pci-core.c earlier.

Kind regards
Uffe

Quoted 39 lines
---
 drivers/mmc/host/sdhci-pci.c | 8 ++++++++
 drivers/mmc/host/sdhci-pci.h | 1 +
 2 files changed, 9 insertions(+)
drivers/mmc/host/sdhci-pci.c +8 -0
index b3b0a3e4fca1..7ccd4220076c 100644
@@ -1113,6 +1113,14 @@ static const struct pci_device_id pci_ids[] = {
        },
 
        {
+               .vendor         = PCI_VENDOR_ID_INTEL,
+               .device         = PCI_DEVICE_ID_INTEL_DNV_EMMC,
+               .subvendor      = PCI_ANY_ID,
+               .subdevice      = PCI_ANY_ID,
+               .driver_data    = (kernel_ulong_t)&sdhci_intel_byt_emmc,
+       },
+
+       {
                .vendor         = PCI_VENDOR_ID_O2,
                .device         = PCI_DEVICE_ID_O2_8120,
                .subvendor      = PCI_ANY_ID,
drivers/mmc/host/sdhci-pci.h +1 -1
index 541f1cad5247..cd4f4d74377e 100644
@@ -24,6 +24,7 @@
 #define PCI_DEVICE_ID_INTEL_SPT_EMMC   0x9d2b
 #define PCI_DEVICE_ID_INTEL_SPT_SDIO   0x9d2c
 #define PCI_DEVICE_ID_INTEL_SPT_SD     0x9d2d
+#define PCI_DEVICE_ID_INTEL_DNV_EMMC   0x19db
 
 /*
  * PCI registers
--

1.9.1