Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1411714 > unrolled thread

[PATCH 17/20] x86, mmc: use Intel family name macros for mmc driver

Started byDave Hansen <dave@sr71.net>
First post2016-06-02 02:20 +0200
Last post2016-06-03 09:50 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 17/20] x86, mmc: use Intel family name macros for mmc driver Dave Hansen <dave@sr71.net> - 2016-06-02 02:20 +0200
    Re: [PATCH 17/20] x86, mmc: use Intel family name macros for mmc  driver Adrian Hunter <adrian.hunter@intel.com> - 2016-06-02 08:20 +0200
    Re: [PATCH 17/20] x86, mmc: use Intel family name macros for mmc driver Ulf Hansson <ulf.hansson@linaro.org> - 2016-06-03 09:50 +0200

#1411714 — [PATCH 17/20] x86, mmc: use Intel family name macros for mmc driver

FromDave Hansen <dave@sr71.net>
Date2016-06-02 02:20 +0200
Subject[PATCH 17/20] x86, mmc: use Intel family name macros for mmc driver
Message-ID<rFowH-7d9-49@gated-at.bofh.it>
From: Dave Hansen <dave.hansen@linux.intel.com>

Another straightforward replacement of magic numbers.

Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: linux-mmc@vger.kernel.org
---

 b/drivers/mmc/host/sdhci-acpi.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff -puN drivers/mmc/host/sdhci-acpi.c~x86-intel-families-sdhci-acpi drivers/mmc/host/sdhci-acpi.c
--- a/drivers/mmc/host/sdhci-acpi.c~x86-intel-families-sdhci-acpi	2016-06-01 15:45:09.826201501 -0700
+++ b/drivers/mmc/host/sdhci-acpi.c	2016-06-01 15:45:09.830201683 -0700
@@ -43,6 +43,7 @@
 
 #ifdef CONFIG_X86
 #include <asm/cpu_device_id.h>
+#include <asm/intel-family.h>
 #include <asm/iosf_mbi.h>
 #endif
 
@@ -126,7 +127,7 @@ static const struct sdhci_acpi_chip sdhc
 static bool sdhci_acpi_byt(void)
 {
 	static const struct x86_cpu_id byt[] = {
-		{ X86_VENDOR_INTEL, 6, 0x37 },
+		{ X86_VENDOR_INTEL, 6, INTEL_FAM6_MODEL_ATOM_SILVERMONT1 },
 		{}
 	};
 
_

[toc] | [next] | [standalone]


#1411868 — Re: [PATCH 17/20] x86, mmc: use Intel family name macros for mmc driver

FromAdrian Hunter <adrian.hunter@intel.com>
Date2016-06-02 08:20 +0200
SubjectRe: [PATCH 17/20] x86, mmc: use Intel family name macros for mmc driver
Message-ID<rFu94-2i2-13@gated-at.bofh.it>
In reply to#1411714
On 02/06/16 03:12, Dave Hansen wrote:
> 
> From: Dave Hansen <dave.hansen@linux.intel.com>
> 
> Another straightforward replacement of magic numbers.
> 
> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
> Cc: Adrian Hunter <adrian.hunter@intel.com>
> Cc: Ulf Hansson <ulf.hansson@linaro.org>
> Cc: linux-mmc@vger.kernel.org


Acked-by: Adrian Hunter <adrian.hunter@intel.com>


> ---
> 
>  b/drivers/mmc/host/sdhci-acpi.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff -puN drivers/mmc/host/sdhci-acpi.c~x86-intel-families-sdhci-acpi drivers/mmc/host/sdhci-acpi.c
> --- a/drivers/mmc/host/sdhci-acpi.c~x86-intel-families-sdhci-acpi	2016-06-01 15:45:09.826201501 -0700
> +++ b/drivers/mmc/host/sdhci-acpi.c	2016-06-01 15:45:09.830201683 -0700
> @@ -43,6 +43,7 @@
>  
>  #ifdef CONFIG_X86
>  #include <asm/cpu_device_id.h>
> +#include <asm/intel-family.h>
>  #include <asm/iosf_mbi.h>
>  #endif
>  
> @@ -126,7 +127,7 @@ static const struct sdhci_acpi_chip sdhc
>  static bool sdhci_acpi_byt(void)
>  {
>  	static const struct x86_cpu_id byt[] = {
> -		{ X86_VENDOR_INTEL, 6, 0x37 },
> +		{ X86_VENDOR_INTEL, 6, INTEL_FAM6_MODEL_ATOM_SILVERMONT1 },
>  		{}
>  	};
>  
> _
> 

[toc] | [prev] | [next] | [standalone]


#1412874

FromUlf Hansson <ulf.hansson@linaro.org>
Date2016-06-03 09:50 +0200
Message-ID<rFS1H-kK-17@gated-at.bofh.it>
In reply to#1411714
On 2 June 2016 at 02:12, Dave Hansen <dave@sr71.net> wrote:
>
> From: Dave Hansen <dave.hansen@linux.intel.com>
>
> Another straightforward replacement of magic numbers.
>
> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
> Cc: Adrian Hunter <adrian.hunter@intel.com>
> Cc: Ulf Hansson <ulf.hansson@linaro.org>
> Cc: linux-mmc@vger.kernel.org

Acked-by: Ulf Hansson <ulf.hansson@linaro.org>

I assume you are going to queue this via the x86 tree or whatever tree
that makes sense!?

Kind regards
Uffe

> ---
>
>  b/drivers/mmc/host/sdhci-acpi.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff -puN drivers/mmc/host/sdhci-acpi.c~x86-intel-families-sdhci-acpi drivers/mmc/host/sdhci-acpi.c
> --- a/drivers/mmc/host/sdhci-acpi.c~x86-intel-families-sdhci-acpi       2016-06-01 15:45:09.826201501 -0700
> +++ b/drivers/mmc/host/sdhci-acpi.c     2016-06-01 15:45:09.830201683 -0700
> @@ -43,6 +43,7 @@
>
>  #ifdef CONFIG_X86
>  #include <asm/cpu_device_id.h>
> +#include <asm/intel-family.h>
>  #include <asm/iosf_mbi.h>
>  #endif
>
> @@ -126,7 +127,7 @@ static const struct sdhci_acpi_chip sdhc
>  static bool sdhci_acpi_byt(void)
>  {
>         static const struct x86_cpu_id byt[] = {
> -               { X86_VENDOR_INTEL, 6, 0x37 },
> +               { X86_VENDOR_INTEL, 6, INTEL_FAM6_MODEL_ATOM_SILVERMONT1 },
>                 {}
>         };
>
> _

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web