mach-dove: Fixup ge00 initialisation
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.
Signed-off-by Hannes Reinecke <[email protected]>
--- arch/arm/mach-dove/common.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
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 ); }/*****************************************************************************
Signature · 1 line
1.7.4.2
Andrew Lunn
maintainerPATCH 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.Signed-off-by Hannes Reinecke <[email protected]>--- arch/arm/mach-dove/common.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)arch/arm/mach-dove/common.c +0
-0
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 ); }/***************************************************************************
Acked-by Andrew Lunn <[email protected]>
Andrew