Skip to contentSkip to conversation

mach-dove: Fixup ge00 initialisation

PATCH New Hannes Reinecke 2 participants 2 messages Jun 12, 2012 – Jun 13, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mach-dove: Fixup ge00 initialisation

The last argument of orion_ge00_init() is actually the error interrupt, so we should be using the correct value here.

---
 arch/arm/mach-dove/common.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-dove/common.c +2 -2
index f7d639b..a9d0708 100644
@@ -101,8 +101,8 @@ void __init dove_ehci1_init(void)
  ****************************************************************************/
 void __init dove_ge00_init(struct mv643xx_eth_platform_data *eth_data)
 {
-	orion_ge00_init(eth_data,
-			DOVE_GE00_PHYS_BASE, IRQ_DOVE_GE00_SUM, 0);
+	orion_ge00_init(eth_data, DOVE_GE00_PHYS_BASE,
+			IRQ_DOVE_GE00_SUM, IRQ_DOVE_GE00_ERR);
 }
 
 /*****************************************************************************
Signature · 1 line
1.7.4.2
maintainer
#1 lore raw

PATCH 1/1 mach-dove: Fixup ge00 initialisation

Quoted 13 lines · Hannes Reinecke

The last argument of orion_ge00_init() is actually the error interrupt, so we should be using the correct value here.

---
 arch/arm/mach-dove/common.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-dove/common.c +0 -0
index f7d639b..a9d0708 100644

arch/arm/mach-dove/common.c void __init dove_ehci1_init(void) · line 108

Quoted 10 lines
arch/arm/mach-dove/common.c +2 -2
@@ -101,8 +101,8 @@ void __init dove_ehci1_init(void)
  ****************************************************************************/
 void __init dove_ge00_init(struct mv643xx_eth_platform_data *eth_data)
 {
-	orion_ge00_init(eth_data,
-			DOVE_GE00_PHYS_BASE, IRQ_DOVE_GE00_SUM, 0);
+	orion_ge00_init(eth_data, DOVE_GE00_PHYS_BASE,
+			IRQ_DOVE_GE00_SUM, IRQ_DOVE_GE00_ERR);
 }
 
 /***************************************************************************

Andrew