summaryrefslogtreecommitdiffstats
path: root/include/netdev.h
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2009-04-09 10:27:05 -0500
committerBen Warren <biggerbadderben@gmail.com>2009-04-19 23:24:05 -0700
commitb11f664f52c2855990107c18f242223377183575 (patch)
treecb28aeee8058c5477af4b63ec1fd569281680afd /include/netdev.h
parent7ee38c044ca5041d3378d6507580ea4ec344af96 (diff)
downloadblackbird-obmc-uboot-b11f664f52c2855990107c18f242223377183575.tar.gz
blackbird-obmc-uboot-b11f664f52c2855990107c18f242223377183575.zip
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. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'include/netdev.h')
-rw-r--r--include/netdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/netdev.h b/include/netdev.h
index 2794ddd578..63cf730a30 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
OpenPOWER on IntegriCloud