* [PATCH] mmc: sdhci-pci: Add another PCI ID for an Intel eMMC host controller
@ 2015-10-06 7:26 Adrian Hunter
2015-10-08 17:36 ` Ulf Hansson
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Hunter @ 2015-10-06 7:26 UTC (permalink / raw)
To: Ulf Hansson; +Cc: linux-mmc
Add another PCI ID for an Intel eMMC host controller.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
---
drivers/mmc/host/sdhci-pci.c | 8 ++++++++
drivers/mmc/host/sdhci-pci.h | 1 +
2 files changed, 9 insertions(+)
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index b3b0a3e4fca1..7ccd4220076c 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -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,
diff --git a/drivers/mmc/host/sdhci-pci.h b/drivers/mmc/host/sdhci-pci.h
index 541f1cad5247..cd4f4d74377e 100644
--- a/drivers/mmc/host/sdhci-pci.h
+++ b/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
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mmc: sdhci-pci: Add another PCI ID for an Intel eMMC host controller
2015-10-06 7:26 [PATCH] mmc: sdhci-pci: Add another PCI ID for an Intel eMMC host controller Adrian Hunter
@ 2015-10-08 17:36 ` Ulf Hansson
0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2015-10-08 17:36 UTC (permalink / raw)
To: Adrian Hunter; +Cc: linux-mmc
On 6 October 2015 at 09:26, Adrian Hunter <adrian.hunter@intel.com> wrote:
> Add another PCI ID for an Intel eMMC host controller.
>
> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
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
> ---
> drivers/mmc/host/sdhci-pci.c | 8 ++++++++
> drivers/mmc/host/sdhci-pci.h | 1 +
> 2 files changed, 9 insertions(+)
>
> diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
> index b3b0a3e4fca1..7ccd4220076c 100644
> --- a/drivers/mmc/host/sdhci-pci.c
> +++ b/drivers/mmc/host/sdhci-pci.c
> @@ -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,
> diff --git a/drivers/mmc/host/sdhci-pci.h b/drivers/mmc/host/sdhci-pci.h
> index 541f1cad5247..cd4f4d74377e 100644
> --- a/drivers/mmc/host/sdhci-pci.h
> +++ b/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
> --
> 1.9.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-08 17:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-06 7:26 [PATCH] mmc: sdhci-pci: Add another PCI ID for an Intel eMMC host controller Adrian Hunter
2015-10-08 17:36 ` Ulf Hansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).