diff mbox

[1/1] mmc: sdhci-pci: add another device id

Message ID 1371722279-16975-2-git-send-email-adrian.hunter@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Adrian Hunter June 20, 2013, 9:57 a.m. UTC
Add another PCI device id for an eMMC host controller.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
---
 drivers/mmc/host/sdhci-pci.c | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Chris Ball June 27, 2013, 4:06 p.m. UTC | #1
Hi Adrian,

On Thu, Jun 20 2013, Adrian Hunter wrote:
> Add another PCI device id for an eMMC host controller.
>
> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
> ---
>  drivers/mmc/host/sdhci-pci.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
> index e082fac..d7d6bc8 100644
> --- a/drivers/mmc/host/sdhci-pci.c
> +++ b/drivers/mmc/host/sdhci-pci.c
> @@ -36,6 +36,7 @@
>  #define PCI_DEVICE_ID_INTEL_BYT_EMMC	0x0f14
>  #define PCI_DEVICE_ID_INTEL_BYT_SDIO	0x0f15
>  #define PCI_DEVICE_ID_INTEL_BYT_SD	0x0f16
> +#define PCI_DEVICE_ID_INTEL_BYT_EMMC2	0x0f50
>  
>  /*
>   * PCI registers
> @@ -931,6 +932,14 @@ static const struct pci_device_id pci_ids[] = {
>  	},
>  
>  	{
> +		.vendor		= PCI_VENDOR_ID_INTEL,
> +		.device		= PCI_DEVICE_ID_INTEL_BYT_EMMC2,
> +		.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,

Thanks, pushed to mmc-next for 3.11.

- Chris.
diff mbox

Patch

diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index e082fac..d7d6bc8 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -36,6 +36,7 @@ 
 #define PCI_DEVICE_ID_INTEL_BYT_EMMC	0x0f14
 #define PCI_DEVICE_ID_INTEL_BYT_SDIO	0x0f15
 #define PCI_DEVICE_ID_INTEL_BYT_SD	0x0f16
+#define PCI_DEVICE_ID_INTEL_BYT_EMMC2	0x0f50
 
 /*
  * PCI registers
@@ -931,6 +932,14 @@  static const struct pci_device_id pci_ids[] = {
 	},
 
 	{
+		.vendor		= PCI_VENDOR_ID_INTEL,
+		.device		= PCI_DEVICE_ID_INTEL_BYT_EMMC2,
+		.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,