[MIPS] Ocelot G: Fix a few misspellings of CONFIG_GALILEO_GT64240_ETH

Reported by Robert P. J. Day <rpjday@mindspring.com>.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle 2007-01-25 23:55:17 +00:00
parent bf2326e752
commit 1ca5cb5ddd
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ struct callvectors* debug_vectors;
extern unsigned long marvell_base; extern unsigned long marvell_base;
extern unsigned long bus_clock; extern unsigned long bus_clock;
#ifdef CONFIG_GALILLEO_GT64240_ETH #ifdef CONFIG_GALILEO_GT64240_ETH
extern unsigned char prom_mac_addr_base[6]; extern unsigned char prom_mac_addr_base[6];
#endif #endif
@ -61,7 +61,7 @@ void __init prom_init(void)
mips_machgroup = MACH_GROUP_MOMENCO; mips_machgroup = MACH_GROUP_MOMENCO;
mips_machtype = MACH_MOMENCO_OCELOT_G; mips_machtype = MACH_MOMENCO_OCELOT_G;
#ifdef CONFIG_GALILLEO_GT64240_ETH #ifdef CONFIG_GALILEO_GT64240_ETH
/* get the base MAC address for on-board ethernet ports */ /* get the base MAC address for on-board ethernet ports */
memcpy(prom_mac_addr_base, (void*)0xfc807cf2, 6); memcpy(prom_mac_addr_base, (void*)0xfc807cf2, 6);
#endif #endif

View File

@ -64,7 +64,7 @@
#include "ocelot_pld.h" #include "ocelot_pld.h"
#ifdef CONFIG_GALILLEO_GT64240_ETH #ifdef CONFIG_GALILEO_GT64240_ETH
extern unsigned char prom_mac_addr_base[6]; extern unsigned char prom_mac_addr_base[6];
#endif #endif
@ -185,7 +185,7 @@ void __init plat_mem_setup(void)
/* do handoff reconfiguration */ /* do handoff reconfiguration */
PMON_v2_setup(); PMON_v2_setup();
#ifdef CONFIG_GALILLEO_GT64240_ETH #ifdef CONFIG_GALILEO_GT64240_ETH
/* get the mac addr */ /* get the mac addr */
memcpy(prom_mac_addr_base, (void*)0xfc807cf2, 6); memcpy(prom_mac_addr_base, (void*)0xfc807cf2, 6);
#endif #endif