All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] net: fix ULI 526x macro usage in netdev.h
@ 2009-04-09 15:27 Timur Tabi
  2009-04-20  4:11 ` Ben Warren
  0 siblings, 1 reply; 2+ messages in thread
From: Timur Tabi @ 2009-04-09 15:27 UTC (permalink / raw)
  To: u-boot

Change netdev.h to use CONFIG_ULI526X instead of CONFIG_ULI526.  CONFIG_ULI526X
is used everywhere else, so that's the correct macro name.  Without this fix,
Ethernet will not work on the Freescale MPC8610 HPCD.

Signed-off-by: Timur Tabi <timur@freescale.com>
---
 include/netdev.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/netdev.h b/include/netdev.h
index 2794ddd..63cf730 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -108,7 +108,7 @@ static inline int pci_eth_init(bd_t *bis)
 #if defined(CONFIG_RTL8169)
 	num += rtl8169_initialize(bis);
 #endif
-#if defined(CONFIG_ULI526)
+#if defined(CONFIG_ULI526X)
 	num += uli526x_initialize(bis);
 #endif
 
-- 
1.6.0.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] net: fix ULI 526x macro usage in netdev.h
  2009-04-09 15:27 [U-Boot] [PATCH] net: fix ULI 526x macro usage in netdev.h Timur Tabi
@ 2009-04-20  4:11 ` Ben Warren
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Warren @ 2009-04-20  4:11 UTC (permalink / raw)
  To: u-boot

Timur Tabi wrote:
> Change netdev.h to use CONFIG_ULI526X instead of CONFIG_ULI526.  CONFIG_ULI526X
> is used everywhere else, so that's the correct macro name.  Without this fix,
> Ethernet will not work on the Freescale MPC8610 HPCD.
>
> Signed-off-by: Timur Tabi <timur@freescale.com>
> ---
>  include/netdev.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/netdev.h b/include/netdev.h
> index 2794ddd..63cf730 100644
> --- a/include/netdev.h
> +++ b/include/netdev.h
> @@ -108,7 +108,7 @@ static inline int pci_eth_init(bd_t *bis)
>  #if defined(CONFIG_RTL8169)
>  	num += rtl8169_initialize(bis);
>  #endif
> -#if defined(CONFIG_ULI526)
> +#if defined(CONFIG_ULI526X)
>  	num += uli526x_initialize(bis);
>  #endif
>  
>   
Sorry for having fat fingers.  Applying to net repo for current release.

regards,
Ben

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-20  4:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-09 15:27 [U-Boot] [PATCH] net: fix ULI 526x macro usage in netdev.h Timur Tabi
2009-04-20  4:11 ` Ben Warren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.