Skip to contentSkip to conversation

net: fix ULI 526x macro usage in netdev.h

PATCH New Timur Tabi 2 participants 2 messages Apr 9, 2009 – Apr 20, 2009

lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

PATCH 1/1 net: fix ULI 526x macro usage in netdev.h

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.

---
 include/netdev.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/netdev.h +1 -1
index 2794ddd..63cf730 100644
@@ -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
 
Signature · 1 line
1.6.0.6
#1 lore raw

PATCH 1/1 net: fix ULI 526x macro usage in netdev.h

Quoted 15 lines · Timur Tabi

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.

---
 include/netdev.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/netdev.h +0 -0
index 2794ddd..63cf730 100644

include/netdev.h static inline int pci_eth_init(bd_t *bis) · line 114

Quoted 8 lines
include/netdev.h +1 -1
@@ -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