From: richardretanubun Date: Mon, 6 Oct 2008 19:31:43 +0000 (-0400) Subject: Adds two more ethernet interface to 83xx X-Git-Tag: v2009.01-rc1~87 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=44dcb7332033db8de2810f2fffcae3084f15c8d4;p=u-boot Adds two more ethernet interface to 83xx Fixed compiler warning "declared but unused" eth5_uec_info and eth6_uec_info. Signed-off-by: Richard Retanubun Signed-off-by: Ben Warren --- diff --git a/drivers/qe/uec.c b/drivers/qe/uec.c index ed7ed65759..b656ca6d89 100644 --- a/drivers/qe/uec.c +++ b/drivers/qe/uec.c @@ -1414,6 +1414,14 @@ int uec_initialize(int index) } else if (index == 3) { #ifdef CONFIG_UEC_ETH4 uec_info = ð4_uec_info; +#endif + } else if (index == 4) { +#ifdef CONFIG_UEC_ETH5 + uec_info = ð5_uec_info; +#endif + } else if (index == 5) { +#ifdef CONFIG_UEC_ETH6 + uec_info = ð6_uec_info; #endif } else { printf("%s: index is illegal.\n", __FUNCTION__);