On Friday 23 March 2012 16:11:19 Sebastian Andrzej Siewior wrote:
> --- a/drivers/net/tsec.c
> +++ b/drivers/net/tsec.c
>
> + if (strcmp(getenv("stdout"), "nc"))
i really don't like special casing devices like this
> - serial_printf("Speed: %d, %s duplex%s\n", phydev->speed,
> - (phydev->duplex) ? "full" : "half",
> - (phydev->port == PORT_FIBRE) ? ", fiber mode" : "");
> + serial_printf("Speed: %d, %s duplex%s\n", phydev->speed,
> + (phydev->duplex) ? "full" : "half",
> + (phydev->port == PORT_FIBRE) ? ", fiber mode"
> + : "");
why not just delete this line completely ?
-mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

