Patchwork [PATH] No auxio on LEON

login
register
mail settings
Submitter Kristoffer Glembo
Date Nov. 13, 2009, 1:28 p.m.
Message ID <4AFD5EEF.4000805@gaisler.com>
Download mbox | patch
Permalink /patch/38367/
State Superseded
Delegated to: David Miller
Headers show

Comments

Kristoffer Glembo - Nov. 13, 2009, 1:28 p.m.
Do not probe for auxio register on SPARC LEON.

Signed-off-by: Kristoffer Glembo <kristoffer@gaisler.com>

---
  arch/sparc/kernel/auxio_32.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
Josip Rodin - Nov. 13, 2009, 1:42 p.m.
On Fri, Nov 13, 2009 at 02:28:15PM +0100, Kristoffer Glembo wrote:
> Do not probe for auxio register on SPARC LEON.
>
> Signed-off-by: Kristoffer Glembo <kristoffer@gaisler.com>
>
> ---
>  arch/sparc/kernel/auxio_32.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/sparc/kernel/auxio_32.c b/arch/sparc/kernel/auxio_32.c
> index 45c4123..40c709d 100644
> --- a/arch/sparc/kernel/auxio_32.c
> +++ b/arch/sparc/kernel/auxio_32.c
> @@ -28,6 +28,7 @@ void __init auxio_probe(void)
>  	struct resource r;
>
>  	switch (sparc_cpu_model) {
> +        case sparc_leon:
>  	case sun4d:
>  	case sun4:
>  		return;

Spaces vs. tabs :)

Patch

diff --git a/arch/sparc/kernel/auxio_32.c b/arch/sparc/kernel/auxio_32.c
index 45c4123..40c709d 100644
--- a/arch/sparc/kernel/auxio_32.c
+++ b/arch/sparc/kernel/auxio_32.c
@@ -28,6 +28,7 @@  void __init auxio_probe(void)
  	struct resource r;

  	switch (sparc_cpu_model) {
+        case sparc_leon:
  	case sun4d:
  	case sun4:
  		return;