Explorar o código

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

Add another PCI ID for an Intel eMMC host controller.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Adrian Hunter %!s(int64=9) %!d(string=hai) anos
pai
achega
06bf9c5654
Modificáronse 2 ficheiros con 9 adicións e 0 borrados
  1. 8 0
      drivers/mmc/host/sdhci-pci-core.c
  2. 1 0
      drivers/mmc/host/sdhci-pci.h

+ 8 - 0
drivers/mmc/host/sdhci-pci-core.c

@@ -1108,6 +1108,14 @@ static const struct pci_device_id pci_ids[] = {
 		.driver_data	= (kernel_ulong_t)&sdhci_intel_byt_sd,
 	},
 
+	{
+		.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,

+ 1 - 0
drivers/mmc/host/sdhci-pci.h

@@ -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